Home
last modified time | relevance | path

Searched refs:widthPixels (Results 1 – 25 of 31) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java187 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/
DMoveHandler.java73 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/
DDensityPreference.java53 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/
DCameraDeviceReport.java384 Log.v(TAG, "screen width pixels = " + metrics.widthPixels); in printDisplayInfo()
388 Log.v(TAG, "real screen width pixels = " + metrics.widthPixels); in printDisplayInfo()
DDevCameraActivity.java299 return metrics.widthPixels; in displayWidth()
/packages/apps/Camera2/src/com/android/camera/filmstrip/
DFilmstripDataAdapter.java115 public void suggestViewSizeBound(int widthPixels, int heightPixels); in suggestViewSizeBound() argument
/packages/apps/Car/libs/car-stream-ui-lib/src/com/android/car/stream/ui/
DColumnCalculator.java48 sScreenWidth = displayMetrics.widthPixels; in getInstance()
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetConfigure.java56 int maxDimension = Math.max(display.heightPixels, display.widthPixels); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java111 sMaxSize = Math.max(metrics.heightPixels, metrics.widthPixels); in configureForContext()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java606 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/
DGestureFloatingTextDrawingPreview.java77 mDisplayWidth = mainKeyboardViewAttr.getResources().getDisplayMetrics().widthPixels; in GesturePreviewTextParams()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorPickerDialog.java52 int width = metrics.widthPixels*8/10; in ColorPickerDialog()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java94 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java977 screenWidth = displayMetrics.widthPixels; in chooseBestPictureSize()
981 screenHeight = displayMetrics.widthPixels; in chooseBestPictureSize()
/packages/apps/Dialer/java/com/android/contacts/common/list/
DViewPagerTabs.java291 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick()
/packages/apps/Car/Radio/src/com/android/car/radio/
DCarouselView.java420 return getDisplayMetrics(getContext()).widthPixels; in getDefaultWidth()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java100 mScreenWidth = metrics.widthPixels; in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java92 int maxPixels = Math.max(metrics.heightPixels, metrics.widthPixels); in initializeThumbnailSizes()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaFragment.java146 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels; in onCreateView()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsRecyclerView.java161 getResources().getDisplayMetrics().widthPixels, View.MeasureSpec.AT_MOST); in preMeasureViews()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java100 return Math.max(metrics.heightPixels, metrics.widthPixels); in getDisplayLongSide()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java535 mDisplayWidth = dm.widthPixels; in Keyboard()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java170 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java178 return (int) Math.max(outMetrics.heightPixels, outMetrics.widthPixels); in getScreenImageSize()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java150 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()

12