项目:LaunchEnr
文件:LauncherAppWidgetHostView.java
private void checkIfAutoAdvance() {
boolean isAutoAdvance = false;
Advanceable target = getAdvanceable();
if (target != null) {
isAutoAdvance = true;
target.fyiWillBeAdvancedByHostKThx();
}
boolean wasAutoAdvance = sAutoAdvanceWidgetIds.indexOfKey(getAppWidgetId()) >= 0;
if (isAutoAdvance != wasAutoAdvance) {
if (isAutoAdvance) {
sAutoAdvanceWidgetIds.put(getAppWidgetId(),true);
} else {
sAutoAdvanceWidgetIds.delete(getAppWidgetId());
}
maybeRegisterautoAdvance();
}
}
项目:LaunchEnr
文件:LauncherAppWidgetHostView.java
private Advanceable getAdvanceable() {
appwidgetproviderInfo info = getAppWidgetInfo();
if (info == null || info.autoAdvanceViewId == NO_ID || !mIsAttachedToWindow) {
return null;
}
View v = findViewById(info.autoAdvanceViewId);
return (v instanceof Advanceable) ? (Advanceable) v : null;
}
项目:LaunchEnr
文件:LauncherAppWidgetHostView.java
private void runAutoAdvance() {
Advanceable target = getAdvanceable();
if (target != null) {
target.advance();
}
scheduleNextAdvance();
}
项目:FlickLauncher
文件:Launcher.java
private void addWidgetToAutoAdvanceIfNeeded(View hostView,appwidgetproviderInfo appWidgetInfo) {
if (appWidgetInfo == null || appWidgetInfo.autoAdvanceViewId == -1) return;
View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId);
if (v instanceof Advanceable) {
mWidgetsToAdvance.put(hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateAutoAdvanceState();
}
}
项目:SimpleUILauncher
文件:Launcher.java
private void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateAutoAdvanceState();
}
}
项目:SimplOS
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateAutoAdvanceState();
}
}
项目:Trebuchet
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateAutoAdvanceState();
}
}
项目:TurboLauncher
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appwidgetproviderInfo appWidgetInfo) {
if (appWidgetInfo == null || appWidgetInfo.autoAdvanceViewId == -1)
return;
View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId);
if (v instanceof Advanceable) {
mWidgetsToAdvance.put(hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateRunning();
}
}
项目:FLauncher
文件:Launcher.java
private void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateAutoAdvanceState();
}
}
项目:LB-Launcher
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateRunning();
}
}
项目:LeanLauncher
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateRunning();
}
}
项目:androidProject
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateRunning();
}
}
项目:open-gel-plus
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateRunning();
}
}
项目:Fairphone
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateRunning();
}
}
项目:Fairphone---DEPRECATED
文件:Launcher.java
void addWidgetToAutoAdvanceIfNeeded(View hostView,appWidgetInfo);
((Advanceable) v).fyiWillBeAdvancedByHostKThx();
updateRunning();
}
}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。