/aosp12/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
H A D | PortraitPagedViewHandler.java | 276 DeviceProfile deviceProfile) { in getTaskMenuX() argument 277 if (deviceProfile.isLandscape) { in getTaskMenuX() 292 return deviceProfile.isLandscape && !deviceProfile.overviewShowAsGrid ? in getTaskMenuWidth() 308 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem() argument 353 if (deviceProfile.isLandscape) { in setDwbLayoutParamsAndGetTranslations() 588 if (deviceProfile.isLandscape) { in setSplitIconParams() 609 public int getDefaultSplitPosition(DeviceProfile deviceProfile) { in getDefaultSplitPosition() argument 610 if (!deviceProfile.isTablet) { in getDefaultSplitPosition() 613 if (deviceProfile.isLandscape) { in getDefaultSplitPosition() 622 FloatProperty secondary, DeviceProfile deviceProfile) { in getSplitSelectTaskOffset() argument [all …]
|
H A D | PagedOrientationHandler.java | 99 DeviceProfile deviceProfile); in getSplitTranslationDirectionFactor() argument 119 FloatProperty secondary, DeviceProfile deviceProfile); in getSplitSelectTaskOffset() argument 139 int getDefaultSplitPosition(DeviceProfile deviceProfile); in getDefaultSplitPosition() argument 159 boolean isRtl, DeviceProfile deviceProfile, StagedSplitBounds splitConfig); in setSplitIconParams() argument 167 float getTaskMenuX(float x, View thumbnailView, int overScroll, DeviceProfile deviceProfile); in getTaskMenuX() argument 169 int getTaskMenuWidth(View view, DeviceProfile deviceProfile); in getTaskMenuWidth() argument 174 void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation() argument 182 LinearLayout viewGroup, DeviceProfile deviceProfile); in setLayoutParamsForTaskMenuOptionItem() argument 195 int taskViewHeight, StagedSplitBounds splitBounds, DeviceProfile deviceProfile, in setDwbLayoutParamsAndGetTranslations() argument
|
H A D | SeascapePagedViewHandler.java | 57 public int getSplitTranslationDirectionFactor(int stagePosition, DeviceProfile deviceProfile) { in getSplitTranslationDirectionFactor() argument 89 DeviceProfile deviceProfile) { in getTaskMenuX() argument 112 int taskViewHeight, StagedSplitBounds splitBounds, DeviceProfile deviceProfile, in setDwbLayoutParamsAndGetTranslations() argument 178 boolean isRtl, DeviceProfile deviceProfile, StagedSplitBounds splitConfig) { in setSplitIconParams() argument 180 primarySnapshotWidth, primarySnapshotHeight, isRtl, deviceProfile, splitConfig); in setSplitIconParams()
|
H A D | LandscapePagedViewHandler.java | 258 public int getSplitTranslationDirectionFactor(int stagePosition, DeviceProfile deviceProfile) { in getSplitTranslationDirectionFactor() argument 268 DeviceProfile deviceProfile) { in getTaskMenuX() argument 279 public int getTaskMenuWidth(View view, DeviceProfile deviceProfile) { in getTaskMenuWidth() argument 284 public void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation() argument 294 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem() argument 314 int taskViewHeight, StagedSplitBounds splitBounds, DeviceProfile deviceProfile, in setDwbLayoutParamsAndGetTranslations() argument 480 boolean isRtl, DeviceProfile deviceProfile, StagedSplitBounds splitConfig) { in setSplitIconParams() argument 501 public int getDefaultSplitPosition(DeviceProfile deviceProfile) { in getDefaultSplitPosition() argument 507 FloatProperty secondary, DeviceProfile deviceProfile) { in getSplitSelectTaskOffset() argument
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
H A D | BaseWidgetSheet.java | 147 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in doMeasure() local 152 Rect padding = deviceProfile.workspacePadding; in doMeasure() 157 if (deviceProfile.isTablet || deviceProfile.isTwoPanels) { in doMeasure() 161 int minUsedWidth = (int) (deviceProfile.availableWidthPx in doMeasure() 166 int heightUsed = mInsets.top + deviceProfile.edgeMarginPx; in doMeasure() 175 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in computeMaxHorizontalSpans() local 177 Point cellSize = deviceProfile.getCellSize(); in computeMaxHorizontalSpans()
|
H A D | AddItemWidgetsBottomSheet.java | 107 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in onMeasure() local 112 Rect padding = deviceProfile.workspacePadding; in onMeasure() 117 if (deviceProfile.isTablet || deviceProfile.isTwoPanels) { in onMeasure() 121 int minUsedWidth = (int) (deviceProfile.availableWidthPx in onMeasure() 126 int heightUsed = mInsets.top + deviceProfile.edgeMarginPx; in onMeasure()
|
H A D | PendingItemDragHelper.java | 127 DeviceProfile deviceProfile = launcher.getDeviceProfile(); in startDrag() local 129 mAppWidgetHostViewPreview.getWidgetInset(deviceProfile, padding); in startDrag() 134 mAddInfo.componentName, deviceProfile, mAddInfo.spanX, mAddInfo.spanY); in startDrag()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
H A D | TaskView.java | 143 public static boolean clipLeft(DeviceProfile deviceProfile) { in clipLeft() argument 150 public static boolean clipTop(DeviceProfile deviceProfile) { in clipTop() argument 157 public static boolean clipRight(DeviceProfile deviceProfile) { in clipRight() argument 164 public static boolean clipBottom(DeviceProfile deviceProfile) { in clipBottom() argument 165 return deviceProfile.isTablet; in clipBottom() 172 return deviceProfile.isTablet && !deviceProfile.isTaskbarPresentInApps; in useFullThumbnail() 884 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in setOrientationState() local 887 int taskIconHeight = deviceProfile.overviewTaskIconSizePx; in setOrientationState() 889 : deviceProfile.overviewTaskMarginPx; in setOrientationState() 899 : deviceProfile.overviewTaskIconDrawableSizePx; in setOrientationState() [all …]
|
H A D | GroupedTaskView.java | 238 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in setOrientationState() local 239 boolean isGridTask = deviceProfile.overviewShowAsGrid && !isFocusedTask(); in setOrientationState() 240 int iconDrawableSize = isGridTask ? deviceProfile.overviewTaskIconDrawableSizeGridPx in setOrientationState() 241 : deviceProfile.overviewTaskIconDrawableSizePx; in setOrientationState() 252 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in updateIconPlacement() local 253 int taskIconHeight = deviceProfile.overviewTaskIconSizePx; in updateIconPlacement() 258 isRtl, deviceProfile, mSplitBoundsConfig); in updateIconPlacement()
|
H A D | TaskMenuView.java | 140 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); 141 int taskTopMargin = deviceProfile.overviewTaskThumbnailTopMarginPx; 149 if (deviceProfile.overviewShowAsGrid) { 157 mTaskContainer.getThumbnailView(), overscrollShift, deviceProfile)); 170 if (deviceProfile.isLandscape) { 269 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); 277 deviceProfile) - (2 * padding); 291 deviceProfile, mOptionLayout, dividerSpacing, divider);
|
H A D | ClearAllButton.java | 249 DeviceProfile deviceProfile = mActivity.getDeviceProfile(); in getOriginalTranslationY() local 250 return deviceProfile.overviewShowAsGrid in getOriginalTranslationY() 251 ? deviceProfile.overviewRowSpacing in getOriginalTranslationY() 252 : deviceProfile.overviewTaskThumbnailTopMarginPx / 2.0f; in getOriginalTranslationY()
|
H A D | TaskMenuViewWithArrow.kt | 167 .getEnabledShortcuts(taskView, mActivityContext.deviceProfile, taskContainer) 179 val deviceProfile: DeviceProfile = mActivityContext.deviceProfile 181 deviceProfile,
|
/aosp12/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
H A D | CompanionDeviceActivity.java | 83 String deviceProfile = getRequest().getDeviceProfile(); in onCreate() local 87 boolean useDeviceProfile = deviceProfile != null && !isEmpty(profilePrivacyDisclaimer); in onCreate() 89 ? getDeviceProfileName(deviceProfile) in onCreate() 159 private String getDeviceProfileName(@Nullable String deviceProfile) { in getDeviceProfileName() argument 160 if (deviceProfile == null) { in getDeviceProfileName() 163 switch (deviceProfile) { in getDeviceProfileName() 169 "No localized profile name found for device profile: " + deviceProfile); in getDeviceProfileName() 170 return withoutPrefix("android.app.role.COMPANION_DEVICE_", deviceProfile) in getDeviceProfileName()
|
/aosp12/frameworks/base/core/java/android/companion/ |
H A D | AssociationRequest.java | 211 public Builder setDeviceProfile(@NonNull @DeviceProfile String deviceProfile) { in setDeviceProfile() argument 213 mDeviceProfile = deviceProfile; in setDeviceProfile() 278 @Nullable @DeviceProfile String deviceProfile, in AssociationRequest() argument 287 this.mDeviceProfile = deviceProfile; in AssociationRequest() 446 String deviceProfile = (flg & 0x4) == 0 ? null : in.readString(); in AssociationRequest() local 455 this.mDeviceProfile = deviceProfile; in AssociationRequest()
|
H A D | Association.java | 81 @Nullable String deviceProfile, in Association() argument 93 this.mDeviceProfile = deviceProfile; in Association() 211 String deviceProfile = (flg & 0x8) == 0 ? null : in.readString(); in Association() local 223 this.mDeviceProfile = deviceProfile; in Association()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A 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()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
H A D | TaskOverlayFactory.java | 69 DeviceProfile deviceProfile, TaskIdAttributeContainer taskContainer) { in getEnabledShortcuts() argument 85 addSplitOptions(shortcuts, activity, taskView, deviceProfile); in getEnabledShortcuts() 126 BaseDraggingActivity activity, TaskView taskView, DeviceProfile deviceProfile) { in addSplitOptions() argument 133 boolean isFocusedTask = deviceProfile.overviewShowAsGrid && taskView.isFocusedTask(); in addSplitOptions() 146 orientationHandler.getSplitPositionOptions(deviceProfile); in addSplitOptions()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A 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()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
H A D | RectFSpringAnim.java | 133 @Nullable DeviceProfile deviceProfile) { in RectFSpringAnim() argument 143 if (deviceProfile == null) { in RectFSpringAnim() 148 int heightPx = deviceProfile.heightPx; in RectFSpringAnim() 149 Rect padding = deviceProfile.workspacePadding; in RectFSpringAnim() 152 final float bottomThreshold = deviceProfile.heightPx - padding.bottom; in RectFSpringAnim()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/states/ |
H A D | RotationHelper.java | 47 public static boolean getAllowRotationDefaultValue(DeviceProfile deviceProfile) { in getAllowRotationDefaultValue() argument 51 Math.min(deviceProfile.widthPx, deviceProfile.heightPx), DENSITY_DEVICE_STABLE); in getAllowRotationDefaultValue()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
H A D | RecentsState.java | 137 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid() argument 138 return hasFlag(FLAG_SHOW_AS_GRID) && deviceProfile.overviewShowAsGrid; in displayOverviewTasksAsGrid()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
H A D | OverviewState.java | 105 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { 106 return deviceProfile.overviewShowAsGrid;
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/settings/ |
H A D | SettingsActivity.java | 255 DeviceProfile deviceProfile = InvariantDeviceProfile.INSTANCE.get( in initPreference() local 257 if (deviceProfile.isTablet) { in initPreference() 263 RotationHelper.getAllowRotationDefaultValue(deviceProfile)); in initPreference()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/ |
H A D | WidgetsRecommendationTableLayout.java | 142 DeviceProfile deviceProfile = Launcher.getLauncher(getContext()).getDeviceProfile(); in fitRecommendedWidgetsToTableSpace() local 148 Size widgetSize = WidgetSizes.getWidgetItemSizePx(getContext(), deviceProfile, in fitRecommendedWidgetsToTableSpace()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
H A D | BaseState.java | 61 default boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid() argument
|