Home
last modified time | relevance | path

Searched refs:DeviceProfile (Results 1 – 25 of 174) sorted by relevance

1234567

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DRecentsPagedOrientationHandler.kt28 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 …]
DLandscapePagedViewHandler.kt41 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 …]
DPortraitPagedViewHandler.kt33 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 …]
DSeascapePagedViewHandler.kt32 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/
DTaskbarThresholdUtils.java26 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()
DRecentsHitboxExtender.java25 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/
DBaseContainerInterface.java39 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/
DAllAppsState.java25 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();
DOverviewState.java28 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/
DUnitTestCellLayoutBuilderRule.kt25 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/
DActivityContextWrapper.java22 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/
DLayoutUtils.java23 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/
DTaskbarOverlayController.java41 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/
DBaseWidgetSheet.java41 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/
DRecentsWindowContext.kt26 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/
DWidgetSizes.java32 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()
DWidgetsTableUtils.java23 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/
DLauncherUnfoldTransitionController.kt22 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/
DLauncherAppWidgetProviderInfoTest.java30 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/
DFakeInvariantDeviceProfileTest.kt25 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/
DDeviceProfileDimensionsProviderAdapter.kt19 import com.android.launcher3.DeviceProfile
34 private fun taskbarDp(): DeviceProfile = taskbarActivityContext.deviceProfile
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DBaseState.java18 import com.android.launcher3.DeviceProfile;
60 default boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid()
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIconGraphic.kt26 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/
DSecondaryLauncherAllAppsContainerView.java21 import com.android.launcher3.DeviceProfile;
44 protected void updateBackgroundVisibility(DeviceProfile deviceProfile) {} in updateBackgroundVisibility()
/packages/apps/Launcher3/src/com/android/launcher3/
DHotseat.java151 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()

1234567