| /packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
| D | LayoutUtils.java | 42 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/ |
| D | DpUtil.java | 28 public static float dpToPx(Context context, float dp) { in dpToPx()
|
| /packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
| D | LauncherActivityControllerHelper.java | 84 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength() 126 final DeviceProfile dp = activity.getDeviceProfile(); in prepareHomeUI() local
|
| D | FallbackActivityControllerHelper.java | 62 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
|
| D | RecentsActivity.java | 94 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile() local
|
| D | WindowTransformSwipeHandler.java | 312 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/ |
| D | FallbackRecentsView.java | 91 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/ |
| D | RecentsUiFactory.java | 89 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
|
| /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/utils/ |
| D | edit_distance.h | 33 float dp[(beforeLength + 1) * (afterLength + 1)]; in getEditDistance() local
|
| /packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/ |
| D | GoActivityControlHelper.java | 25 public int getSwipeUpDestinationAndLength(DeviceProfile dp, Context context, Rect outRect) { in getSwipeUpDestinationAndLength()
|
| /packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
| D | LauncherRecentsView.java | 143 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/ |
| D | DisplayInfoFragment.java | 122 float dp = px / ((float) metrics.densityDpi / DisplayMetrics.DENSITY_DEFAULT); in convertPixelsToDp() local
|
| /packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/ |
| D | RecentsUiFactory.java | 137 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
|
| /packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
| D | StatusBarTouchController.java | 127 DeviceProfile dp = mLauncher.getDeviceProfile(); in canInterceptTouch() local
|
| D | PortraitStatesTouchController.java | 299 DeviceProfile dp = launcher.getDeviceProfile(); in isTouchOverHotseat() local
|
| /packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
| D | BaseRecentsActivity.java | 104 DeviceProfile dp = InvariantDeviceProfile.INSTANCE.get(this).getDeviceProfile(this); in createDeviceProfile() local
|
| /packages/apps/Launcher3/src/com/android/launcher3/touch/ |
| D | WorkspaceTouchListener.java | 92 DeviceProfile dp = mLauncher.getDeviceProfile(); in onTouch() local
|
| /packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
| D | LivePreviewWidgetCell.java | 61 DeviceProfile dp = activity.getDeviceProfile(); in generateFromRemoteViews() local
|
| /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
| D | TouchTargetEnforcer.java | 123 private float dpToPx(int dp) { in dpToPx()
|
| /packages/apps/Launcher3/src/com/android/launcher3/widget/ |
| D | PendingItemDragHelper.java | 125 DeviceProfile dp = launcher.getDeviceProfile(); in startDrag() local
|
| /packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
| D | AllAppsTransitionController.java | 102 public void onDeviceProfileChanged(DeviceProfile dp) { in onDeviceProfileChanged()
|
| /packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
| D | ShelfScrimView.java | 144 DeviceProfile dp = mLauncher.getDeviceProfile(); in reInitUi() local
|
| /packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/ |
| D | UiFactory.java | 79 public static RotationMode getRotationMode(DeviceProfile dp) { in getRotationMode()
|
| /packages/apps/Gallery2/src/com/android/gallery3d/util/ |
| D | GalleryUtils.java | 108 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/ |
| D | AppsSearchContainerLayout.java | 112 DeviceProfile dp = mLauncher.getDeviceProfile(); in onMeasure() local
|