Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/display/
DDensityPreference.java48 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/
DResourceUtils.java187 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/
DDisplay.java72 mDisplayMetrics.widthPixels = metrics.widthPixels; in onCreate()
/packages/apps/Camera2/src/com/android/camera/filmstrip/
DFilmstripDataAdapter.java115 public void suggestViewSizeBound(int widthPixels, int heightPixels); in suggestViewSizeBound() argument
/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/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/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarUiEntry.java394 int screenWidth = mAppContext.getResources().getDisplayMetrics().widthPixels; in setSearchBoxMode()
508 float width = resources.getDisplayMetrics().widthPixels;
/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/Contacts/src/com/android/contacts/editor/
DCompactPhotoEditorView.java176 return displayMetrics.widthPixels; in getContentViewWidth()
DCompactPhotoSelectionFragment.java315 final float numColumns = outMetrics.widthPixels / in onCreateView()
/packages/apps/Messaging/src/com/android/messaging/ui/
DViewPagerTabs.java94 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; in onLongClick()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DSetupLayoutActivity.java198 return metrics.widthPixels; in getScreenWidth()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java597 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/
DViewPagerTabs.java107 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/Calendar/src/com/android/calendar/agenda/
DAgendaFragment.java146 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels; in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java92 int maxPixels = Math.max(metrics.heightPixels, metrics.widthPixels); in initializeThumbnailSizes()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPicasaSource.java100 return Math.max(metrics.heightPixels, metrics.widthPixels); in getDisplayLongSide()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java299 getResources().getDisplayMetrics().widthPixels, MeasureSpec.AT_MOST); in onFinishInflate()
/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/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java171 return metrics.heightPixels > 2048 || metrics.widthPixels > 2048; in isHighResolution()

12