Home
last modified time | relevance | path

Searched defs:dp (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DDeviceProfileDumpTest.kt37 val dp = getDeviceProfileForGrid("5_by_5") in phonePortrait3Button() constant
172 val dp = getDeviceProfileForGrid("5_by_5") in phonePortrait() constant
307 val dp = getDeviceProfileForGrid("5_by_5") in phoneVerticalBar3Button() constant
442 val dp = getDeviceProfileForGrid("5_by_5") in phoneVerticalBar() constant
577 val dp = getDeviceProfileForGrid("6_by_5") in tabletLandscape3Button() constant
713 val dp = getDeviceProfileForGrid("6_by_5") in tabletLandscape() constant
849 val dp = getDeviceProfileForGrid("6_by_5") in tabletPortrait3Button() constant
985 val dp = getDeviceProfileForGrid("6_by_5") in tabletPortrait() constant
1126 val dp = getDeviceProfileForGrid("4_by_4") in twoPanelLandscape3Button() constant
1266 val dp = getDeviceProfileForGrid("4_by_4") in twoPanelLandscape() constant
[all …]
DHotseatWidthCalculationTest.kt39 val dp = newDP() in distribute_border_space_when_space_is_enough_portrait() constant
61 val dp = newDP() in decrease_num_of_icons_when_not_enough_space_portrait() constant
82 val dp = newDP() in distribute_border_space_when_space_is_enough_landscape() constant
107 val dp = newDP() in nav_buttons_dont_interfere_with_required_hotseat_width() constant
126 val dp = newDP() in decrease_qsb_when_not_enough_space_landscape() constant
148 val dp = newDP() in decrease_num_of_icons_when_not_enough_space_landscape() constant
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DHotseatWidthCalculationTest.kt39 val dp = newDP() in distribute_border_space_when_space_is_enough_portrait() constant
61 val dp = newDP() in decrease_num_of_icons_when_not_enough_space_portrait() constant
82 val dp = newDP() in distribute_border_space_when_space_is_enough_landscape() constant
107 val dp = newDP() in nav_buttons_dont_interfere_with_required_hotseat_width() constant
126 val dp = newDP() in decrease_qsb_when_not_enough_space_landscape() constant
148 val dp = newDP() in decrease_num_of_icons_when_not_enough_space_landscape() constant
DFullscreenDrawParamsTest.kt53 val dp = newDP() in setStartProgress_correctCornerRadiusForTablet() constant
88 val dp = newDP() in setFullProgress_correctCornerRadiusForTablet() constant
123 val dp = newDP() in setStartProgress_correctCornerRadiusForPhone() constant
158 val dp = newDP() in setFullProgress_correctCornerRadiusForPhone() constant
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java290 DataProfile dp = buildDataProfile(); in testRequestDataCallListPass() local
383 DataProfile dp = buildDataProfile(); in testIwlanSetupDataCallWithIllegalState() local
423 DataProfile dp = buildDataProfile(); in testIwlanSetupDataCallWithBringUpTunnel() local
463 DataProfile dp = buildDataProfile(); in testSliceInfoInclusionInDataCallResponse() local
511 DataProfile dp = buildDataProfile(); in testIwlanDeactivateDataCallWithCloseTunnel() local
538 DataProfile dp = buildDataProfile(); in testHandoverFailureModeNormal() local
587 DataProfile dp = buildDataProfile(); in testHandoverFailureModeHandover() local
700 DataProfile dp = in buildDataProfile() local
724 DataProfile dp = buildDataProfile(); in testIwlanSetupDataCallWithCellularAndCstDisabled() local
761 DataProfile dp = buildDataProfile(); in testIwlanSetupDataCallWithCellularAndCstEnabled() local
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseActivityInterface.java132 DeviceProfile dp, Context context, Rect outRect, in getSwipeUpDestinationAndLength()
234 public final void calculateTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateTaskSize()
258 private void calculateFocusTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateFocusTaskSize()
266 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, int claimedSpaceAbove, in calculateTaskSizeInternal()
282 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, in calculateTaskSizeInternal()
296 private static PointF getTaskDimension(Context context, DeviceProfile dp) { in getTaskDimension()
305 public static void getTaskDimension(Context context, DeviceProfile dp, PointF out) { in getTaskDimension()
316 public final void calculateGridSize(DeviceProfile dp, Rect outRect) { in calculateGridSize()
330 public final void calculateGridTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateGridTaskSize()
356 public final void calculateDesktopTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateDesktopTaskSize()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java34 public static float getDefaultSwipeHeight(Context context, DeviceProfile dp) { in getDefaultSwipeHeight()
42 public static int getShelfTrackingDistance(Context context, DeviceProfile dp, in getShelfTrackingDistance()
DAnimatorControllerWithResistance.java140 RecentsOrientedState recentsOrientedState, DeviceProfile dp, SCALE scaleTarget, in createForRecents()
237 public final DeviceProfile dp; field in AnimatorControllerWithResistance.RecentsParams
250 DeviceProfile dp, SCALE scaleTarget, FloatProperty<SCALE> scaleProperty, in RecentsParams()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DLandscapePagedViewHandler.java398 public int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect) { in getDistanceToBottomOfRect()
403 public List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp) { in getSplitPositionOptions()
412 DeviceProfile dp, @StagePosition int stagePosition, Rect out) { in getInitialSplitPlaceholderBounds()
432 int drawableWidth, int drawableHeight, DeviceProfile dp, in updateSplitIconParams()
445 private int getPlaceholderSizeAdjustment(DeviceProfile dp) { in getPlaceholderSizeAdjustment()
450 public void setSplitInstructionsParams(View out, DeviceProfile dp, int splitInstructionsHeight, in setSplitInstructionsParams()
472 public void getFinalSplitPlaceholderBounds(int splitDividerSize, DeviceProfile dp, in getFinalSplitPlaceholderBounds()
482 public void setSplitTaskSwipeRect(DeviceProfile dp, Rect outRect, in setSplitTaskSwipeRect()
501 DeviceProfile dp, boolean isRtl) { in measureGroupedTaskViewThumbnailBounds()
597 @StagePosition int stagePosition, DeviceProfile dp) { in getFloatingTaskOffscreenTranslationTarget()
[all …]
DPagedOrientationHandler.java110 int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect); in getDistanceToBottomOfRect()
111 List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp); in getSplitPositionOptions()
116 DeviceProfile dp, @StagePosition int stagePosition, Rect out); in getInitialSplitPlaceholderBounds()
134 int drawableWidth, int drawableHeight, DeviceProfile dp, in updateSplitIconParams()
144 void setSplitInstructionsParams(View out, DeviceProfile dp, int splitInstructionsHeight, in setSplitInstructionsParams()
155 void getFinalSplitPlaceholderBounds(int splitDividerSize, DeviceProfile dp, in getFinalSplitPlaceholderBounds()
166 void setSplitTaskSwipeRect(DeviceProfile dp, Rect outRect, SplitBounds splitInfo, in setSplitTaskSwipeRect()
171 SplitBounds splitBoundsConfig, DeviceProfile dp, boolean isRtl); in measureGroupedTaskViewThumbnailBounds()
251 @StagePosition int stagePosition, DeviceProfile dp); in getFloatingTaskOffscreenTranslationTarget()
261 void setFloatingTaskPrimaryTranslation(View floatingTask, float translation, DeviceProfile dp); in setFloatingTaskPrimaryTranslation()
[all …]
DPortraitPagedViewHandler.java401 public int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect) { in getDistanceToBottomOfRect()
406 public List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp) { in getSplitPositionOptions()
431 DeviceProfile dp, @StagePosition int stagePosition, Rect out) { in getInitialSplitPlaceholderBounds()
479 int drawableWidth, int drawableHeight, DeviceProfile dp, in updateSplitIconParams()
505 private int getPlaceholderSizeAdjustment(DeviceProfile dp, boolean pinToRight) { in getPlaceholderSizeAdjustment()
516 public void setSplitInstructionsParams(View out, DeviceProfile dp, int splitInstructionsHeight, in setSplitInstructionsParams()
546 public void getFinalSplitPlaceholderBounds(int splitDividerSize, DeviceProfile dp, in getFinalSplitPlaceholderBounds()
576 public void setSplitTaskSwipeRect(DeviceProfile dp, Rect outRect, in setSplitTaskSwipeRect()
610 DeviceProfile dp, boolean isRtl) { in measureGroupedTaskViewThumbnailBounds()
785 @StagePosition int stagePosition, DeviceProfile dp) { in getFloatingTaskOffscreenTranslationTarget()
[all …]
DSeascapePagedViewHandler.java107 public void setSplitTaskSwipeRect(DeviceProfile dp, Rect outRect, SplitBounds splitInfo, in setSplitTaskSwipeRect()
173 public int getDistanceToBottomOfRect(DeviceProfile dp, Rect rect) { in getDistanceToBottomOfRect()
178 public List<SplitPositionOption> getSplitPositionOptions(DeviceProfile dp) { in getSplitPositionOptions()
186 public void setSplitInstructionsParams(View out, DeviceProfile dp, int splitInstructionsHeight, in setSplitInstructionsParams()
267 int parentWidth, int parentHeight, SplitBounds splitBoundsConfig, DeviceProfile dp, in measureGroupedTaskViewThumbnailBounds()
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetsTableUtils.java58 List<WidgetItem> widgetItems, Context context, final DeviceProfile dp, in groupWidgetItemsUsingRowPxWithReordering()
90 List<WidgetItem> widgetItems, Context context, final DeviceProfile dp, in groupWidgetItemsUsingRowPxWithoutReordering()
/packages/apps/Launcher3/src/com/android/launcher3/
DHotseat.java77 DeviceProfile dp = mActivity.getDeviceProfile(); in resetLayout() local
151 DeviceProfile dp = mActivity.getDeviceProfile(); in onMeasure() local
162 DeviceProfile dp = mActivity.getDeviceProfile(); in onLayout() local
DDropTargetBar.java130 DeviceProfile dp = mLauncher.getDeviceProfile(); in setInsets() local
167 DeviceProfile dp = mLauncher.getDeviceProfile(); in onMeasure() local
247 DeviceProfile dp = mLauncher.getDeviceProfile(); in onLayout() local
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java100 boolean isOpening, View container, DeviceProfile dp) { in update()
131 boolean isOpening, float scale, float minSize, DeviceProfile dp) { in update()
204 boolean isOpening, DeviceProfile dp) { in setIcon()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsSlideInView.java100 DeviceProfile dp = mActivityContext.getDeviceProfile(); in onFinishInflate() local
141 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/apps/Dialer/java/com/android/dialer/common/
DDpUtil.java28 public static float dpToPx(Context context, float dp) { in dpToPx()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java195 DeviceProfile dp = mLauncher.getDeviceProfile(); in AllAppsTransitionController() local
213 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfoTest.java158 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans() local
181 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans() local
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/
Dedit_distance.h33 float dp[(beforeLength + 1) * (afterLength + 1)]; in getEditDistance() local
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DQuickSwitchState.java55 DeviceProfile dp = launcher.getDeviceProfile(); in getWorkspaceScrimColor() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java109 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(mContext) in SwipeUpGestureTutorialController() local
305 void initDp(DeviceProfile dp) { in initDp()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/displayinfo/
DDisplayInfoFragment.java131 float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT); in convertPixelsToDp() local
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarEduController.java70 DeviceProfile dp = overlayContext.getDeviceProfile(); in showEdu() local

1234