Home | History | Annotate | Download | only in widget

Lines Matching refs:widgetId

80             int widgetId = (Integer) intent.getExtras().getInt(AppWidgetManager.EXTRA_APPWIDGET_ID,
83 if (sStateMap.get(widgetId) != STATE_BEGIN && sStateMap.get(widgetId)
85 if (!sTestCount.containsKey(widgetId)) {
86 sTestCount.put(widgetId, 0);
88 if (!sPassCount.containsKey(widgetId)) {
89 sPassCount.put(widgetId, 0);
92 sPassCount.put(widgetId, sPassCount.get(widgetId) + (pass ? 1 : 0));
93 sTestCount.put(widgetId, sTestCount.get(widgetId) + 1);
95 gotoNextTest(widgetId);
98 Bundle options = getAppWidgetOptions(mgr, widgetId);
99 updateWidget(ctx, widgetId, mgr, options);
111 Bundle getAppWidgetOptions(AppWidgetManager mgr, int widgetId) {
113 return mgr.getAppWidgetOptions(widgetId);
118 void gotoNextTest(int widgetId) {
119 int state = sStateMap.get(widgetId);
125 sStateMap.put(widgetId, state);
162 private TextData getInstruction(int state, Bundle options, int widgetId) {
184 if (sTestCount.containsKey(widgetId)) {
185 step = sTestCount.get(widgetId) + 1;
227 dataL = dataP = sPassCount.get(widgetId) + " of " + sTestCount.get(widgetId)