Home
last modified time | relevance | path

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

/frameworks/base/libs/input/
DPointerController.cpp63 mLocked.displayWidth = -1; in PointerController()
107 if (mLocked.displayWidth <= 0 || mLocked.displayHeight <= 0) { in getBoundsLocked()
117 *outMaxY = mLocked.displayWidth - 1; in getBoundsLocked()
120 *outMaxX = mLocked.displayWidth - 1; in getBoundsLocked()
321 if (mLocked.displayWidth != width || mLocked.displayHeight != height) { in setDisplayViewport()
322 mLocked.displayWidth = width; in setDisplayViewport()
349 x = mLocked.displayWidth - y; in setDisplayViewport()
353 x = mLocked.displayWidth - x; in setDisplayViewport()
368 y = mLocked.displayWidth - temp; in setDisplayViewport()
371 x = mLocked.displayWidth - x; in setDisplayViewport()
DPointerController.h141 int32_t displayWidth; member
/frameworks/base/core/java/android/app/
DUiAutomation.java621 final int displayWidth = displaySize.x; in takeScreenshot() local
630 screenshotWidth = displayWidth; in takeScreenshot()
635 screenshotHeight = displayWidth; in takeScreenshot()
638 screenshotWidth = displayWidth; in takeScreenshot()
643 screenshotHeight = displayWidth; in takeScreenshot()
667 Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight, in takeScreenshot()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dvop.cpp406 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13); in DecodeVOLHeader()
1086 video->displayWidth = video->width = 128; in DecodeShortHeader()
1096 video->displayWidth = video->width = 176; in DecodeShortHeader()
1106 video->displayWidth = video->width = 352; in DecodeShortHeader()
1116 video->displayWidth = video->width = 704; in DecodeShortHeader()
1126 video->displayWidth = video->width = 1408; in DecodeShortHeader()
1169 video->displayWidth = video->width = 128; in DecodeShortHeader()
1179 video->displayWidth = video->width = 176; in DecodeShortHeader()
1189 video->displayWidth = video->width = 352; in DecodeShortHeader()
1199 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.cpp252 video->displayWidth = video->width = width; in PVInitVideoDecoder()
292 video->displayWidth = video->width = width; in PVAllocVideoData()
721 *display_width = video->displayWidth; in PVGetVideoDimensions()
1155 video->displayWidth = video->width = 0; in PVDecodeVopHeader()
/frameworks/native/services/surfaceflinger/tests/
DTransaction_test.cpp102 ssize_t displayWidth = info.w; in SetUp() local
107 String8("BG Test Surface"), displayWidth, displayHeight, in SetUp()
139 ASSERT_EQ(NO_ERROR, mSyncSurfaceControl->setPosition(displayWidth-2, in SetUp()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java212 private void updateOomLevels(int displayWidth, int displayHeight, boolean write) { in updateOomLevels() argument
220 float scaleDisp = ((float)(displayWidth*displayHeight)-minSize)/(maxSize-minSize); in updateOomLevels()
223 Slog.i("XXXXXX", "scaleDisp=" + scaleDisp + " dw=" + displayWidth in updateOomLevels()
274 int reserve = displayWidth * displayHeight * 4 * 3 / 1024; in updateOomLevels()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp298 uint32_t displayWidth = videoFrame->mDisplayWidth; in android_media_MediaMetadataRetriever_getFrameAtTime() local
301 displayWidth = videoFrame->mDisplayHeight; in android_media_MediaMetadataRetriever_getFrameAtTime()
305 width, height, displayWidth, displayHeight); in android_media_MediaMetadataRetriever_getFrameAtTime()
309 displayWidth, in android_media_MediaMetadataRetriever_getFrameAtTime()
/frameworks/av/cmds/stagefright/
Dstream.cpp318 ssize_t displayWidth = info.w; in main() local
321 ALOGV("display is %d x %d\n", displayWidth, displayHeight); in main()
326 displayWidth, in main()
Dcodec.cpp390 ssize_t displayWidth = info.w; in main() local
393 ALOGV("display is %ld x %ld\n", displayWidth, displayHeight); in main()
397 displayWidth, in main()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp1498 int32_t displayWidth, displayHeight; in updateVideoSize() local
1511 displayWidth = cropRight - cropLeft + 1; in updateVideoSize()
1517 displayWidth, in updateVideoSize()
1521 CHECK(inputFormat->findInt32("width", &displayWidth)); in updateVideoSize()
1524 ALOGV("Video input format %d x %d", displayWidth, displayHeight); in updateVideoSize()
1533 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize()
1535 ALOGV("display dimensions %d x %d", displayWidth, displayHeight); in updateVideoSize()
1544 int32_t tmp = displayWidth; in updateVideoSize()
1545 displayWidth = displayHeight; in updateVideoSize()
1551 displayWidth, in updateVideoSize()
/frameworks/base/core/java/android/view/
DWindowManagerPolicy.java834 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, in beginLayoutLw() argument
897 public void beginPostLayoutPolicyLw(int displayWidth, int displayHeight); in beginPostLayoutPolicyLw() argument
DAccessibilityInteractionController.java843 final int displayWidth = mTempPoint.x; in applyAppScaleAndMagnificationSpecIfNeeded() local
847 visibleDisplayFrame.set(0, 0, displayWidth, displayHeight); in applyAppScaleAndMagnificationSpecIfNeeded()
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp282 int32_t displayWidth, displayHeight; in extractVideoFrameWithCodecFlags() local
283 if (meta->findInt32(kKeyDisplayWidth, &displayWidth)) { in extractVideoFrameWithCodecFlags()
284 frame->mDisplayWidth = displayWidth; in extractVideoFrameWithCodecFlags()
DAwesomePlayer.cpp450 int32_t displayWidth, displayHeight; in setDataSource_l() local
451 bool success = meta->findInt32(kKeyDisplayWidth, &displayWidth); in setDataSource_l()
456 mDisplayWidth = displayWidth; in setDataSource_l()
1156 int32_t displayWidth; in notifyVideoSize_l() local
1157 if (meta->findInt32(kKeyDisplayWidth, &displayWidth)) { in notifyVideoSize_l()
1158 ALOGV("Display width changed (%d=>%d)", mDisplayWidth, displayWidth); in notifyVideoSize_l()
1159 mDisplayWidth = displayWidth; in notifyVideoSize_l()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java2908 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, in beginLayoutLw() argument
2946 mOverscanScreenWidth = mRestrictedOverscanScreenWidth = displayWidth; in beginLayoutLw()
2950 mSystemRight = displayWidth; in beginLayoutLw()
2954 mUnrestrictedScreenWidth = displayWidth - overscanLeft - overscanRight; in beginLayoutLw()
2965 = mCurRight = displayWidth - overscanRight; in beginLayoutLw()
3027 mNavigationBarOnBottom = (!mNavigationBarCanMove || displayWidth < displayHeight); in beginLayoutLw()
3032 mTmpNavigationFrame.set(0, top, displayWidth, displayHeight - overscanBottom); in beginLayoutLw()
3055 int left = displayWidth - overscanRight in beginLayoutLw()
3057 mTmpNavigationFrame.set(left, 0, displayWidth - overscanRight, displayHeight); in beginLayoutLw()
3746 public void beginPostLayoutPolicyLw(int displayWidth, int displayHeight) { in beginPostLayoutPolicyLw() argument