Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Shell/src/com/android/shell/
DScreenshooter.java63 final int displayHeight = displaySize.y; in takeScreenshot() local
72 screenshotHeight = displayHeight; in takeScreenshot()
75 screenshotWidth = displayHeight; in takeScreenshot()
80 screenshotHeight = displayHeight; in takeScreenshot()
83 screenshotWidth = displayHeight; in takeScreenshot()
92 Log.d(TAG, "Taking screenshot of dimensions " + displayWidth + " x " + displayHeight); in takeScreenshot()
104 Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight, in takeScreenshot()
/frameworks/base/core/java/com/android/internal/policy/
DDockedDividerUtils.java35 int displayWidth, int displayHeight, int dividerSize) { in calculateBoundsForPosition() argument
36 outRect.set(0, 0, displayWidth, displayHeight); in calculateBoundsForPosition()
100 int displayWidth, int displayHeight, int dividerSize) { in calculateMiddlePosition() argument
103 ? displayHeight - insets.bottom in calculateMiddlePosition()
DDividerSnapAlgorithm.java94 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument
102 mDisplayHeight = displayHeight; in DividerSnapAlgorithm()
/frameworks/base/libs/input/
DPointerController.cpp97 mLocked.displayHeight = -1; in PointerController()
151 if (mLocked.displayWidth <= 0 || mLocked.displayHeight <= 0) { in getBoundsLocked()
160 *outMaxX = mLocked.displayHeight - 1; in getBoundsLocked()
165 *outMaxY = mLocked.displayHeight - 1; in getBoundsLocked()
387 if (mLocked.displayWidth != width || mLocked.displayHeight != height) { in setDisplayViewport()
389 mLocked.displayHeight = height; in setDisplayViewport()
420 y = mLocked.displayHeight - y; in setDisplayViewport()
425 y = mLocked.displayHeight - temp; in setDisplayViewport()
438 y = mLocked.displayHeight - y; in setDisplayViewport()
442 x = mLocked.displayHeight - y; in setDisplayViewport()
DPointerController.h161 int32_t displayHeight; member
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java919 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, in beginLayoutLw() argument
968 int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets, in getInsetHintLw() argument
993 public void beginPostLayoutPolicyLw(int displayWidth, int displayHeight); in beginPostLayoutPolicyLw() argument
1405 public void getStableInsetsLw(int displayRotation, int displayWidth, int displayHeight, in getStableInsetsLw() argument
1423 public void getNonDecorInsetsLw(int displayRotation, int displayWidth, int displayHeight, in getNonDecorInsetsLw() argument
DAccessibilityInteractionController.java797 final int displayHeight = mTempPoint.y; in applyAppScaleAndMagnificationSpecIfNeeded() local
800 visibleDisplayFrame.set(0, 0, displayWidth, displayHeight); in applyAppScaleAndMagnificationSpecIfNeeded()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvop.cpp422 video->displayHeight = video->height = (int) BitstreamReadBits16(stream, 13); in DecodeVOLHeader()
1093 video->displayHeight = video->height = 96; in DecodeShortHeader()
1103 video->displayHeight = video->height = 144; in DecodeShortHeader()
1113 video->displayHeight = video->height = 288; in DecodeShortHeader()
1123 video->displayHeight = video->height = 576; in DecodeShortHeader()
1133 video->displayHeight = video->height = 1152; in DecodeShortHeader()
1176 video->displayHeight = video->height = 96; in DecodeShortHeader()
1186 video->displayHeight = video->height = 144; in DecodeShortHeader()
1196 video->displayHeight = video->height = 288; in DecodeShortHeader()
1206 video->displayHeight = video->height = 576; in DecodeShortHeader()
[all …]
Dmp4lib_int.h246 int displayHeight; /* This is the actual size. 08/09/2000 */ member
Dpvdec_api.cpp272 video->displayHeight = height; in PVInitVideoDecoder()
317 video->displayHeight = height; in PVAllocVideoData()
776 *display_height = video->displayHeight; in PVGetVideoDimensions()
1210 video->displayHeight = video->height = 0; in PVDecodeVopHeader()
/frameworks/base/core/java/android/app/
DUiAutomation.java685 final int displayHeight = displaySize.y; in takeScreenshot() local
694 screenshotHeight = displayHeight; in takeScreenshot()
697 screenshotWidth = displayHeight; in takeScreenshot()
702 screenshotHeight = displayHeight; in takeScreenshot()
705 screenshotWidth = displayHeight; in takeScreenshot()
730 Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight, in takeScreenshot()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp316 uint32_t displayHeight = videoFrame->mDisplayHeight; in android_media_MediaMetadataRetriever_getFrameAtTime() local
319 displayHeight = videoFrame->mDisplayWidth; in android_media_MediaMetadataRetriever_getFrameAtTime()
322 width, height, displayWidth, displayHeight); in android_media_MediaMetadataRetriever_getFrameAtTime()
327 displayHeight, in android_media_MediaMetadataRetriever_getFrameAtTime()
/frameworks/av/cmds/stagefright/
Dstream.cpp319 ssize_t displayHeight = info.h; in main() local
321 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main()
327 displayHeight, in main()
Dcodec.cpp419 ssize_t displayHeight = info.h; in main() local
421 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main()
426 displayHeight, in main()
Dmediafilter.cpp756 ssize_t displayHeight = info.h; in main() local
758 ALOGV("display is %zd x %zd", displayWidth, displayHeight); in main()
761 String8("A Surface"), displayWidth, displayHeight, in main()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java231 private void updateOomLevels(int displayWidth, int displayHeight, boolean write) { in updateOomLevels() argument
239 float scaleDisp = ((float)(displayWidth*displayHeight)-minSize)/(maxSize-minSize); in updateOomLevels()
243 + " dh=" + displayHeight); in updateOomLevels()
294 int reserve = displayWidth * displayHeight * 4 * 3 / 1024; in updateOomLevels()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp114 ssize_t displayHeight = info.h; in SetUp() local
118 String8("BG Test Surface"), displayWidth, displayHeight, in SetUp()
153 displayHeight-2)); in SetUp()
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.cpp271 uint32_t displayHeight = outputBufferHeight(); in initDecoder() local
272 uint32_t displaySizeY = displayStride * displayHeight; in initDecoder()
317 s_fill_mem_ip.s_ivd_fill_mem_rec_ip_t.u4_max_frm_ht = displayHeight; in initDecoder()
364 s_init_ip.s_ivd_init_ip_t.u4_frm_max_ht = displayHeight; in initDecoder()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java571 static void createRotationMatrix(int rotation, float displayWidth, float displayHeight, in createRotationMatrix() argument
575 displayHeight, outMatrix); in createRotationMatrix()
579 float displayWidth, float displayHeight, Matrix outMatrix) { in createRotationMatrix() argument
586 outMatrix.postTranslate(0, displayHeight); in createRotationMatrix()
DTaskStack.java478 final int displayHeight = mDisplayContent.getDisplayInfo().logicalHeight; in snapDockedStackAfterRotation() local
483 mService.mPolicy.getStableInsetsLw(rotation, displayWidth, displayHeight, outBounds); in snapDockedStackAfterRotation()
485 mService.mContext.getResources(), displayWidth, displayHeight, in snapDockedStackAfterRotation()
DWindowStateAnimator.java2100 final float displayHeight = displayRect.height(); in seamlesslyRotateWindow() local
2105 DisplayContent.createRotationMatrix(deltaRotation, x, y, displayWidth, displayHeight, in seamlesslyRotateWindow()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1722 int32_t displayWidth, displayHeight; in updateVideoSize() local
1734 displayHeight = cropBottom - cropTop + 1; in updateVideoSize()
1740 displayHeight, in updateVideoSize()
1744 CHECK(inputFormat->findInt32("height", &displayHeight)); in updateVideoSize()
1746 ALOGV("Video input format %d x %d", displayWidth, displayHeight); in updateVideoSize()
1757 ALOGV("display dimensions %d x %d", displayWidth, displayHeight); in updateVideoSize()
1767 displayWidth = displayHeight; in updateVideoSize()
1768 displayHeight = tmp; in updateVideoSize()
1774 displayHeight); in updateVideoSize()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3996 int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets, in getInsetHintLw() argument
4053 displayWidth, displayHeight); in getInsetHintLw()
4055 displayWidth, displayHeight); in getInsetHintLw()
4069 int displayHeight) { in calculateRelevantTaskInsets() argument
4070 mTmpRect.set(0, 0, displayWidth, displayHeight); in calculateRelevantTaskInsets()
4087 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, in beginLayoutLw() argument
4127 mOverscanScreenHeight = mRestrictedOverscanScreenHeight = displayHeight; in beginLayoutLw()
4131 mSystemBottom = displayHeight; in beginLayoutLw()
4135 mUnrestrictedScreenHeight = displayHeight - overscanTop - overscanBottom; in beginLayoutLw()
4147 = mCurBottom = displayHeight - overscanBottom; in beginLayoutLw()
[all …]
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.cpp444 uint32_t displayHeight = outputBufferHeight(); in onPortFlushCompleted() local
446 uint32_t bufferSize = displayStride * displayHeight * 3 / 2; in onPortFlushCompleted()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.cpp484 uint32_t displayHeight = outputBufferHeight(); in onPortFlushCompleted() local
486 uint32_t bufferSize = displayStride * displayHeight * 3 / 2; in onPortFlushCompleted()

12