/packages/apps/Settings/src/com/android/settings/display/ |
D | DensityPreference.java | 48 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in getCurrentSwDp() 71 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in onDialogClosed()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ResourceUtils.java | 187 return dm.widthPixels; in getDefaultKeyboardWidth() 217 R.fraction.config_min_keyboard_height, dm.widthPixels, dm.widthPixels); in getDefaultKeyboardHeight()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Display.java | 72 mDisplayMetrics.widthPixels = metrics.widthPixels; in onCreate()
|
/packages/apps/Camera2/src/com/android/camera/filmstrip/ |
D | FilmstripDataAdapter.java | 115 public void suggestViewSizeBound(int widthPixels, int heightPixels); in suggestViewSizeBound() argument
|
/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraDeviceReport.java | 384 Log.v(TAG, "screen width pixels = " + metrics.widthPixels); in printDisplayInfo() 388 Log.v(TAG, "real screen width pixels = " + metrics.widthPixels); in printDisplayInfo()
|
D | DevCameraActivity.java | 299 return metrics.widthPixels; in displayWidth()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | PhotoAppWidgetConfigure.java | 56 int maxDimension = Math.max(display.heightPixels, display.widthPixels); in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 111 sMaxSize = Math.max(metrics.heightPixels, metrics.widthPixels); in configureForContext()
|
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | CarUiEntry.java | 394 int screenWidth = mAppContext.getResources().getDisplayMetrics().widthPixels; in setSearchBoxMode() 508 float width = resources.getDisplayMetrics().widthPixels;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | GestureFloatingTextDrawingPreview.java | 77 mDisplayWidth = mainKeyboardViewAttr.getResources().getDisplayMetrics().widthPixels; in GesturePreviewTextParams()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorPickerDialog.java | 52 int width = metrics.widthPixels*8/10; in ColorPickerDialog()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | CompactPhotoEditorView.java | 176 return displayMetrics.widthPixels; in getContentViewWidth()
|
D | CompactPhotoSelectionFragment.java | 315 final float numColumns = outMetrics.widthPixels / in onCreateView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabs.java | 94 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | SetupLayoutActivity.java | 198 return metrics.widthPixels; in getScreenWidth()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 597 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; in createScreenshot() 629 Bitmap ss = Bitmap.createBitmap(mDisplayMetrics.widthPixels, in createScreenshot()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 107 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 977 screenWidth = displayMetrics.widthPixels; in chooseBestPictureSize() 981 screenHeight = displayMetrics.widthPixels; in chooseBestPictureSize()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaFragment.java | 146 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels; in onCreateView()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 92 int maxPixels = Math.max(metrics.heightPixels, metrics.widthPixels); in initializeThumbnailSizes()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 100 return Math.max(metrics.heightPixels, metrics.widthPixels); in getDisplayLongSide()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 299 getResources().getDisplayMetrics().widthPixels, MeasureSpec.AT_MOST); in onFinishInflate()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | Keyboard.java | 535 mDisplayWidth = dm.widthPixels; in Keyboard()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 170 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 171 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()
|