Home
last modified time | relevance | path

Searched refs:mActivityContext (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduDialog.java87 DeviceProfile grid = mActivityContext.getDeviceProfile(); in onFinishInflate()
113 mActivityContext.getStatsLogManager().logger().log(LAUNCHER_HOTSEAT_EDU_ACCEPT); in onAccept()
119 mActivityContext.getStatsLogManager().logger().log(LAUNCHER_HOTSEAT_EDU_DENY); in onDismiss()
134 if (mActivityContext.getOrientation() == Configuration.ORIENTATION_PORTRAIT) { in setInsets()
139 mActivityContext.getDeviceProfile().hotseatBarSizePx + insets.bottom; in setInsets()
181 for (int i = 0; i < mActivityContext.getDeviceProfile().numShownHotseatIcons; i++) { in populatePreview()
197 || predictions.size() < mActivityContext.getDeviceProfile().numShownHotseatIcons in show()
201 AbstractFloatingView.closeAllOpenViews(mActivityContext); in show()
203 mActivityContext.getStatsLogManager().logger().log(LAUNCHER_HOTSEAT_EDU_SEEN); in show()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarView.java63 private final TaskbarActivityContext mActivityContext; field in TaskbarView
104 mActivityContext = ActivityContext.lookupContext(context); in TaskbarView()
127 if (mActivityContext.canShowNavButtons()) { in construct()
133 int numHotseatIcons = mActivityContext.getDeviceProfile().numShownHotseatIcons; in construct()
190 mActivityContext, this, folderInfo); in updateHotseatItems()
196 int iconSize = mActivityContext.getDeviceProfile().iconSizePx; in updateHotseatItems()
342 mActivityContext.getDeviceProfile().iconSizePx, in createNavButtons()
343 mActivityContext.getDeviceProfile().iconSizePx in createNavButtons()
357 AbstractFloatingView.closeAllOpenViews(mActivityContext); in onDragEvent()
424 return mActivityContext.getLayoutInflater().inflate(layoutResId, this, false); in inflate()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DBaseWidgetSheet.java73 mActivityContext.getPopupDataProvider().setChangeListener(this); in onAttachedToWindow()
79 mActivityContext.getPopupDataProvider().setChangeListener(null); in onDetachedFromWindow()
102 if (!ItemLongClickListener.canStartDrag(mActivityContext)) return false; in onLongClick()
124 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in doMeasure()
200 return mActivityContext.getSystemUiController(); in getSystemUiController()
246 new ArrowTipView(mActivityContext, /* isPointingUp= */ false).showAtLocation( in showEducationTipOnViewIfPossible()
251 mActivityContext.getSharedPrefs().edit() in showEducationTipOnViewIfPossible()
259 return mActivityContext.getSharedPrefs().getBoolean(KEY_WIDGETS_EDUCATION_TIP_SEEN, false) in hasSeenEducationTip()
DWidgetsBottomSheet.java113 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in WidgetsBottomSheet()
143 / (mActivityContext.getDeviceProfile().cellWidthPx + paddingPx); in updateMaxSpansPerRow()
189 List<WidgetItem> widgets = mActivityContext.getPopupDataProvider().getWidgetsForPackageUser( in onWidgetsBound()
203 widget.applyFromCellItem(widgetItem, LauncherAppState.getInstance(mActivityContext) in onWidgetsBound()
DAddItemWidgetsBottomSheet.java86 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java248 mActivityContext.getPopupDataProvider(), /* searchModeListener= */ this); in onFinishInflate()
315 mActivityContext.getAppWidgetHost().addProviderChangeListener(this); in onAttachedToWindow()
323 mActivityContext.getAppWidgetHost().removeProviderChangeListener(this); in onDetachedFromWindow()
382 / (mActivityContext.getDeviceProfile().cellWidthPx + mWidgetCellHorizontalPadding); in updateMaxSpansPerRow()
415 mActivityContext.refreshAndBindWidgetsForPackageUser(null); in notifyWidgetProvidersChanged()
424 mActivityContext.getPopupDataProvider().getAllWidgets(); in onWidgetsBound()
455 mActivityContext.getStatsLogManager().logger().log(LAUNCHER_WIDGETSTRAY_SEARCHED); in enterSearchMode()
511 mActivityContext.getPopupDataProvider().getRecommendedWidgets(); in onRecommendedWidgetsBound()
525 makeMeasureSpec(mActivityContext.getDeviceProfile().availableWidthPx, in onRecommendedWidgetsBound()
527 makeMeasureSpec(mActivityContext.getDeviceProfile().availableHeightPx, in onRecommendedWidgetsBound()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolder.java174 protected final ActivityContext mActivityContext; field in Folder
246 mActivityContext = ActivityContext.lookupContext(context); in Folder()
247 mLauncherDelegate = LauncherDelegate.from(mActivityContext); in Folder()
266 final DeviceProfile dp = mActivityContext.getDeviceProfile(); in onFinishInflate()
638 Folder openFolder = getOpen(mActivityContext); in animateOpen()
651 BaseDragLayer dragLayer = mActivityContext.getDragLayer(); in animateOpen()
768 mActivityContext.getDragLayer().sendAccessibilityEvent( in handleClose()
1063 mActivityContext.getDeviceProfile().inv).setFolderInfo(mInfo); in updateItemLocationsInDatabaseBatch()
1101 BaseDragLayer parent = mActivityContext.getDragLayer(); in centerAboutIcon()
1111 sTempRect.set(mActivityContext.getFolderBoundingBox()); in centerAboutIcon()
[all …]
DFolderAnimationManager.java98 mDeviceProfile = folder.mActivityContext.getDeviceProfile(); in FolderAnimationManager()
134 float scaleRelativeToDragLayer = mFolder.mActivityContext.getDragLayer() in getAnimator()
DFolderPagedView.java243 DeviceProfile grid = mFolder.mActivityContext.getDeviceProfile(); in createAndAddNewPage()
636 return AbstractFloatingView.getTopOpenViewWithType(mFolder.mActivityContext, in canScroll()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DOverflowMenuItem.java41 private final Context mActivityContext; field in OverflowMenuItem
56 mActivityContext = activityContext; in OverflowMenuItem()
87 mDialog = new AlertDialog.Builder(mActivityContext) in performClick()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DAbstractSlideInView.java66 protected final T mActivityContext; field in AbstractSlideInView
83 mActivityContext = ActivityContext.lookupContext(context); in AbstractSlideInView()
228 return mActivityContext.getDragLayer(); in getPopupContainer()
DWidgetsEduView.java100 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in onMeasure()