Home
last modified time | relevance | path

Searched refs:DeviceProfile (Results 1 – 25 of 167) 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.kt40 import com.android.launcher3.DeviceProfile
82 override fun fixBoundsForHomeAnimStartRect(outStartRect: RectF, deviceProfile: DeviceProfile) { in fixBoundsForHomeAnimStartRect()
173 deviceProfile: DeviceProfile in getChildStart()
179 deviceProfile: DeviceProfile, in getChildStart()
204 deviceProfile: DeviceProfile, in getTaskMenuWidth()
218 deviceProfile: DeviceProfile, in getTaskMenuHeight()
224 deviceProfile: DeviceProfile, in getTaskMenuHeight()
237 deviceProfile: DeviceProfile in setLayoutParamsForTaskMenuOptionItem()
249 deviceProfile: DeviceProfile, in getDwbLayoutTranslations()
321 override fun getDistanceToBottomOfRect(dp: DeviceProfile, rect: Rect): Int = rect.left in getDistanceToBottomOfRect()
[all …]
DPortraitPagedViewHandler.java51 import com.android.launcher3.DeviceProfile;
93 public void fixBoundsForHomeAnimStartRect(RectF outStartRect, DeviceProfile deviceProfile) { in fixBoundsForHomeAnimStartRect()
182 public int getSplitTranslationDirectionFactor(int stagePosition, DeviceProfile deviceProfile) { in getSplitTranslationDirectionFactor()
192 DeviceProfile deviceProfile, float taskInsetMargin, View taskViewIcon) { in getTaskMenuX()
208 public int getTaskMenuWidth(View thumbnailView, DeviceProfile deviceProfile, in getTaskMenuWidth()
222 public int getTaskMenuHeight(float taskInsetMargin, DeviceProfile deviceProfile, in getTaskMenuHeight()
229 public void setTaskOptionsMenuLayoutOrientation(DeviceProfile deviceProfile, in setTaskOptionsMenuLayoutOrientation()
239 LinearLayout viewGroup, DeviceProfile deviceProfile) { in setLayoutParamsForTaskMenuOptionItem()
247 int taskViewHeight, SplitBounds splitBounds, DeviceProfile deviceProfile, in getDwbLayoutTranslations()
326 public int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect) { in getDistanceToBottomOfRect()
[all …]
DSeascapePagedViewHandler.kt31 import com.android.launcher3.DeviceProfile
55 deviceProfile: DeviceProfile in getSplitTranslationDirectionFactor()
70 deviceProfile: DeviceProfile, in getSplitTranslationDirectionFactor()
97 deviceProfile: DeviceProfile, in getTaskMenuHeight()
103 dp: DeviceProfile, in getTaskMenuHeight()
132 deviceProfile: DeviceProfile, in getDwbLayoutTranslations()
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()
275 dp: DeviceProfile, in measureGroupedTaskViewThumbnailBounds()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarThresholdUtils.java26 import com.android.launcher3.DeviceProfile;
40 private static int getThreshold(Resources r, DeviceProfile dp, int thresholdDimen, in getThreshold()
59 public static int getFromNavThreshold(Resources r, DeviceProfile dp) { in getFromNavThreshold()
67 public static int getAppWindowThreshold(Resources r, DeviceProfile dp) { in getAppWindowThreshold()
75 public static int getHomeOverviewThreshold(Resources r, DeviceProfile dp) { in getHomeOverviewThreshold()
83 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.java38 import com.android.launcher3.DeviceProfile;
88 DeviceProfile dp, Context context, Rect outRect, in getSwipeUpDestinationAndLength()
208 public final void calculateTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateTaskSize()
239 public final void calculateCarouselTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateCarouselTaskSize()
253 private void calculateFocusTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateFocusTaskSize()
261 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, int claimedSpaceAbove, in calculateTaskSizeInternal()
300 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, in calculateTaskSizeInternal()
314 private static PointF getTaskDimension(Context context, DeviceProfile dp) { in getTaskDimension()
323 public static void getTaskDimension(Context context, DeviceProfile dp, PointF out) { in getTaskDimension()
334 public final void calculateGridSize(DeviceProfile dp, Context context, Rect outRect) { in calculateGridSize()
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DActivityContextWrapper.java22 import com.android.launcher3.DeviceProfile;
23 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
38 private final DeviceProfile mProfile;
58 public DeviceProfile getDeviceProfile() { in getDeviceProfile()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DUnitTestCellLayoutBuilderRule.kt25 import com.android.launcher3.DeviceProfile
85 private fun getDeviceProfile(): DeviceProfile = in getDeviceProfile()
89 private fun getWrappedContext(context: Context, dp: DeviceProfile): Context { in getDeviceProfile()
91 override fun getDeviceProfile(): DeviceProfile { in getDeviceProfile()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/overlay/
DTaskbarOverlayController.java37 import com.android.launcher3.DeviceProfile;
87 private DeviceProfile mLauncherDeviceProfile;
92 TaskbarActivityContext taskbarContext, DeviceProfile launcherDeviceProfile) { in TaskbarOverlayController()
159 public DeviceProfile getLauncherDeviceProfile() { in getLauncherDeviceProfile()
164 public void updateLauncherDeviceProfile(DeviceProfile dp) { in updateLauncherDeviceProfile()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java27 import com.android.launcher3.DeviceProfile;
83 DeviceProfile deviceProfile = launcher.getDeviceProfile(); in getWorkspaceScaleAndTranslation()
114 DeviceProfile dp = launcher.getDeviceProfile();
149 DeviceProfile dp = launcher.getDeviceProfile();
164 public boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) {
DAllAppsState.java25 import com.android.launcher3.DeviceProfile;
182 DeviceProfile dp = launcher.getDeviceProfile();
188 DeviceProfile dp = launcher.getDeviceProfile();
194 DeviceProfile dp = launcher.getDeviceProfile();
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java23 import com.android.launcher3.DeviceProfile;
34 public static float getDefaultSwipeHeight(Context context, DeviceProfile dp) { in getDefaultSwipeHeight()
42 public static int getShelfTrackingDistance(Context context, DeviceProfile dp, in getShelfTrackingDistance()
DAnimatorControllerWithResistance.java35 import com.android.launcher3.DeviceProfile;
153 RecentsOrientedState recentsOrientedState, DeviceProfile dp, SCALE scaleTarget, in createForRecents()
189 RecentsOrientedState recentsOrientedState, DeviceProfile dp) { in getAllAppsThreshold()
285 public final DeviceProfile dp;
298 DeviceProfile dp, SCALE scaleTarget, FloatProperty<SCALE> scaleProperty, in RecentsParams()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfoTest.java33 import com.android.launcher3.DeviceProfile;
159 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans()
181 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans()
259 DeviceProfile dp = LauncherAppState.getIDP(mContext) in createIDP()
261 DeviceProfile profile = Mockito.spy(dp); in createIDP()
271 List<DeviceProfile> supportedProfiles = new ArrayList<>(idp.supportedProfiles); in createIDP()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/unfold/
DLauncherUnfoldTransitionController.kt22 import com.android.launcher3.DeviceProfile
23 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener
59 override fun onDeviceProfileChanged(dp: DeviceProfile) { in onDeviceProfileChanged()
/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;
76 List<WidgetItem> widgetItems, Context context, final DeviceProfile dp, in groupWidgetItemsUsingRowPxWithReordering()
104 List<WidgetItem> widgetItems, Context context, final DeviceProfile dp, in groupWidgetItemsUsingRowPxWithoutReordering()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DFakeInvariantDeviceProfileTest.kt27 import com.android.launcher3.DeviceProfile.DEFAULT_DIMENSION_PROVIDER
28 import com.android.launcher3.DeviceProfile.DEFAULT_PROVIDER
69 protected fun newDP(): DeviceProfile = in newDP()
70 DeviceProfile( in newDP()
339 fun dump(dp: DeviceProfile): String { in dump()
/packages/apps/Launcher3/src/com/android/launcher3/
DHotseat.java95 DeviceProfile dp = mActivity.getDeviceProfile(); in resetLayout()
138 DeviceProfile dp = mActivity.getDeviceProfile(); in adjustForBubbleBar()
187 DeviceProfile grid = mActivity.getDeviceProfile(); in setInsets()
250 DeviceProfile dp = mActivity.getDeviceProfile(); in onMeasure()
261 DeviceProfile dp = mActivity.getDeviceProfile(); in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DBaseState.java20 import com.android.launcher3.DeviceProfile;
63 default boolean displayOverviewTasksAsGrid(DeviceProfile deviceProfile) { in displayOverviewTasksAsGrid()
/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DDeviceProfileDumpTest.kt20 import com.android.launcher3.DeviceProfile
119 private fun getDeviceProfileForGrid(gridName: String): DeviceProfile { in getDeviceProfileForGrid()
123 private fun assertDump(dp: DeviceProfile, filename: String) { in assertDump()
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/
DAppPairIconGraphic.kt26 import com.android.launcher3.DeviceProfile
27 import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener
104 override fun onDeviceProfileChanged(dp: DeviceProfile) { in onDeviceProfileChanged()
/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()
334 DeviceProfile deviceProfile = mActivityContext.getDeviceProfile(); in doMeasure()
354 protected int getTabletHorizontalMargin(DeviceProfile deviceProfile) { in getTabletHorizontalMargin()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DSecondaryLauncherAllAppsContainerView.java21 import com.android.launcher3.DeviceProfile;
44 protected void updateBackgroundVisibility(DeviceProfile deviceProfile) {} in updateBackgroundVisibility()

1234567