/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/ |
D | RecentsPagedOrientationHandler.kt | 28 import com.android.launcher3.DeviceProfile 85 deviceProfile: DeviceProfile, in setSecondary() 91 deviceProfile: DeviceProfile, in setSecondary() 94 fun getDistanceToBottomOfRect(dp: DeviceProfile, rect: Rect): Int in setSecondary() 96 fun getSplitPositionOptions(dp: DeviceProfile): List<SplitPositionOption> in setSecondary() 102 dp: DeviceProfile, in setSecondary() 130 dp: DeviceProfile, in setSecondary() 144 dp: DeviceProfile, in setSecondary() 159 dp: DeviceProfile, in setSecondary() 165 fun getDefaultSplitPosition(deviceProfile: DeviceProfile): Int in setSecondary() [all …]
|
D | LandscapePagedViewHandler.kt | 41 import com.android.launcher3.DeviceProfile 83 override fun fixBoundsForHomeAnimStartRect(outStartRect: RectF, deviceProfile: DeviceProfile) { in fixBoundsForHomeAnimStartRect() 174 deviceProfile: DeviceProfile, in getChildStart() 180 deviceProfile: DeviceProfile, in getChildStart() 205 deviceProfile: DeviceProfile, in getTaskMenuWidth() 219 deviceProfile: DeviceProfile, in getTaskMenuHeight() 225 deviceProfile: DeviceProfile, in getTaskMenuHeight() 238 deviceProfile: DeviceProfile, in setLayoutParamsForTaskMenuOptionItem() 250 deviceProfile: DeviceProfile, in updateDwbBannerLayout() 273 deviceProfile: DeviceProfile, in getDwbBannerTranslations() [all …]
|
D | PortraitPagedViewHandler.kt | 33 import com.android.launcher3.DeviceProfile 64 override fun fixBoundsForHomeAnimStartRect(outStartRect: RectF, deviceProfile: DeviceProfile) { in fixBoundsForHomeAnimStartRect() 118 deviceProfile: DeviceProfile, in getSplitTranslationDirectionFactor() 132 deviceProfile: DeviceProfile, in getTaskMenuX() 155 deviceProfile: DeviceProfile, in getTaskMenuY() 180 deviceProfile: DeviceProfile, in getTaskMenuHeight() 190 deviceProfile: DeviceProfile, in getTaskMenuHeight() 203 deviceProfile: DeviceProfile, in setLayoutParamsForTaskMenuOptionItem() 214 deviceProfile: DeviceProfile, in updateDwbBannerLayout() 240 deviceProfile: DeviceProfile, in getDwbBannerTranslations() [all …]
|
D | SeascapePagedViewHandler.kt | 32 import com.android.launcher3.DeviceProfile 56 deviceProfile: DeviceProfile, in getSplitTranslationDirectionFactor() 71 deviceProfile: DeviceProfile, in getSplitTranslationDirectionFactor() 98 deviceProfile: DeviceProfile, in getTaskMenuHeight() 104 dp: DeviceProfile, in getTaskMenuHeight() 126 deviceProfile: DeviceProfile, in updateDwbBannerLayout() 149 deviceProfile: DeviceProfile, in getDwbBannerTranslations() 174 override fun getDistanceToBottomOfRect(dp: DeviceProfile, rect: Rect): Int = in getDistanceToBottomOfRect() 177 override fun getSplitPositionOptions(dp: DeviceProfile): List<SplitPositionOption> = in getDistanceToBottomOfRect() 190 dp: DeviceProfile, in getDistanceToBottomOfRect() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarThresholdUtils.java | 26 import com.android.launcher3.DeviceProfile; 39 private static int getThreshold(Resources r, DeviceProfile dp, int thresholdDimen, in getThreshold() 54 public static int getFromNavThreshold(Resources r, DeviceProfile dp) { in getFromNavThreshold() 62 public static int getAppWindowThreshold(Resources r, DeviceProfile dp) { in getAppWindowThreshold() 70 public static int getHomeOverviewThreshold(Resources r, DeviceProfile dp) { in getHomeOverviewThreshold() 78 public static int getCatchUpThreshold(Resources r, DeviceProfile dp) { in getCatchUpThreshold()
|
D | RecentsHitboxExtender.java | 25 import com.android.launcher3.DeviceProfile; 42 private DeviceProfile mDeviceProfile; 58 public void init(View recentsButton, View recentsParent, DeviceProfile deviceProfile, in init()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | BaseContainerInterface.java | 39 import com.android.launcher3.DeviceProfile; 102 DeviceProfile dp, Context context, Rect outRect, in getSwipeUpDestinationAndLength() 253 public final void calculateTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateTaskSize() 277 private void calculateLargeTileSize(Context context, DeviceProfile dp, Rect outRect) { in calculateLargeTileSize() 285 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, int claimedSpaceAbove, in calculateTaskSizeInternal() 327 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, in calculateTaskSizeInternal() 341 private static PointF getTaskDimension(Context context, DeviceProfile dp) { in getTaskDimension() 350 public static void getTaskDimension(Context context, DeviceProfile dp, PointF out) { in getTaskDimension() 361 public final void calculateGridSize(DeviceProfile dp, Context context, Rect outRect) { in calculateGridSize() 375 public final void calculateGridTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateGridTaskSize() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | AllAppsState.java | 25 import com.android.launcher3.DeviceProfile; 173 private static boolean isWorkspaceVisible(DeviceProfile deviceProfile) { 185 DeviceProfile dp = launcher.getDeviceProfile(); 191 DeviceProfile dp = launcher.getDeviceProfile(); 197 DeviceProfile dp = launcher.getDeviceProfile();
|
D | OverviewState.java | 28 import com.android.launcher3.DeviceProfile; 86 DeviceProfile deviceProfile = launcher.getDeviceProfile(); in getWorkspaceScaleAndTranslation() 117 DeviceProfile dp = launcher.getDeviceProfile(); 152 DeviceProfile dp = launcher.getDeviceProfile(); 169 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) {
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | UnitTestCellLayoutBuilderRule.kt | 25 import com.android.launcher3.DeviceProfile 95 private fun getDeviceProfile(): DeviceProfile = in getDeviceProfile() 99 private fun getWrappedContext(context: Context, dp: DeviceProfile): Context { in getDeviceProfile() 101 override fun getDeviceProfile(): DeviceProfile { in getDeviceProfile()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | ActivityContextWrapper.java | 22 import com.android.launcher3.DeviceProfile; 31 private final DeviceProfile mProfile; 51 public DeviceProfile getDeviceProfile() { in getDeviceProfile()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | LayoutUtils.java | 23 import com.android.launcher3.DeviceProfile; 36 public static float getDefaultSwipeHeight(Context context, DeviceProfile dp) { in getDefaultSwipeHeight() 46 DeviceProfile dp, in getShelfTrackingDistance()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/ |
D | TaskbarOverlayController.java | 41 import com.android.launcher3.DeviceProfile; 96 private DeviceProfile mLauncherDeviceProfile; 103 TaskbarActivityContext taskbarContext, DeviceProfile launcherDeviceProfile) { in TaskbarOverlayController() 176 public DeviceProfile getLauncherDeviceProfile() { in getLauncherDeviceProfile() 181 public void updateLauncherDeviceProfile(DeviceProfile dp) { in updateLauncherDeviceProfile()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | BaseWidgetSheet.java | 41 import com.android.launcher3.DeviceProfile; 42 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener; 121 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged() 345 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in doMeasure() 357 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in getInsetsWidth() 372 protected int getTabletHorizontalMargin(DeviceProfile deviceProfile) { in getTabletHorizontalMargin()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/window/ |
D | RecentsWindowContext.kt | 26 import com.android.launcher3.DeviceProfile 44 private var deviceProfile: DeviceProfile? = null 61 override fun getDeviceProfile(): DeviceProfile { in getDeviceProfile()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/ |
D | WidgetSizes.java | 32 import com.android.launcher3.DeviceProfile; 50 for (DeviceProfile profile : LauncherAppState.getIDP(context).supportedProfiles) { in getWidgetSizesDp() 59 public static Size getWidgetSizePx(DeviceProfile profile, int spanX, int spanY) { in getWidgetSizePx() 79 public static Size getWidgetItemSizePx(Context context, DeviceProfile profile, in getWidgetItemSizePx()
|
D | WidgetsTableUtils.java | 23 import com.android.launcher3.DeviceProfile; 91 List<WidgetItem> widgetItems, Context context, final DeviceProfile dp, in groupWidgetItemsUsingRowPxWithReordering() 119 List<WidgetItem> widgetItems, Context context, final DeviceProfile dp, in groupWidgetItemsUsingRowPxWithoutReordering()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/unfold/ |
D | LauncherUnfoldTransitionController.kt | 22 import com.android.launcher3.DeviceProfile 23 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener 58 override fun onDeviceProfileChanged(dp: DeviceProfile) { in onDeviceProfileChanged()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/ |
D | LauncherAppWidgetProviderInfoTest.java | 30 import com.android.launcher3.DeviceProfile; 149 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans() 171 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans() 251 DeviceProfile dp = idp.getDeviceProfile(mContext).copy(mContext); in createIDP() 252 DeviceProfile profile = Mockito.spy(dp); in createIDP()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/ |
D | FakeInvariantDeviceProfileTest.kt | 25 import com.android.launcher3.DeviceProfile.DEFAULT_DIMENSION_PROVIDER 26 import com.android.launcher3.DeviceProfile.DEFAULT_PROVIDER 68 protected fun newDP(): DeviceProfile = in newDP() 69 DeviceProfile( in newDP() 364 fun dump(dp: DeviceProfile): String { in dump()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/stashing/ |
D | DeviceProfileDimensionsProviderAdapter.kt | 19 import com.android.launcher3.DeviceProfile 34 private fun taskbarDp(): DeviceProfile = taskbarActivityContext.deviceProfile
|
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/ |
D | BaseState.java | 18 import com.android.launcher3.DeviceProfile; 60 default boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid()
|
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/ |
D | AppPairIconGraphic.kt | 26 import com.android.launcher3.DeviceProfile 27 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener 102 override fun onDeviceProfileChanged(dp: DeviceProfile) { in onDeviceProfileChanged()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | SecondaryLauncherAllAppsContainerView.java | 21 import com.android.launcher3.DeviceProfile; 44 protected void updateBackgroundVisibility(DeviceProfile deviceProfile) {} in updateBackgroundVisibility()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Hotseat.java | 151 DeviceProfile dp = mActivity.getDeviceProfile(); in resetLayout() 190 DeviceProfile dp = mActivity.getDeviceProfile(); in adjustForBubbleBar() 246 DeviceProfile grid = mActivity.getDeviceProfile(); in setInsets() 309 DeviceProfile dp = mActivity.getDeviceProfile(); in onMeasure() 320 DeviceProfile dp = mActivity.getDeviceProfile(); in onLayout()
|