/packages/apps/DeskClock/src/com/android/alarmclock/ |
D | WidgetUtils.java | 59 float density = res.getDisplayMetrics().density; in getScaleRatio() 89 float density = res.getDisplayMetrics().density; in getHeightScaleRatio() 126 float density = res.getDisplayMetrics().density; in showList()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | InterestingConfigChanges.java | 29 boolean densityChanged = mLastDensity != res.getDisplayMetrics().densityDpi; in applyNewConfig() 32 mLastDensity = res.getDisplayMetrics().densityDpi; in applyNewConfig()
|
D | AppOpsCategory.java | 76 boolean densityChanged = mLastDensity != res.getDisplayMetrics().densityDpi; in applyNewConfig() 79 mLastDensity = res.getDisplayMetrics().densityDpi; in applyNewConfig()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | InterestingConfigChanges.java | 32 boolean densityChanged = mLastDensity != res.getDisplayMetrics().densityDpi; in applyNewConfig() 35 mLastDensity = res.getDisplayMetrics().densityDpi; in applyNewConfig()
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | OneCameraManager.java | 85 DisplayMetrics displayMetrics = getDisplayMetrics(activity); in create() 141 private static DisplayMetrics getDisplayMetrics(Context context) { in getDisplayMetrics() method in OneCameraManager
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 95 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick() 121 mSidePadding = (int) (getResources().getDisplayMetrics().density * TAB_SIDE_PADDING_IN_DPS); in ViewPagerTabs()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Utilities.java | 112 bitmapDrawable.setTargetDensity(context.getResources().getDisplayMetrics()); in createIconBitmap() 237 final DisplayMetrics metrics = resources.getDisplayMetrics(); in initStatics()
|
D | AppWidgetResizeFrame.java | 135 final float density = mLauncher.getResources().getDisplayMetrics().density; in AppWidgetResizeFrame() 353 final float density = launcher.getResources().getDisplayMetrics().density; in getWidgetSizeRanges()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AttachmentTile.java | 184 final int scaledWidth = width * getResources().getDisplayMetrics().densityDpi in setThumbnail() 186 final int scaledHeight = height * getResources().getDisplayMetrics().densityDpi in setThumbnail()
|
D | SwipeableListView.java | 91 float densityScale = getResources().getDisplayMetrics().density; in SwipeableListView() 101 float densityScale = getResources().getDisplayMetrics().density; in onConfigurationChanged()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | TextDecoratorUi.java | 68 hitAreaMarginInDP, resources.getDisplayMetrics()); in TextDecoratorUi() 69 final DisplayMetrics displayMetrics = resources.getDisplayMetrics(); in TextDecoratorUi()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 185 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardWidth() 190 final DisplayMetrics dm = res.getDisplayMetrics(); in getDefaultKeyboardHeight()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 164 DisplayMetrics dm = res.getDisplayMetrics(); in DeviceProfile() 303 DisplayMetrics dm = resources.getDisplayMetrics(); in getDeviceOrientation() 323 DisplayMetrics dm = resources.getDisplayMetrics(); in updateAvailableDimensions()
|
D | AppWidgetResizeFrame.java | 132 final float density = mLauncher.getResources().getDisplayMetrics().density; in AppWidgetResizeFrame() 350 final float density = launcher.getResources().getDisplayMetrics().density; in getWidgetSizeRanges()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 270 paint.density = context.getResources().getDisplayMetrics().density; in apply() 356 2, getResources().getDisplayMetrics()); in BatteryHistoryChart() 1125 mBitmap = Bitmap.createBitmap(getResources().getDisplayMetrics(), width, height, in buildBitmap()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | CaffeinatedScrollView.java | 50 mBottomSlop = (int)(4 * getResources().getDisplayMetrics().density); in setFullScrollAction()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | CenteredLinearLayout.java | 43 r.getDisplayMetrics()); in onMeasure()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | SmallerHitTargetTouchListener.java | 69 final float pixelDensity = v.getResources().getDisplayMetrics().density; in onTouch()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | InputSmoother.java | 46 mDensity = context.getResources().getDisplayMetrics().density; in InputSmoother()
|
/packages/apps/Mms/src/com/android/mms/layout/ |
D | HVGALayoutParameters.java | 50 float scale = context.getResources().getDisplayMetrics().density; in HVGALayoutParameters()
|
/packages/apps/Camera/src/com/android/camera/drawable/ |
D | TextDrawable.java | 46 DEFAULT_TEXTSIZE, res.getDisplayMetrics()); in TextDrawable()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | PresetPreference.java | 58 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem()
|
D | EdgeTypePreference.java | 61 final float density = getContext().getResources().getDisplayMetrics().density; in onBindListItem()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetConfigure.java | 55 DisplayMetrics display = getResources().getDisplayMetrics(); in onCreate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | BogusMoveEventDetector.java | 48 final int densityDpi = res.getDisplayMetrics().densityDpi; in init()
|