Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java45 public static float getDefaultSwipeHeight(Context context, DeviceProfile dp) { in getDefaultSwipeHeight()
53 public static void calculateLauncherTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateLauncherTaskSize()
67 public static void calculateFallbackTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateFallbackTaskSize()
72 public static void calculateTaskSize(Context context, DeviceProfile dp, in calculateTaskSize()
131 public static int getShelfTrackingDistance(Context context, DeviceProfile dp) { in getShelfTrackingDistance()
/packages/apps/Dialer/java/com/android/dialer/common/
DDpUtil.java28 public static float dpToPx(Context context, float dp) { in dpToPx()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DLauncherActivityControllerHelper.java81 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
123 final DeviceProfile dp = activity.getDeviceProfile(); in prepareHomeUI() local
DFallbackActivityControllerHelper.java62 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
DBaseSwipeUpHandler.java242 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(mContext).getDeviceProfile(mContext); in onRecentsAnimationStart() local
268 private Rect getStackBounds(DeviceProfile dp) { in getStackBounds()
280 protected void initTransitionEndpoints(DeviceProfile dp) { in initTransitionEndpoints()
DRecentsActivity.java117 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile() local
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java89 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DFallbackRecentsView.java104 protected void getTaskSize(DeviceProfile dp, Rect outRect) { in getTaskSize()
105 LayoutUtils.calculateFallbackTaskSize(getContext(), dp, outRect); in getTaskSize() 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/go/quickstep/src/com/android/quickstep/
DGoActivityControlHelper.java25 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/displayinfo/
DDisplayInfoFragment.java122 float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT); in convertPixelsToDp() local
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java137 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseRecentsActivity.java104 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile() local
DActivityControlHelper.java53 int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect); in getSwipeUpDestinationAndLength()
147 static RectF getDefaultWindowTargetRect(DeviceProfile dp) { in getDefaultWindowTargetRect()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java92 DeviceProfile dp = mLauncher.getDeviceProfile(); in onTouch() local
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DLivePreviewWidgetCell.java61 DeviceProfile dp = activity.getDeviceProfile(); in generateFromRemoteViews() local
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java168 protected void getTaskSize(DeviceProfile dp, Rect outRect) { in getTaskSize()
169 LayoutUtils.calculateLauncherTaskSize(getContext(), dp, outRect); in getTaskSize() local
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java168 DeviceProfile dp = mLauncher.getDeviceProfile(); in canInterceptTouch() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DTouchTargetEnforcer.java123 private float dpToPx(int dp) { in dpToPx()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java95 DeviceProfile dp = launcher.getDeviceProfile(); in getHotseatScaleAndTranslation() local
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DPendingItemDragHelper.java125 DeviceProfile dp = launcher.getDeviceProfile(); in startDrag() local
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsTransitionController.java99 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java151 DeviceProfile dp = mLauncher.getDeviceProfile(); in reInitUi() local
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DUiFactory.java82 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java108 public static float dpToPixel(float dp) { in dpToPixel()
112 public static int dpToPixel(int dp) { in dpToPixel()

12