• Home
  • Raw
  • Download

Lines Matching refs:widget

53 import android.widget.GridLayout;
54 import android.widget.ImageView;
55 import android.widget.Toast;
454 AppWidgetProviderInfo widget = (AppWidgetProviderInfo) o; in onPackagesUpdated() local
455 if (widget.minWidth > 0 && widget.minHeight > 0) { in onPackagesUpdated()
457 int[] spanXY = Launcher.getSpanForWidget(mLauncher, widget); in onPackagesUpdated()
458 int[] minSpanXY = Launcher.getMinSpanForWidget(mLauncher, widget); in onPackagesUpdated()
463 mWidgets.add(widget); in onPackagesUpdated()
465 Log.e(TAG, "Widget " + widget.provider + " can not fit on this device (" + in onPackagesUpdated()
466 widget.minWidth + ", " + widget.minHeight + ")"); in onPackagesUpdated()
469 Log.e(TAG, "Widget " + widget.provider + " has invalid dimensions (" + in onPackagesUpdated()
470 widget.minWidth + ", " + widget.minHeight + ")"); in onPackagesUpdated()
672 AppWidgetHostView widget = info.boundWidget; in cleanupWidgetPreloading() local
673 mLauncher.getDragLayer().removeView(widget); in cleanupWidgetPreloading()
1190 PagedViewWidget widget = (PagedViewWidget) mLayoutInflater.inflate( in syncWidgetPageItems() local
1205 widget.applyFromAppWidgetProviderInfo(info, -1, spanXY, mWidgetPreviewLoader); in syncWidgetPageItems()
1206 widget.setTag(createItemInfo); in syncWidgetPageItems()
1207 widget.setShortPressListener(this); in syncWidgetPageItems()
1215 widget.applyFromResolveInfo(mPackageManager, info, mWidgetPreviewLoader); in syncWidgetPageItems()
1216 widget.setTag(createItemInfo); in syncWidgetPageItems()
1218 widget.setOnClickListener(this); in syncWidgetPageItems()
1219 widget.setOnLongClickListener(this); in syncWidgetPageItems()
1220 widget.setOnTouchListener(this); in syncWidgetPageItems()
1221 widget.setOnKeyListener(this); in syncWidgetPageItems()
1234 layout.addView(widget, lp); in syncWidgetPageItems()
1309 PagedViewWidget widget = (PagedViewWidget) layout.getChildAt(i); in onSyncWidgetPageItems() local
1310 if (widget != null) { in onSyncWidgetPageItems()
1312 widget.applyPreview(new FastBitmapDrawable(preview), i); in onSyncWidgetPageItems()