/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
D | RecentsState.java | 135 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid() argument 136 return hasFlag(FLAG_SHOW_AS_GRID) && showAsGrid(deviceProfile); in displayOverviewTasksAsGrid() 139 private boolean showAsGrid(DeviceProfile deviceProfile) { in showAsGrid() argument 140 return deviceProfile.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get(); in showAsGrid()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | PortraitPagedViewHandler.java | 277 public void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation() argument 280 if (deviceProfile.isLandscape && !deviceProfile.isTablet) { in setTaskOptionsMenuLayoutOrientation() 294 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem() argument 295 if (deviceProfile.isLandscape && !deviceProfile.isTablet) { in setLayoutParamsForTaskMenuOptionItem()
|
D | PagedOrientationHandler.java | 114 DeviceProfile deviceProfile); in getSplitSelectTaskOffset() argument 126 void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation() argument 134 LinearLayout viewGroup, DeviceProfile deviceProfile); in setLayoutParamsForTaskMenuOptionItem() argument
|
D | LandscapePagedViewHandler.java | 272 public void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation() argument 282 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem() argument 357 DeviceProfile deviceProfile) { in getSplitSelectTaskOffset() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetCell.java | 253 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in setAppWidgetHostViewPreview() local 254 if (deviceProfile.shouldInsetWidgets()) { in setAppWidgetHostViewPreview() 256 appWidgetHostViewPreview.getWidgetInset(deviceProfile, padding); in setAppWidgetHostViewPreview() 258 padding = deviceProfile.inv.defaultWidgetPadding; in setAppWidgetHostViewPreview() 365 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in setPreviewSize() local 366 Size widgetSize = WidgetSizes.getWidgetItemSizePx(getContext(), deviceProfile, widgetItem); in setPreviewSize()
|
D | AddItemWidgetsBottomSheet.java | 86 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in onMeasure() local 91 Rect padding = deviceProfile.workspacePadding; in onMeasure() 96 int heightUsed = mInsets.top + deviceProfile.edgeMarginPx; in onMeasure()
|
D | PendingItemDragHelper.java | 117 DeviceProfile deviceProfile = launcher.getDeviceProfile(); in startDrag() local 119 mAppWidgetHostViewPreview.getWidgetInset(deviceProfile, padding); in startDrag() 124 deviceProfile.cellWidthPx * mAddInfo.spanX + padding.left + padding.right; in startDrag() 126 deviceProfile.cellHeightPx * mAddInfo.spanY + padding.top + padding.bottom; in startDrag()
|
D | BaseWidgetSheet.java | 124 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in doMeasure() local 129 Rect padding = deviceProfile.workspacePadding; in doMeasure() 134 int heightUsed = mInsets.top + deviceProfile.edgeMarginPx; in doMeasure()
|
D | WidgetsBottomSheet.java | 113 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in WidgetsBottomSheet() local 116 mMaxTableHeight = deviceProfile.inv.numRows * 2 / 3 * deviceProfile.cellHeightPx; in WidgetsBottomSheet()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | FlingToDeleteHelper.java | 92 DeviceProfile deviceProfile = mLauncher.getDeviceProfile(); in isFlingingToDelete() local 93 if (mVelocityTracker.getYVelocity() < deviceProfile.flingToDeleteThresholdVelocity) { in isFlingingToDelete() 98 mVelocityTracker.getXVelocity() < deviceProfile.flingToDeleteThresholdVelocity) { in isFlingingToDelete()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | WidgetsEduView.java | 100 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in onMeasure() local 109 Rect padding = deviceProfile.workspacePadding; in onMeasure() 114 int heightUsed = mInsets.top + deviceProfile.edgeMarginPx; in onMeasure()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskOverlayFactory.java | 66 DeviceProfile deviceProfile) { in getEnabledShortcuts() argument 73 addSplitOptions(shortcuts, activity, taskView, deviceProfile); in getEnabledShortcuts() 110 BaseDraggingActivity activity, TaskView taskView, DeviceProfile deviceProfile) { in addSplitOptions() argument 114 orientationHandler.getSplitPositionOptions(deviceProfile); in addSplitOptions()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/testing/ |
D | TestActivity.java | 43 public void setDeviceProfile(DeviceProfile deviceProfile) { in setDeviceProfile() argument 44 mDeviceProfile = deviceProfile; in setDeviceProfile()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 116 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { 117 return deviceProfile.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get();
|
D | BackgroundAppState.java | 81 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid() argument
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | TaskView.java | 766 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in setOrientationState() local 767 snapshotParams.topMargin = deviceProfile.overviewTaskThumbnailTopMarginPx; in setOrientationState() 768 int taskIconMargin = deviceProfile.overviewTaskMarginPx; in setOrientationState() 769 int taskIconHeight = deviceProfile.overviewTaskIconSizePx; in setOrientationState() 801 snapshotParams.topMargin = deviceProfile.overviewTaskThumbnailTopMarginPx; in setOrientationState() 957 public static float getEdgeScaleDownFactor(DeviceProfile deviceProfile) { in getEdgeScaleDownFactor() argument 958 if (deviceProfile.isTablet && FeatureFlags.ENABLE_OVERVIEW_GRID.get()) { in getEdgeScaleDownFactor()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
D | WidgetsRecommendationTableLayout.java | 152 DeviceProfile deviceProfile = Launcher.getLauncher(getContext()).getDeviceProfile(); in fitRecommendedWidgetsToTableSpace() local 158 Size widgetSize = WidgetSizes.getWidgetItemSizePx(getContext(), deviceProfile, in fitRecommendedWidgetsToTableSpace()
|
D | WidgetsListAdapter.java | 298 DeviceProfile deviceProfile = activity.getDeviceProfile(); in ensureAllPreviewsReady() local 299 Size widgetSize = WidgetSizes.getWidgetItemSizePx(mContext, deviceProfile, in ensureAllPreviewsReady()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SplitSelectStateController.java | 133 DeviceProfile deviceProfile) { in getLayoutParamsForActivePosition() argument 137 if (deviceProfile.isLandscape) { in getLayoutParamsForActivePosition()
|
D | RecentsOrientedState.java | 163 public void setDeviceProfile(DeviceProfile deviceProfile) { in setDeviceProfile() argument 165 setFlag(FLAG_MULTIPLE_ORIENTATION_SUPPORTED_BY_DENSITY, !deviceProfile.allowRotation); in setDeviceProfile()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderTask.java | 993 for (DeviceProfile deviceProfile : idp.supportedProfiles) { in logWidgetInfo() 994 deviceProfile.getCellSize(cellSize); in logWidgetInfo() 995 FileLog.d(TAG, "DeviceProfile available width: " + deviceProfile.availableWidthPx in logWidgetInfo() 996 + ", available height: " + deviceProfile.availableHeightPx in logWidgetInfo() 997 + ", cellLayoutBorderSpacingPx: " + deviceProfile.cellLayoutBorderSpacingPx in logWidgetInfo()
|
/packages/apps/Launcher3/src/com/android/launcher3/settings/ |
D | SettingsActivity.java | 253 DeviceProfile deviceProfile = InvariantDeviceProfile.INSTANCE.get( in initPreference() local 255 if (deviceProfile.allowRotation) { in initPreference()
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | BaseState.java | 61 default boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 238 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in CellLayout() local 241 ? deviceProfile.folderCellLayoutBorderSpacingPx in CellLayout() 242 : deviceProfile.cellLayoutBorderSpacingPx; in CellLayout() 247 mCountX = deviceProfile.inv.numColumns; in CellLayout() 248 mCountY = deviceProfile.inv.numRows; in CellLayout() 271 mReorderPreviewAnimationMagnitude = (REORDER_PREVIEW_MAGNITUDE * deviceProfile.iconSizePx); in CellLayout()
|