/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/Dialer/java/com/android/dialershared/bubble/ |
D | MoveHandler.java | 73 int displayWidth = context.getResources().getDisplayMetrics().widthPixels; 82 int displayWidth = context.getResources().getDisplayMetrics().widthPixels; 133 maxX = context.getResources().getDisplayMetrics().widthPixels - minX; in MoveHandler()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | DensityPreference.java | 53 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in getCurrentSwDp() 76 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in onDialogClosed()
|
/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/Camera2/src/com/android/camera/filmstrip/ |
D | FilmstripDataAdapter.java | 115 public void suggestViewSizeBound(int widthPixels, int heightPixels); in suggestViewSizeBound() argument
|
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/stream/ui/ |
D | ColumnCalculator.java | 48 sScreenWidth = displayMetrics.widthPixels; in getInstance()
|
/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/apps/Nfc/src/com/android/nfc/beam/ |
D | SendUi.java | 606 float[] dims = {mDisplayMetrics.widthPixels, mDisplayMetrics.heightPixels}; in createScreenshot() 638 Bitmap ss = Bitmap.createBitmap(mDisplayMetrics.widthPixels, in createScreenshot()
|
/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/Messaging/src/com/android/messaging/ui/ |
D | ViewPagerTabs.java | 94 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/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabs.java | 291 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | CarouselView.java | 420 return getDisplayMetrics(getContext()).widthPixels; in getDefaultWidth()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacUiService.java | 100 mScreenWidth = metrics.widthPixels; in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 92 int maxPixels = Math.max(metrics.heightPixels, metrics.widthPixels); in initializeThumbnailSizes()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaFragment.java | 146 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels; in onCreateView()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsRecyclerView.java | 161 getResources().getDisplayMetrics().widthPixels, View.MeasureSpec.AT_MOST); in preMeasureViews()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PicasaSource.java | 100 return Math.max(metrics.heightPixels, metrics.widthPixels); in getDisplayLongSide()
|
/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/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 178 return (int) Math.max(outMetrics.heightPixels, outMetrics.widthPixels); in getScreenImageSize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | TileImageView.java | 150 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()
|