Searched refs:screenHeight (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | BugleActionBarActivity.java | 129 int screenHeight = getResources().getDisplayMetrics().heightPixels; in onDisplayHeightChanged() local 131 if (screenHeight != mLastScreenHeight) { in onDisplayHeightChanged() 133 mLastScreenHeight = screenHeight; in onDisplayHeightChanged() 135 " screenHeight: " + screenHeight + " lastScreenHeight: " + mLastScreenHeight + in onDisplayHeightChanged() 141 screenHeight -= actionBar.getHeight(); in onDisplayHeightChanged() 146 mImeOpen = screenHeight - height > 100; in onDisplayHeightChanged() 151 screenHeight + " height: " + height); in onDisplayHeightChanged()
|
D | SnackBarManager.java | 341 final int screenHeight = displayMetrics.heightPixels; in getScreenBottomOffset() local 348 return screenHeight - displayRect.bottom; in getScreenBottomOffset()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/ |
D | ConfirmationViewHandler.java | 264 final int screenHeight = mRoot.getHeight(); in showButtonBar() local 265 final int halfScreenHeight = screenHeight / 2; in showButtonBar() 272 Log.d(TAG, " screenHeight: " + screenHeight); in showButtonBar() 282 if (contentHeight > (screenHeight - buttonBarHeight) in showButtonBar() 300 final int screenHeight = mRoot.getHeight(); in hideButtonBar() local 303 final int offset = screenHeight + buttonBarHeight in hideButtonBar() 311 Log.d(TAG, " screenHeight: " + screenHeight); in hideButtonBar()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraManager.java | 966 int screenHeight; in chooseBestPictureSize() local 978 screenHeight = displayMetrics.heightPixels; in chooseBestPictureSize() 981 screenHeight = displayMetrics.widthPixels; in chooseBestPictureSize() 989 final float scaleFactor = getScaleFactorForMaxAllowedSize(screenWidth, screenHeight, in chooseBestPictureSize() 992 screenHeight *= scaleFactor; in chooseBestPictureSize() 996 screenWidth / (float) screenHeight); in chooseBestPictureSize()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGuide.java | 381 int screenHeight = mContainer.getHeight(); in updateGuidePosition() local 382 if (screenHeight <= 0) { in updateGuidePosition() 392 if (tableHeight > screenHeight) { in updateGuidePosition()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TunableTvView.java | 409 public void initialize(AppLayerTvView tvView, boolean isPip, int screenHeight, in initialize() argument 413 mScreenHeight = screenHeight; in initialize()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 499 int screenHeight = size.y; in onCreate() local 508 mTvView.initialize((AppLayerTvView) findViewById(R.id.main_tv_view), false, screenHeight, in onCreate() local 554 mPipView.initialize((AppLayerTvView) findViewById(R.id.pip_tv_view), true, screenHeight, in onCreate() local 566 mPipView.setFixedSurfaceSize(screenWidth / 2, screenHeight / 2); in onCreate()
|