Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java42 public static void calculateLauncherTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateLauncherTaskSize()
52 public static void calculateFallbackTaskSize(Context context, DeviceProfile dp, Rect outRect) { in calculateFallbackTaskSize()
57 public static void calculateTaskSize(Context context, DeviceProfile dp, in calculateTaskSize()
116 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.java84 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
126 final DeviceProfile dp = activity.getDeviceProfile(); in prepareHomeUI() local
DFallbackActivityControllerHelper.java62 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
DRecentsActivity.java94 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile() local
DWindowTransformSwipeHandler.java312 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(mContext).getDeviceProfile(mContext); in WindowTransformSwipeHandler() local
384 private void initTransitionEndpoints(DeviceProfile dp) { in initTransitionEndpoints()
770 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(mContext).getDeviceProfile(mContext); in onRecentsAnimationStart() local
1036 DeviceProfile dp = mDp; in doLogGesture() local
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DFallbackRecentsView.java91 protected void getTaskSize(DeviceProfile dp, Rect outRect) { in getTaskSize()
92 LayoutUtils.calculateFallbackTaskSize(getContext(), dp, outRect); in getTaskSize() local
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/
DRecentsUiFactory.java89 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
/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/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DLauncherRecentsView.java143 protected void getTaskSize(DeviceProfile dp, Rect outRect) { in getTaskSize()
144 LayoutUtils.calculateLauncherTaskSize(getContext(), dp, outRect); in getTaskSize() local
/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/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java127 DeviceProfile dp = mLauncher.getDeviceProfile(); in canInterceptTouch() local
DPortraitStatesTouchController.java299 DeviceProfile dp = launcher.getDeviceProfile(); in isTouchOverHotseat() local
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DBaseRecentsActivity.java104 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile() local
/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/ManagedProvisioning/src/com/android/managedprovisioning/common/
DTouchTargetEnforcer.java123 private float dpToPx(int dp) { in dpToPx()
/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.java102 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DShelfScrimView.java144 DeviceProfile dp = mLauncher.getDeviceProfile(); in reInitUi() local
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/
DUiFactory.java79 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()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAppsSearchContainerLayout.java112 DeviceProfile dp = mLauncher.getDeviceProfile(); in onMeasure() local

12