Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/
DDeviceProfileDumpTest.kt37 val dp = getDeviceProfileForGrid("5_by_5") in phonePortrait3Button() constant
174 val dp = getDeviceProfileForGrid("5_by_5") in phonePortrait() constant
311 val dp = getDeviceProfileForGrid("5_by_5") in phoneVerticalBar3Button() constant
448 val dp = getDeviceProfileForGrid("5_by_5") in phoneVerticalBar() constant
585 val dp = getDeviceProfileForGrid("6_by_5") in tabletLandscape3Button() constant
723 val dp = getDeviceProfileForGrid("6_by_5") in tabletLandscape() constant
861 val dp = getDeviceProfileForGrid("6_by_5") in tabletPortrait3Button() constant
999 val dp = getDeviceProfileForGrid("6_by_5") in tabletPortrait() constant
1142 val dp = getDeviceProfileForGrid("4_by_4") in twoPanelLandscape3Button() constant
1284 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
171 val dp = newDP() in border_space_should_be_zero_when_numHotseatIcons_is_smallerOrEqual_1() 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.kt56 val dp = newDP() in setStartProgress_correctCornerRadiusForTablet() constant
91 val dp = newDP() in setFullProgress_correctCornerRadiusForTablet() constant
126 val dp = newDP() in setStartProgress_correctCornerRadiusForPhone() constant
161 val dp = newDP() in setFullProgress_correctCornerRadiusForPhone() constant
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java418 DataProfile dp = buildImsDataProfile(); in testOnLinkPropertiesChangedForBringingUpIkeSession() local
584 DataProfile dp = buildImsDataProfile(); in testRequestDataCallListPass() local
678 DataProfile dp = buildImsDataProfile(); in testIwlanSetupDataCallWithIllegalState() local
717 DataProfile dp = buildImsDataProfile(); in testIwlanSetupDataCallWithBringUpTunnel() local
756 DataProfile dp = buildImsDataProfile(); in testSliceInfoInclusionInDataCallResponse() local
803 DataProfile dp = buildImsDataProfile(); in testIwlanDeactivateDataCallWithCloseTunnel() local
840 DataProfile dp = buildImsDataProfile(); in testIwlanDeactivateDataCallAfterSuccessHandover() local
877 DataProfile dp = buildImsDataProfile(); in testHandoverFailureModeDefault() local
927 DataProfile dp = buildImsDataProfile(); in testHandoverFailureModeHandover() local
979 DataProfile dp = buildImsDataProfile(); in testSupportInitialAttachSuccessOnIms() local
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarThresholdUtils.java40 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()
/packages/services/Telephony/tests/src/com/android/phone/
DDiagnosticDataCollectorTest.java97 TelephonyManager.EmergencyCallDiagnosticParams dp = in testPersistForTelecomDumpsys() local
107 TelephonyManager.EmergencyCallDiagnosticParams dp = in testPersistForTelephonyDumpsys() local
117 TelephonyManager.EmergencyCallDiagnosticParams dp = in testPersistForLogcat() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseActivityInterface.java133 DeviceProfile dp, Context context, Rect outRect, in getSwipeUpDestinationAndLength()
239 public final void calculateTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateTaskSize()
263 private void calculateFocusTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateFocusTaskSize()
271 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, int claimedSpaceAbove, in calculateTaskSizeInternal()
287 private void calculateTaskSizeInternal(Context context, DeviceProfile dp, in calculateTaskSizeInternal()
301 private static PointF getTaskDimension(Context context, DeviceProfile dp) { in getTaskDimension()
310 public static void getTaskDimension(Context context, DeviceProfile dp, PointF out) { in getTaskDimension()
321 public final void calculateGridSize(DeviceProfile dp, Rect outRect) { in calculateGridSize()
335 public final void calculateGridTaskSize(Context context, DeviceProfile dp, Rect outRect, in calculateGridTaskSize()
361 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.java151 RecentsOrientedState recentsOrientedState, DeviceProfile dp, SCALE scaleTarget, in createForRecents()
185 RecentsOrientedState recentsOrientedState, DeviceProfile dp) { in getAllAppsThreshold()
281 public final DeviceProfile dp; field in AnimatorControllerWithResistance.RecentsParams
294 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()
611 DeviceProfile dp, boolean isRtl) { in measureGroupedTaskViewThumbnailBounds()
788 @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/tests/src/com/android/launcher3/celllayout/
DReorderAlgorithmUnitTest.java86 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(c).getDeviceProfile(c).copy(c); in createCellLayout() local
100 private Context getWrappedContext(Context context, DeviceProfile dp) { in getWrappedContext()
/packages/apps/Launcher3/tests/src/com/android/launcher3/widget/
DLauncherAppWidgetProviderInfoTest.java159 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndWidgetInset_shouldInitializeMinSpans() local
181 DeviceProfile dp = idp.supportedProfiles.get(0); in initSpans_minResizeWidthWithCellSpacingAndNoWidgetInset_shouldInitializeMinSpans() local
259 DeviceProfile dp = LauncherAppState.getIDP(mContext) in createIDP() local
/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.java119 DeviceProfile dp = mLauncher.getDeviceProfile(); in setInsets() local
157 DeviceProfile dp = mLauncher.getDeviceProfile(); in onMeasure() local
237 DeviceProfile dp = mLauncher.getDeviceProfile(); in onLayout() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DTaskbarUnstashInputConsumer.java292 DeviceProfile dp = mTaskbarActivityContext.getDeviceProfile(); in updateHoveredTaskbarState() local
310 DeviceProfile dp = mTaskbarActivityContext.getDeviceProfile(); in updateUnhoveredTaskbarState() local
337 DeviceProfile dp = mTaskbarActivityContext.getDeviceProfile(); in isStashedTaskbarHovered() 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/services/Telecomm/tests/src/com/android/server/telecom/tests/
DEmergencyCallDiagnosticLoggerTest.java242 EmergencyCallDiagnosticParams dp = captor.getValue(); in testStuckEmergencyCall() local
270 TelephonyManager.EmergencyCallDiagnosticParams dp = captor.getValue(); in testEmergencyCallNeverWentActiveWithNonLocalDisconnectCause() local
/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.java198 DeviceProfile dp = mLauncher.getDeviceProfile(); in AllAppsTransitionController() local
216 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DCombinatoricsTest.java304 Map<List<Integer>, Integer> dp = new HashMap<>(); in getSingleRandomSelectReportSet_checkNoDuplication_success() local
330 Map<List<Integer>, Integer> dp = new HashMap<>(); in getSingleRandomSelectReportSet_checkReportSetsMeetRequirement_success() local

1234