/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | ImeCleanUpTestRule.java | 66 final int screenHeight = mContainerView.getRootView().getHeight(); 70 int imeHeight = screenHeight - r.bottom; 73 if (imeHeight > screenHeight * 0.15) { 82 int imeHeight = screenHeight - r.bottom; 83 return imeHeight < screenHeight * 0.15;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | VideoSupportFragment.java | 89 int screenHeight = getView().getHeight(); in onVideoSizeChanged() local 92 if (screenWidth * height > width * screenHeight) { in onVideoSizeChanged() 94 p.height = screenHeight; in onVideoSizeChanged() 95 p.width = screenHeight * width / height; in onVideoSizeChanged()
|
D | VideoFragment.java | 92 int screenHeight = getView().getHeight(); in onVideoSizeChanged() local 95 if (screenWidth * height > width * screenHeight) { in onVideoSizeChanged() 97 p.height = screenHeight; in onVideoSizeChanged() 98 p.width = screenHeight * width / height; in onVideoSizeChanged()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderDrawable.java | 122 final int screenHeight = hardwareConfig.getScreenHeight(); in renderImage() local 127 h = screenHeight; in renderImage() 128 } else if (w > screenWidth || h > screenHeight) { in renderImage() 132 double scale = Math.min((double) screenWidth / w, (double) screenHeight / h); in renderImage()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | DetailsFragmentTest.java | 291 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView() in navigateBetweenRowsAndVideoUsingRequestFocusInternal() local 296 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); in navigateBetweenRowsAndVideoUsingRequestFocusInternal() 308 return firstRow.getTop() >= screenHeight; in navigateBetweenRowsAndVideoUsingRequestFocusInternal() 355 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView() 360 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 368 return firstRow.getTop() >= screenHeight; 426 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView() 431 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 439 return firstRow.getTop() >= screenHeight; 503 final int screenHeight = detailsFragment.getRowsFragment().getVerticalGridView() [all …]
|
D | DetailsSupportFragmentTest.java | 294 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView() in navigateBetweenRowsAndVideoUsingRequestFocusInternal() local 299 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); in navigateBetweenRowsAndVideoUsingRequestFocusInternal() 311 return firstRow.getTop() >= screenHeight; in navigateBetweenRowsAndVideoUsingRequestFocusInternal() 358 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView() 363 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 371 return firstRow.getTop() >= screenHeight; 429 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView() 434 assertTrue(firstRow.getTop() > 0 && firstRow.getTop() < screenHeight); 442 return firstRow.getTop() >= screenHeight; 506 final int screenHeight = detailsFragment.getRowsSupportFragment().getVerticalGridView() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | ScrollViewButtonsAndLabels.java | 66 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local 67 mNumGroups = screenHeight / 30; in onCreate()
|
D | RequestRectangleVisible.java | 50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local 51 int numLinesForScreen = screenHeight / 18; in onCreate()
|
D | ScrollViewButtonsAndLabelsTest.java | 182 int screenHeight = mScrollView.getHeight(); in findFirstButtonOffScreenTop2Bottom() local 190 if (buttonLoc[1] - origin[1] > screenHeight) { in findFirstButtonOffScreenTop2Bottom()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | BigCache.java | 47 final int screenHeight = display.getHeight(); in onCreate() local 52 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SystemGesturesPointerEventListener.java | 60 int screenHeight; field in SystemGesturesPointerEventListener 142 } else if (!mMouseHoveringAtEdge && event.getY() >= screenHeight - 1) { in onPointerEvent() 146 && (event.getY() > 0 && event.getY() < screenHeight - 1)) { in onPointerEvent() 226 if (fromY >= screenHeight - mSwipeStartThreshold in detectSwipe()
|
D | PhoneWindowManager.java | 4452 mRestrictedScreenHeight = mSystemGestures.screenHeight = mUnrestrictedScreenHeight; in beginLayoutLw()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ScrollViewScenario.java | 242 int screenHeight = getWindowManager().getDefaultDisplay().getHeight() in onCreate() local 255 height = (int) (viewFactory.getHeightRatio() * screenHeight); in onCreate()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AccessibilityController.java | 522 final int screenHeight = mTempPoint.y; in recomputeBoundsLocked() local 526 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBoundsLocked() 580 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked() 586 && accountedFrame.height() == screenHeight) { in recomputeBoundsLocked() 595 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, in recomputeBoundsLocked() 607 screenHeight - mDrawBorderInset); in recomputeBoundsLocked() 1049 final int screenHeight = mTempPoint.y; in computeChangedWindows() local 1052 unaccountedSpace.set(0, 0, screenWidth, screenHeight); in computeChangedWindows()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 521 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize() 545 out->screenHeight = h; in parseScreenSize() 948 if (screenHeight || o.screenHeight) return (!o.screenHeight); in HasHigherPrecedenceThan()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1872 screenHeight = dtohs(screenHeight); in copyFromDtoH() 1886 screenHeight = htods(screenHeight); in swapHtoD() 1975 if (screenHeight != o.screenHeight) { in compareLogical() 1976 return screenHeight < o.screenHeight ? -1 : 1; in compareLogical() 2200 if (screenHeight != o.screenHeight) { in isMoreSpecificThan() 2201 if (!screenHeight) return false; in isMoreSpecificThan() 2202 if (!o.screenHeight) return true; in isMoreSpecificThan() 2569 if (requested->screenHeight) { in isBetterThan() 2570 myDelta += requested->screenHeight - screenHeight; in isBetterThan() 2571 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 225 int screenHeight = activity.getWindowManager().getDefaultDisplay().getHeight(); in dragViewToBottom() local 235 float toY = screenHeight - 1; in dragViewToBottom()
|
/frameworks/base/tools/split-select/ |
D | Main.cpp | 112 outConfig->screenHeight = ResTable_config::SCREENHEIGHT_ANY; in removeRuntimeQualifiers()
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 760 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize() 784 out->screenHeight = h; in parseScreenSize()
|
D | ResourceTable.cpp | 3179 config.screenHeight, in flatten() 3224 tHeader->config.screenHeight, in flatten() 3959 config->screenHeight, in getEntry()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 676 jint screenWidth, jint screenHeight, in android_content_AssetManager_setConfiguration() argument 705 config.screenHeight = (uint16_t)screenHeight; in android_content_AssetManager_setConfiguration()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 790 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ResourceTypes.h | 1048 uint16_t screenHeight; member
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 5697 int screenHeight = getResources().getDisplayMetrics().heightPixels; in positionPopup() local 5702 final int bottomGap = screenHeight - xy[1] - getHeight() + (int) (mDensityScale * 20); in positionPopup()
|