Home
last modified time | relevance | path

Searched refs:displayWidth (Results 1 – 19 of 19) sorted by relevance

/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
104 : displayWidth - insets.right; in calculateMiddlePosition()
DDividerSnapAlgorithm.java94 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument
101 mDisplayWidth = displayWidth; in DividerSnapAlgorithm()
/frameworks/base/libs/input/
DPointerController.cpp72 mLocked.displayWidth = -1; in PointerController()
127 if (mLocked.displayWidth <= 0 || mLocked.displayHeight <= 0) { in getBoundsLocked()
137 *outMaxY = mLocked.displayWidth - 1; in getBoundsLocked()
140 *outMaxX = mLocked.displayWidth - 1; in getBoundsLocked()
363 if (mLocked.displayWidth != width || mLocked.displayHeight != height) { in setDisplayViewport()
364 mLocked.displayWidth = width; in setDisplayViewport()
391 x = mLocked.displayWidth - y; in setDisplayViewport()
395 x = mLocked.displayWidth - x; in setDisplayViewport()
410 y = mLocked.displayWidth - temp; in setDisplayViewport()
413 x = mLocked.displayWidth - x; in setDisplayViewport()
DPointerController.h159 int32_t displayWidth; member
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java905 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, in beginLayoutLw() argument
954 int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets, in getInsetHintLw() argument
979 public void beginPostLayoutPolicyLw(int displayWidth, int displayHeight); in beginPostLayoutPolicyLw() argument
1381 public void getStableInsetsLw(int displayRotation, int displayWidth, int displayHeight, in getStableInsetsLw() argument
1399 public void getNonDecorInsetsLw(int displayRotation, int displayWidth, int displayHeight, in getNonDecorInsetsLw() argument
DAccessibilityInteractionController.java796 final int displayWidth = mTempPoint.x; in applyAppScaleAndMagnificationSpecIfNeeded() local
800 visibleDisplayFrame.set(0, 0, displayWidth, displayHeight); in applyAppScaleAndMagnificationSpecIfNeeded()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvop.cpp410 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13); in DecodeVOLHeader()
1090 video->displayWidth = video->width = 128; in DecodeShortHeader()
1100 video->displayWidth = video->width = 176; in DecodeShortHeader()
1110 video->displayWidth = video->width = 352; in DecodeShortHeader()
1120 video->displayWidth = video->width = 704; in DecodeShortHeader()
1130 video->displayWidth = video->width = 1408; in DecodeShortHeader()
1173 video->displayWidth = video->width = 128; in DecodeShortHeader()
1183 video->displayWidth = video->width = 176; in DecodeShortHeader()
1193 video->displayWidth = video->width = 352; in DecodeShortHeader()
1203 video->displayWidth = video->width = 704; in DecodeShortHeader()
[all …]
Dmp4lib_int.h245 int displayWidth; /* Handle image whose size is not a multiple of 16. */ member
Dpvdec_api.cpp269 video->displayWidth = width; in PVInitVideoDecoder()
314 video->displayWidth = width; in PVAllocVideoData()
773 *display_width = video->displayWidth; in PVGetVideoDimensions()
1207 video->displayWidth = video->width = 0; in PVDecodeVopHeader()
/frameworks/base/core/java/android/app/
DUiAutomation.java684 final int displayWidth = displaySize.x; in takeScreenshot() local
693 screenshotWidth = displayWidth; in takeScreenshot()
698 screenshotHeight = displayWidth; in takeScreenshot()
701 screenshotWidth = displayWidth; in takeScreenshot()
706 screenshotHeight = displayWidth; in takeScreenshot()
730 Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight, in takeScreenshot()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp315 uint32_t displayWidth = videoFrame->mDisplayWidth; in android_media_MediaMetadataRetriever_getFrameAtTime() local
318 displayWidth = videoFrame->mDisplayHeight; in android_media_MediaMetadataRetriever_getFrameAtTime()
322 width, height, displayWidth, displayHeight); in android_media_MediaMetadataRetriever_getFrameAtTime()
326 displayWidth, in android_media_MediaMetadataRetriever_getFrameAtTime()
/frameworks/av/cmds/stagefright/
Dstream.cpp318 ssize_t displayWidth = info.w; in main() local
321 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main()
326 displayWidth, in main()
Dcodec.cpp418 ssize_t displayWidth = info.w; in main() local
421 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main()
425 displayWidth, in main()
Dmediafilter.cpp755 ssize_t displayWidth = info.w; 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.java228 private void updateOomLevels(int displayWidth, int displayHeight, boolean write) { in updateOomLevels() argument
236 float scaleDisp = ((float)(displayWidth*displayHeight)-minSize)/(maxSize-minSize); in updateOomLevels()
239 Slog.i("XXXXXX", "scaleDisp=" + scaleDisp + " dw=" + displayWidth in updateOomLevels()
291 int reserve = displayWidth * displayHeight * 4 * 3 / 1024; in updateOomLevels()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1694 int32_t displayWidth, displayHeight; in updateVideoSize() local
1705 displayWidth = cropRight - cropLeft + 1; in updateVideoSize()
1711 displayWidth, in updateVideoSize()
1715 CHECK(inputFormat->findInt32("width", &displayWidth)); in updateVideoSize()
1718 ALOGV("Video input format %d x %d", displayWidth, displayHeight); in updateVideoSize()
1727 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()
1729 ALOGV("display dimensions %d x %d", displayWidth, displayHeight); in updateVideoSize()
1738 int32_t tmp = displayWidth; in updateVideoSize()
1739 displayWidth = displayHeight; in updateVideoSize()
1745 displayWidth, in updateVideoSize()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp113 ssize_t displayWidth = info.w; in SetUp() local
118 String8("BG Test Surface"), displayWidth, displayHeight, in SetUp()
152 ASSERT_EQ(NO_ERROR, mSyncSurfaceControl->setPosition(displayWidth-2, in SetUp()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3819 int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets, in getInsetHintLw() argument
3876 displayWidth, displayHeight); in getInsetHintLw()
3878 displayWidth, displayHeight); in getInsetHintLw()
3891 private void calculateRelevantTaskInsets(Rect taskBounds, Rect inOutInsets, int displayWidth, in calculateRelevantTaskInsets() argument
3893 mTmpRect.set(0, 0, displayWidth, displayHeight); in calculateRelevantTaskInsets()
3910 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, in beginLayoutLw() argument
3949 mOverscanScreenWidth = mRestrictedOverscanScreenWidth = displayWidth; in beginLayoutLw()
3953 mSystemRight = displayWidth; in beginLayoutLw()
3957 mUnrestrictedScreenWidth = displayWidth - overscanLeft - overscanRight; in beginLayoutLw()
3968 = mCurRight = displayWidth - overscanRight; in beginLayoutLw()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java478 final int displayWidth = mDisplayContent.getDisplayInfo().logicalWidth; in snapDockedStackAfterRotation() local
484 mService.mPolicy.getStableInsetsLw(rotation, displayWidth, displayHeight, outBounds); in snapDockedStackAfterRotation()
486 mService.mContext.getResources(), displayWidth, displayHeight, in snapDockedStackAfterRotation()