Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherAppWidgetHost.java71 private final SparseArray<LauncherAppWidgetHostView> mViews = new SparseArray<>();
92 protected LauncherAppWidgetHostView onCreateView(Context context, int appWidgetId, in onCreateView()
94 final LauncherAppWidgetHostView view; in onCreateView()
99 view = new LauncherAppWidgetHostView(context); in onCreateView()
125 LauncherAppWidgetHostView view = mViews.valueAt(i); in startListening()
219 LauncherAppWidgetHostView lahv = new LauncherAppWidgetHostView(context); in createView()
239 LauncherAppWidgetHostView view = mViews.get(appWidgetId); in createView()
332 LauncherAppWidgetHostView view = mViews.get(widgetId); in getConfigurationActivityOptions()
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()
DLauncherAppWidgetHostView.java64 public class LauncherAppWidgetHostView extends NavigableAppWidgetHostView class
124 public LauncherAppWidgetHostView(Context context) { in LauncherAppWidgetHostView() method in LauncherAppWidgetHostView
DDeferredAppWidgetHostView.java35 public class DeferredAppWidgetHostView extends LauncherAppWidgetHostView {
DPendingItemDragHelper.java114 mAppWidgetHostViewPreview = new LauncherAppWidgetHostView(launcher); in startDrag()
DPendingAppWidgetHostView.java54 public class PendingAppWidgetHostView extends LauncherAppWidgetHostView
DWidgetCell.java234 ? new LauncherAppWidgetHostView(context) in applyPreviewOnAppWidgetHostView()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java34 import com.android.launcher3.widget.LauncherAppWidgetHostView;
107 if (child instanceof LauncherAppWidgetHostView) { in setupLp()
109 ((LauncherAppWidgetHostView) child).getWidgetInset(profile, mTempRect); in setupLp()
132 if (child instanceof LauncherAppWidgetHostView) { in measureChild()
133 ((LauncherAppWidgetHostView) child).getWidgetInset(dp, mTempRect); in measureChild()
181 if (child instanceof LauncherAppWidgetHostView) { in layoutChild()
182 LauncherAppWidgetHostView lahv = (LauncherAppWidgetHostView) child; in layoutChild()
DWorkspace.java111 import com.android.launcher3.widget.LauncherAppWidgetHostView;
417 CellLayout layout = (CellLayout) (mDragInfo.cell instanceof LauncherAppWidgetHostView in onDragStart()
649 dragObject.dragView.getContentView() instanceof LauncherAppWidgetHostView in addExtraEmptyScreenOnDrag()
1516 if (contentView instanceof LauncherAppWidgetHostView) { in beginDragShared()
1877 } else if (mDragInfo.cell instanceof LauncherAppWidgetHostView) { in onDrop()
1895 cell instanceof LauncherAppWidgetHostView) { in onDrop()
1900 final LauncherAppWidgetHostView hostView = (LauncherAppWidgetHostView) cell; in onDrop()
1919 if (mDragInfo.cell instanceof LauncherAppWidgetHostView) { in onDrop()
1932 if (mDragInfo.cell instanceof LauncherAppWidgetHostView) { in onDrop()
2800 if (mDragInfo.cell instanceof LauncherAppWidgetHostView && d.dragView != null) {
[all …]
DAppWidgetResizeFrame.java37 import com.android.launcher3.widget.LauncherAppWidgetHostView;
82 private LauncherAppWidgetHostView mWidgetView;
177 public static void showForWidget(LauncherAppWidgetHostView widget, CellLayout cellLayout) { in showForWidget()
201 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget()
DLauncher.java189 import com.android.launcher3.widget.LauncherAppWidgetHostView;
1358 if (hostView instanceof LauncherAppWidgetHostView) { in completeAddAppWidget()
1359 final LauncherAppWidgetHostView launcherHostView = (LauncherAppWidgetHostView) hostView; in completeAddAppWidget()
2511 LauncherAppWidgetHostView view = mWorkspace.getWidgetForAppWidgetId(appWidgetId); in completeRestoreAppWidget()
DCellLayout.java73 import com.android.launcher3.widget.LauncherAppWidgetHostView;
1073 if (view instanceof LauncherAppWidgetHostView) { in applyColorExtractionOnWidget()
1085 ((LauncherAppWidgetHostView) view).handleDrag(mTempRect, pageId); in applyColorExtractionOnWidget()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepInteractionHandler.java35 import com.android.launcher3.widget.LauncherAppWidgetHostView;
52 LauncherAppWidgetHostView hostView = findHostViewAncestor(view); in onInteraction()
98 private LauncherAppWidgetHostView findHostViewAncestor(View v) { in findHostViewAncestor()
100 if (v instanceof LauncherAppWidgetHostView) return (LauncherAppWidgetHostView) v; in findHostViewAncestor()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DDragPreviewProvider.java42 import com.android.launcher3.widget.LauncherAppWidgetHostView;
98 if (mView instanceof LauncherAppWidgetHostView) { in createDrawable()
126 if (mView instanceof LauncherAppWidgetHostView) { in getContentView()
155 if (mView instanceof LauncherAppWidgetHostView) { in getScaleAndPosition()
158 scale /= ((LauncherAppWidgetHostView) mView).getScaleToFit(); in getScaleAndPosition()
172 if (mView instanceof LauncherAppWidgetHostView) { in getScaleAndPosition()
175 scale /= ((LauncherAppWidgetHostView) mView).getScaleToFit(); in getScaleAndPosition()
/packages/apps/Launcher3/src/com/android/launcher3/widget/dragndrop/
DAppWidgetHostViewDragListener.java22 import com.android.launcher3.widget.LauncherAppWidgetHostView;
28 private LauncherAppWidgetHostView mAppWidgetHostView;
36 if (dragObject.dragView.getContentView() instanceof LauncherAppWidgetHostView) { in onDragStart()
38 mAppWidgetHostView = (LauncherAppWidgetHostView) dragObject.dragView.getContentView(); in onDragStart()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingWidgetView.java40 import com.android.launcher3.widget.LauncherAppWidgetHostView;
55 private LauncherAppWidgetHostView mAppWidgetView;
151 private void init(DragLayer dragLayer, LauncherAppWidgetHostView originalView, in init()
281 LauncherAppWidgetHostView originalView, RectF widgetBackgroundPosition, in getFloatingWidgetView()
DFloatingWidgetBackgroundView.java30 import com.android.launcher3.widget.LauncherAppWidgetHostView;
64 void init(LauncherAppWidgetHostView hostView, View backgroundView, float finalRadius, in init()
151 private static float getOutlineRadius(LauncherAppWidgetHostView hostView, View v) { in getOutlineRadius()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java38 import com.android.launcher3.widget.LauncherAppWidgetHostView;
262 if (hostView instanceof LauncherAppWidgetHostView && in computeWidgetFeatures()
263 ((LauncherAppWidgetHostView) hostView).hasEnforcedCornerRadius()) { in computeWidgetFeatures()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragView.java69 import com.android.launcher3.widget.LauncherAppWidgetHostView;
498 if (mContent instanceof LauncherAppWidgetHostView) { in disableColorExtraction()
499 ((LauncherAppWidgetHostView) mContent).disableColorExtraction(); in disableColorExtraction()
507 if (mContent instanceof LauncherAppWidgetHostView) { in resumeColorExtraction()
508 ((LauncherAppWidgetHostView) mContent).enableColorExtraction(/* updateColors= */ false); in resumeColorExtraction()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java61 import com.android.launcher3.widget.LauncherAppWidgetHostView;
114 if (workspaceView instanceof LauncherAppWidgetHostView) { in createHomeAnimationFactory()
115 return createWidgetHomeAnimationFactory((LauncherAppWidgetHostView) workspaceView, in createHomeAnimationFactory()
177 LauncherAppWidgetHostView hostView, boolean isTargetTranslucent,
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomWidgetManager.java36 import com.android.launcher3.widget.LauncherAppWidgetHostView;
114 public void onViewCreated(LauncherAppWidgetHostView view) { in onViewCreated()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java52 import com.android.launcher3.widget.LauncherAppWidgetHostView;
289 AppWidgetProviderInfo providerInfo = ((LauncherAppWidgetHostView) host).getAppWidgetInfo(); in getSupportedResizeActions()
370 WidgetSizes.updateWidgetSizeRanges(((LauncherAppWidgetHostView) host), mLauncher, in performResizeAction()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java95 import com.android.launcher3.widget.LauncherAppWidgetHostView;
380 @NonNull LauncherAppWidgetHostView v, in composeWidgetLaunchAnimator()
815 private Animator getOpeningWindowAnimatorsForWidget(LauncherAppWidgetHostView v, in getOpeningWindowAnimatorsForWidget()
1373 final boolean launchingFromWidget = mV instanceof LauncherAppWidgetHostView; in onCreateAnimation()
1377 composeWidgetLaunchAnimator(anim, (LauncherAppWidgetHostView) mV, appTargets, in onCreateAnimation()