Home
last modified time | relevance | path

Searched refs:screenHeight (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DBugleActionBarActivity.java129 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()
DSnackBarManager.java362 final int screenHeight = displayMetrics.heightPixels; in getScreenBottomOffset() local
369 return screenHeight - displayRect.bottom; in getScreenBottomOffset()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DClassifierData.java32 private final float screenHeight; field in ClassifierData
34 public ClassifierData(float dpi, float screenHeight) { in ClassifierData() argument
36 this.screenHeight = screenHeight / dpi; in ClassifierData()
94 return screenHeight; in getScreenHeight()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java967 int screenHeight; in chooseBestPictureSize() local
979 screenHeight = displayMetrics.heightPixels; in chooseBestPictureSize()
982 screenHeight = displayMetrics.widthPixels; in chooseBestPictureSize()
990 final float scaleFactor = getScaleFactorForMaxAllowedSize(screenWidth, screenHeight, in chooseBestPictureSize()
993 screenHeight *= scaleFactor; in chooseBestPictureSize()
997 screenWidth / (float) screenHeight); in chooseBestPictureSize()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsUnavailableFragment.java65 final int screenHeight = getResources().getDisplayMetrics().heightPixels; in onCreateView() local
67 screenHeight / getResources() in onCreateView()
DDefaultContactBrowseListFragment.java438 final int screenHeight = getResources().getDisplayMetrics().heightPixels; in getEmptyHomeView() local
439 final int marginTop = screenHeight / 2 - in getEmptyHomeView()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGuide.java746 int screenHeight = mContainer.getHeight(); in updateGuidePosition() local
747 if (screenHeight <= 0) { in updateGuidePosition()
760 if (tableHeight > screenHeight) { in updateGuidePosition()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java764 final int screenHeight = getResources().getDisplayMetrics().heightPixels; in inflateView() local
765 params.setMargins(0, screenHeight / in inflateView()