Home
last modified time | relevance | path

Searched refs:heightPixels (Results 1 – 25 of 32) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DResourceUtils.java210 R.fraction.config_max_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight()
212 R.fraction.config_min_keyboard_height, dm.heightPixels, dm.heightPixels); in getDefaultKeyboardHeight()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DPreviewPager.java94 mScreenAspectRatio = dm.heightPixels > dm.widthPixels in PreviewPager()
95 ? (float) dm.heightPixels / dm.widthPixels in PreviewPager()
96 : (float) dm.widthPixels / dm.heightPixels; in PreviewPager()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DDensityPreference.java54 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in getCurrentSwDp()
78 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in onDialogClosed()
/packages/apps/Settings/src/com/android/settings/display/
DDensityPreference.java54 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in getCurrentSwDp()
78 final int minDimensionPx = Math.min(metrics.widthPixels, metrics.heightPixels); in onDialogClosed()
/packages/apps/Messaging/src/com/android/messaging/ui/
DBugleActionBarActivity.java68 mLastScreenHeight = getResources().getDisplayMetrics().heightPixels; in onCreate()
129 int screenHeight = getResources().getDisplayMetrics().heightPixels; in onDisplayHeightChanged()
DSnackBarManager.java362 final int screenHeight = displayMetrics.heightPixels; in getScreenBottomOffset()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java108 mScreenBottom = mDisplayMetrics.heightPixels; in onCreate()
131 boolean sysUIShowing = (mDisplayMetrics.heightPixels != bottom); in onCreate()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java613 mDisplayMetrics.heightPixels); in createScreenshot()
623 mDisplayMetrics.heightPixels); in createScreenshot()
624 if (mDisplayMetrics.widthPixels < mDisplayMetrics.heightPixels) { in createScreenshot()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java385 Log.v(TAG, "screen height pixels = " + metrics.heightPixels); in printDisplayInfo()
389 Log.v(TAG, "real screen height pixels = " + metrics.heightPixels); in printDisplayInfo()
DDevCameraActivity.java305 return metrics.heightPixels; in displayHeight()
/packages/apps/Dialer/java/com/android/incallui/
DReturnToCallController.java298 ? context.getResources().getDisplayMetrics().heightPixels / 2 in generateBubbleInfo()
310 .setStartingYPosition(context.getResources().getDisplayMetrics().heightPixels / 2) in generateBubbleInfoForBackgroundCalling()
/packages/apps/Camera2/src/com/android/camera/filmstrip/
DFilmstripDataAdapter.java115 public void suggestViewSizeBound(int widthPixels, int heightPixels); in suggestViewSizeBound() argument
/packages/apps/Gallery/src/com/android/camera/
DPhotoAppWidgetConfigure.java56 int maxDimension = Math.max(display.heightPixels, display.widthPixels); in onCreate()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DHumanInteractionClassifier.java44 classifierData = new ClassifierData(dpi, displayMetrics.heightPixels); in HumanInteractionClassifier()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java111 sMaxSize = Math.max(metrics.heightPixels, metrics.widthPixels); in configureForContext()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
DColorPickerDialog.java51 int height = metrics.heightPixels*8/10; in ColorPickerDialog()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java65 final int screenHeight = getResources().getDisplayMetrics().heightPixels; in onCreateView()
DDefaultContactBrowseListFragment.java438 final int screenHeight = getResources().getDisplayMetrics().heightPixels; in getEmptyHomeView()
457 final int height = getResources().getDisplayMetrics().heightPixels; in getEmptyAccountView()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java979 screenHeight = displayMetrics.heightPixels; in chooseBestPictureSize()
981 screenWidth = displayMetrics.heightPixels; in chooseBestPictureSize()
DMediaPickerPanel.java204 int fullHeight = getContext().getResources().getDisplayMetrics().heightPixels; in getDesiredHeight()
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/
DGridFragment.java119 mScreenAspectRatio = (float) dm.heightPixels / dm.widthPixels; in onCreateView()
/packages/services/BuiltInPrintService/src/com/android/bips/
DImagePrintActivity.java244 mDisplayMetrics.heightPixels * 1000 / mediaSize.getHeightMils()); in onLayout()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java166 int h = mActivity.getResources().getDisplayMetrics().heightPixels; in createView()
/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()

12