Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPerimeterPathGuide.java86 int edgeInset, int screenWidth, int screenHeight) { in PerimeterPathGuide() argument
89 mDeviceHeightPx = screenHeight; in PerimeterPathGuide()
206 int screenHeight = mDeviceHeightPx; in computeRegions() local
226 screenHeight = mDeviceWidthPx; in computeRegions()
257 bottomPath.moveTo(getPhysicalCornerRadius(screenBottomLeft), screenHeight - mEdgeInset); in computeRegions()
259 screenHeight - mEdgeInset); in computeRegions()
269 screenHeight - getPhysicalCornerRadius(screenBottomRight)); in computeRegions()
276 leftPath.lineTo(mEdgeInset, screenHeight - getPhysicalCornerRadius(screenBottomLeft)); in computeRegions()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java125 int screenHeight = hardwareConfig.getScreenHeight(); in renderImage() local
130 h = screenHeight; in renderImage()
131 } else if (w > screenWidth || h > screenHeight) { in renderImage()
135 double scale = Math.min((double) screenWidth / w, (double) screenHeight / h); in renderImage()
/frameworks/base/core/tests/coretests/src/android/view/
DBigCache.java43 final int screenHeight = display.getHeight(); in onCreate() local
48 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabels.java65 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local
66 mNumGroups = screenHeight / 30; in onCreate()
DRequestRectangleVisible.java50 int screenHeight = getWindowManager().getDefaultDisplay().getHeight(); in onCreate() local
51 int numLinesForScreen = screenHeight / 18; in onCreate()
DScrollViewButtonsAndLabelsTest.java183 int screenHeight = mScrollView.getHeight(); in findFirstButtonOffScreenTop2Bottom() local
191 if (buttonLoc[1] - origin[1] > screenHeight) { in findFirstButtonOffScreenTop2Bottom()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java52 private RemoteHardwareConfig(int screenWidth, int screenHeight, Density density, float xdpi, in RemoteHardwareConfig() argument
56 mScreenHeight = screenHeight; in RemoteHardwareConfig()
/frameworks/base/services/core/java/com/android/server/wm/
DSystemGesturesPointerEventListener.java65 int screenHeight; field in SystemGesturesPointerEventListener
175 } else if (!mMouseHoveringAtEdge && event.getY() >= screenHeight - 1) { in onPointerEvent()
179 && (event.getY() > 0 && event.getY() < screenHeight - 1)) { in onPointerEvent()
263 if (fromY >= screenHeight - mSwipeStartThreshold in detectSwipe()
DAccessibilityController.java555 final int screenHeight = mTempPoint.y; in recomputeBoundsLocked() local
559 availableBounds.set(0, 0, screenWidth, screenHeight); in recomputeBoundsLocked()
621 accountedBounds.op(0, 0, screenWidth, screenHeight, Region.Op.INTERSECT); in recomputeBoundsLocked()
627 && accountedFrame.height() == screenHeight) { in recomputeBoundsLocked()
636 screenWidth - mDrawBorderInset, screenHeight - mDrawBorderInset, in recomputeBoundsLocked()
648 screenHeight - mDrawBorderInset); in recomputeBoundsLocked()
677 final int screenHeight = mTempPoint.y; in getLetterboxBounds() local
680 nonLetterboxRect.set(0, 0, screenWidth, screenHeight); in getLetterboxBounds()
682 letterboxBounds.set(0, 0, screenWidth, screenHeight); in getLetterboxBounds()
1120 final int screenHeight = mTempPoint.y; in computeChangedWindows() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java490 int screenHeight; in updatePaddingAndGravityIfTooTall() local
500 screenHeight = getMeasuredWidth(); in updatePaddingAndGravityIfTooTall()
507 screenHeight = getMeasuredWidth(); in updatePaddingAndGravityIfTooTall()
514 screenHeight = getMeasuredHeight(); in updatePaddingAndGravityIfTooTall()
519 if (totalHeight >= screenHeight) { in updatePaddingAndGravityIfTooTall()
/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/tools/aapt2/test/
DBuilders.h267 ConfigDescriptionBuilder& setScreenHeight(uint16_t screenHeight) { in setScreenHeight() argument
268 config_.screenHeight = screenHeight; in setScreenHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java267 int screenHeight = metrics.heightPixels; in startRecording() local
269 mMediaRecorder.setVideoSize(screenWidth, screenHeight); in startRecording()
289 screenHeight, in startRecording()
/frameworks/base/libs/androidfw/
DConfigDescription.cpp515 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize()
539 out->screenHeight = h; in parseScreenSize()
953 if (screenHeight || o.screenHeight) return (!o.screenHeight); in HasHigherPrecedenceThan()
DResourceTypes.cpp1917 screenHeight = dtohs(screenHeight); in copyFromDtoH()
1931 screenHeight = htods(screenHeight); in swapHtoD()
2044 if (screenHeight != o.screenHeight) { in compareLogical()
2045 return screenHeight < o.screenHeight ? -1 : 1; in compareLogical()
2271 if (screenHeight != o.screenHeight) { in isMoreSpecificThan()
2272 if (!screenHeight) return false; in isMoreSpecificThan()
2273 if (!o.screenHeight) return true; in isMoreSpecificThan()
2651 if (requested->screenHeight) { in isBetterThan()
2652 myDelta += requested->screenHeight - screenHeight; in isBetterThan()
2653 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/core/java/android/content/res/
DAssetManager.java1354 int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, in setConfiguration() argument
1359 keyboard, keyboardHidden, navigation, screenWidth, screenHeight, in setConfiguration()
1421 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in nativeSetConfiguration() argument
/frameworks/base/tools/split-select/
DMain.cpp112 outConfig->screenHeight = ResTable_config::SCREENHEIGHT_ANY; in removeRuntimeQualifiers()
/frameworks/base/tools/aapt/
DAaptConfig.cpp760 out->screenHeight = out->SCREENHEIGHT_ANY; in parseScreenSize()
784 out->screenHeight = h; in parseScreenSize()
DResourceTable.cpp3176 config.screenHeight, in flatten()
3221 tHeader->config.screenHeight, in flatten()
3956 config->screenHeight, in getEntry()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize.cpp76 out_pb_config->set_screen_height(config.screenHeight); in SerializeConfig()
DProtoDeserialize.cpp353 out_config->screenHeight = static_cast<uint16_t>(pb_config.screen_height()); in DeserializeConfigFromPb()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1066 uint16_t screenHeight; member
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp507 configuration.screenHeight = static_cast<uint16_t>(screen_height); in NativeSetConfiguration()
/frameworks/base/core/java/android/widget/
DAbsListView.java5789 int screenHeight = getResources().getDisplayMetrics().heightPixels; in positionPopup() local
5794 final int bottomGap = screenHeight - xy[1] - getHeight() + (int) (mDensityScale * 20); in positionPopup()

12