Home
last modified time | relevance | path

Searched refs:LauncherAppWidgetHostView (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherWidgetHolder.java77 protected final SparseArray<LauncherAppWidgetHostView> mViews = new SparseArray<>();
131 LauncherAppWidgetHostView view = mViews.valueAt(i); in updateDeferredView()
240 LauncherAppWidgetHostView view = mViews.get(widgetId); in getConfigurationActivityOptions()
330 LauncherAppWidgetHostView lahv = new LauncherAppWidgetHostView(mContext); in createView()
336 LauncherAppWidgetHostView view = createViewInternal(appWidgetId, appWidget); in createView()
351 @NonNull LauncherAppWidgetHostView view) { in attachViewToHostAndGetAttachedView()
375 protected LauncherAppWidgetHostView recycleExistingView(LauncherAppWidgetHostView view) { in recycleExistingView()
396 protected LauncherAppWidgetHostView createViewInternal( in createViewInternal()
412 return (LauncherAppWidgetHostView) mWidgetHost.createView( in createViewInternal()
422 LauncherAppWidgetHostView view = mViews.get(appWidgetId); in createViewInternal()
DWidgetCellPreview.java51 if (getChildAt(i) instanceof LauncherAppWidgetHostView) { in hasPreviewLayout()
63 public LauncherAppWidgetHostView getPreviewLayout() { in getPreviewLayout()
65 if (getChildAt(i) instanceof LauncherAppWidgetHostView) { in getPreviewLayout()
66 return (LauncherAppWidgetHostView) getChildAt(i); in getPreviewLayout()
DLauncherAppWidgetHost.java88 public LauncherAppWidgetHostView onCreateView(Context context, int appWidgetId, in onCreateView()
133 public static class ListenableHostView extends LauncherAppWidgetHostView {
150 info.setClassName(LauncherAppWidgetHostView.class.getName()); in onInitializeAccessibilityNodeInfo()
DLauncherAppWidgetHostView.java53 public class LauncherAppWidgetHostView extends BaseLauncherAppWidgetHostView class
86 public LauncherAppWidgetHostView(Context context) { in LauncherAppWidgetHostView() method in LauncherAppWidgetHostView
DPendingItemDragHelper.java119 mAppWidgetHostViewPreview = new LauncherAppWidgetHostView(launcher); in startDrag()
DPendingAppWidgetHostView.java68 public class PendingAppWidgetHostView extends LauncherAppWidgetHostView
DWidgetCell.java284 ? new LauncherAppWidgetHostView(context) in applyFromCellItem()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java38 import com.android.launcher3.widget.LauncherAppWidgetHostView;
88 if (mView instanceof LauncherAppWidgetHostView) { in createDrawable()
125 if (mView instanceof LauncherAppWidgetHostView) { in getContentView()
145 if (mView instanceof LauncherAppWidgetHostView) { in getScaleAndPosition()
148 scale /= ((LauncherAppWidgetHostView) mView).getScaleToFit(); in getScaleAndPosition()
162 if (mView instanceof LauncherAppWidgetHostView) { in getScaleAndPosition()
165 scale /= ((LauncherAppWidgetHostView) mView).getScaleToFit(); in getScaleAndPosition()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepInteractionHandler.java37 import com.android.launcher3.widget.LauncherAppWidgetHostView;
54 LauncherAppWidgetHostView hostView = findHostViewAncestor(view); in onInteraction()
112 private LauncherAppWidgetHostView findHostViewAncestor(View v) { in findHostViewAncestor()
114 if (v instanceof LauncherAppWidgetHostView) return (LauncherAppWidgetHostView) v; in findHostViewAncestor()
DQuickstepWidgetHolder.java38 import com.android.launcher3.widget.LauncherAppWidgetHostView;
230 protected LauncherAppWidgetHostView recycleExistingView(LauncherAppWidgetHostView view) { in recycleExistingView()
238 protected LauncherAppWidgetHostView createViewInternal( in createViewInternal()
240 LauncherAppWidgetHostView widgetView = new LauncherAppWidgetHostView(mContext); in createViewInternal()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java38 import com.android.launcher3.widget.LauncherAppWidgetHostView;
248 if (hostView instanceof LauncherAppWidgetHostView && in computeWidgetFeatures()
249 ((LauncherAppWidgetHostView) hostView).hasEnforcedCornerRadius()) { in computeWidgetFeatures()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetView.java43 import com.android.launcher3.widget.LauncherAppWidgetHostView;
57 private LauncherAppWidgetHostView mAppWidgetView;
157 private void init(DragLayer dragLayer, LauncherAppWidgetHostView originalView, in init()
287 LauncherAppWidgetHostView originalView, RectF widgetBackgroundPosition, in getFloatingWidgetView()
DFloatingWidgetBackgroundView.java34 import com.android.launcher3.widget.LauncherAppWidgetHostView;
70 void init(LauncherAppWidgetHostView hostView, @NonNull View backgroundView, in init()
173 private static float getOutlineRadius(LauncherAppWidgetHostView hostView, View v) { in getOutlineRadius()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java49 import com.android.launcher3.widget.LauncherAppWidgetHostView;
124 if (workspaceView instanceof LauncherAppWidgetHostView) { in createHomeAnimationFactory()
125 return createWidgetHomeAnimationFactory((LauncherAppWidgetHostView) workspaceView, in createHomeAnimationFactory()
228 LauncherAppWidgetHostView hostView, boolean isTargetTranslucent,
DLauncherBackAnimationController.java65 import com.android.launcher3.widget.LauncherAppWidgetHostView;
318 } else if (mLauncherTargetView instanceof LauncherAppWidgetHostView) { in setLauncherTargetViewVisible()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DItemInflaterTest.kt49 import com.android.launcher3.widget.LauncherAppWidgetHostView in <lambda>()
239 assertTrue(view is LauncherAppWidgetHostView) in <lambda>()
258 assertTrue(view is LauncherAppWidgetHostView) in <lambda>()
292 assertTrue(view is LauncherAppWidgetHostView) in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomWidgetManager.java39 import com.android.launcher3.widget.LauncherAppWidgetHostView;
126 public void onViewCreated(LauncherAppWidgetHostView view) { in onViewCreated()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DItemLongClickListener.java46 import com.android.launcher3.widget.LauncherAppWidgetHostView;
64 if (v instanceof LauncherAppWidgetHostView) { in onWorkspaceItemLongClick()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java121 import com.android.launcher3.widget.LauncherAppWidgetHostView;
395 if (view instanceof LauncherAppWidgetHostView in updateWorkspaceWidgetsSizes()
399 WidgetSizes.updateWidgetSizeRanges((LauncherAppWidgetHostView) view, in updateWorkspaceWidgetsSizes()
470 CellLayout layout = (CellLayout) (mDragInfo.cell instanceof LauncherAppWidgetHostView in onDragStart()
716 if (dragObject.dragView.getContentView() instanceof LauncherAppWidgetHostView) { in addExtraEmptyScreenOnDrag()
2106 } else if (mDragInfo.cell instanceof LauncherAppWidgetHostView) { in onDrop()
2126 cell instanceof LauncherAppWidgetHostView) { in onDrop()
2131 (LauncherAppWidgetHostView) cell, dropTargetLayout); in onDrop()
2139 if (mDragInfo.cell instanceof LauncherAppWidgetHostView) { in onDrop()
2152 if (cell instanceof LauncherAppWidgetHostView) { in onDrop()
[all …]
DAppWidgetResizeFrame.java47 import com.android.launcher3.widget.LauncherAppWidgetHostView;
80 private LauncherAppWidgetHostView mWidgetView;
137 private final @Nullable LauncherAppWidgetHostView.CellChildViewPreLayoutListener
207 public static void showForWidget(LauncherAppWidgetHostView widget, CellLayout cellLayout) { in showForWidget()
238 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget()
DLauncher.java257 import com.android.launcher3.widget.LauncherAppWidgetHostView;
1530 LauncherAppWidgetHostView reInflatedHostView =
1561 if (hostView instanceof LauncherAppWidgetHostView) {
1562 final LauncherAppWidgetHostView launcherHostView = (LauncherAppWidgetHostView) hostView;
1569 LauncherAppWidgetHostView launcherHostView,
2301 if (enableWorkspaceInflation() && view instanceof LauncherAppWidgetHostView lv) {
2353 LauncherAppWidgetHostView view = mWorkspace.getWidgetForAppWidgetId(appWidgetId);
2899 if (view instanceof LauncherAppWidgetHostView) {
2900 ((LauncherAppWidgetHostView) view).beginDeferringUpdates();
2911 if (view instanceof LauncherAppWidgetHostView) {
[all …]
DShortcutAndWidgetContainer.java44 import com.android.launcher3.widget.LauncherAppWidgetHostView;
241 if (child instanceof LauncherAppWidgetHostView widgetView in layoutChild()
DCellLayout.java79 import com.android.launcher3.widget.LauncherAppWidgetHostView;
1817 if (view instanceof LauncherAppWidgetHostView in markCellsAsOccupiedForView()
1831 if (view instanceof LauncherAppWidgetHostView in markCellsAsUnoccupiedForView()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java59 import com.android.launcher3.widget.LauncherAppWidgetHostView;
217 AppWidgetProviderInfo providerInfo = ((LauncherAppWidgetHostView) host).getAppWidgetInfo(); in getSupportedResizeActions()
298 WidgetSizes.updateWidgetSizeRanges(((LauncherAppWidgetHostView) host), mContext, in performResizeAction()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java145 import com.android.launcher3.widget.LauncherAppWidgetHostView;
450 @NonNull LauncherAppWidgetHostView v, in composeWidgetLaunchAnimator()
922 private Animator getOpeningWindowAnimatorsForWidget(LauncherAppWidgetHostView v, in getOpeningWindowAnimatorsForWidget()
1405 if (launcherView instanceof LauncherAppWidgetHostView) { in getClosingWindowAnimators()
1411 (LauncherAppWidgetHostView) launcherView, targetRect, windowSize, in getClosingWindowAnimators()
1806 final boolean launchingFromWidget = mV instanceof LauncherAppWidgetHostView; in onAnimationStart()
1810 composeWidgetLaunchAnimator(anim, (LauncherAppWidgetHostView) mV, appTargets, in onAnimationStart()