Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java122 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/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabels.java66 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local
67 mNumGroups = screenHeight / 30; in onCreate()
DRequestRectangleVisible.java50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local
51 int numLinesForScreen = screenHeight / 18; in onCreate()
DScrollViewButtonsAndLabelsTest.java182 int screenHeight = mScrollView.getHeight(); in findFirstButtonOffScreenTop2Bottom() local
190 if (buttonLoc[1] - origin[1] > screenHeight) { in findFirstButtonOffScreenTop2Bottom()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java47 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/
DSystemGesturesPointerEventListener.java60 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()
DPhoneWindowManager.java3995 mRestrictedScreenHeight = mSystemGestures.screenHeight = mUnrestrictedScreenHeight; in beginLayoutLw()
/frameworks/base/core/tests/coretests/src/android/util/
DScrollViewScenario.java242 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/
DAccessibilityController.java486 final int screenHeight = mTempPoint.y; in recomputeBoundsLocked() local
490 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBoundsLocked()
543 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked()
549 && accountedFrame.height() == screenHeight) { in recomputeBoundsLocked()
558 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, in recomputeBoundsLocked()
570 screenHeight - mDrawBorderInset); in recomputeBoundsLocked()
1015 final int screenHeight = mTempPoint.y; in computeChangedWindows() local
1018 unaccountedSpace.set(0, 0, screenWidth, screenHeight); in computeChangedWindows()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1842 screenHeight = dtohs(screenHeight); in copyFromDtoH()
1856 screenHeight = htods(screenHeight); in swapHtoD()
1943 if (screenHeight != o.screenHeight) { in compareLogical()
1944 return screenHeight < o.screenHeight ? -1 : 1; in compareLogical()
2153 if (screenHeight != o.screenHeight) { in isMoreSpecificThan()
2154 if (!screenHeight) return false; in isMoreSpecificThan()
2155 if (!o.screenHeight) return true; in isMoreSpecificThan()
2482 if (requested->screenHeight) { in isBetterThan()
2483 myDelta += requested->screenHeight - screenHeight; in isBetterThan()
2484 otherDelta += requested->screenHeight - o.screenHeight; in isBetterThan()
[all …]
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java225 int screenHeight = activity.getWindowManager().getDefaultDisplay().getHeight(); in dragViewToBottom() local
235 float toY = screenHeight - 1; in dragViewToBottom()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp455 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize()
479 out->screenHeight = h; in parseScreenSize()
/frameworks/base/tools/aapt/
DAaptConfig.cpp694 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize()
718 out->screenHeight = h; in parseScreenSize()
DResourceTable.cpp3166 config.screenHeight, in flatten()
3211 tHeader->config.screenHeight, in flatten()
3946 config->screenHeight, in getEntry()
/frameworks/base/tools/split-select/
DMain.cpp112 outConfig->screenHeight = ResTable_config::SCREENHEIGHT_ANY; in removeRuntimeQualifiers()
/frameworks/base/docs/html/training/volley/
Drequest.jd215 final int screenHeight = displayMetrics.heightPixels;
217 final int screenBytes = screenWidth * screenHeight * 4;
/frameworks/base/core/java/android/content/res/
DAssetManager.java757 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp677 jint screenWidth, jint screenHeight, in android_content_AssetManager_setConfiguration() argument
706 config.screenHeight = (uint16_t)screenHeight; in android_content_AssetManager_setConfiguration()
/frameworks/base/include/androidfw/
DResourceTypes.h1049 uint16_t screenHeight; member
/frameworks/base/core/java/android/widget/
DAbsListView.java5658 int screenHeight = getResources().getDisplayMetrics().heightPixels; in positionPopup() local
5663 final int bottomGap = screenHeight - xy[1] - getHeight() + (int) (mDensityScale * 20); in positionPopup()