Searched refs:displayWidth (Results 1 - 23 of 23) sorted by relevance

/frameworks/base/packages/Shell/src/com/android/shell/
H A DScreenshooter.java62 final int displayWidth = displaySize.x;
71 screenshotWidth = displayWidth;
76 screenshotHeight = displayWidth;
79 screenshotWidth = displayWidth;
84 screenshotHeight = displayWidth;
92 Log.d(TAG, "Taking screenshot of dimensions " + displayWidth + " x " + displayHeight);
104 Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight,
/frameworks/base/core/java/com/android/internal/policy/
H A DDockedDividerUtils.java35 int displayWidth, int displayHeight, int dividerSize) {
36 outRect.set(0, 0, displayWidth, displayHeight);
100 int displayWidth, int displayHeight, int dividerSize) {
104 : displayWidth - insets.right;
34 calculateBoundsForPosition(int position, int dockSide, Rect outRect, int displayWidth, int displayHeight, int dividerSize) argument
99 calculateMiddlePosition(boolean isHorizontalDivision, Rect insets, int displayWidth, int displayHeight, int dividerSize) argument
H A DDividerSnapAlgorithm.java94 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, argument
101 mDisplayWidth = displayWidth;
/frameworks/base/libs/input/
H A DPointerController.cpp96 mLocked.displayWidth = -1;
151 if (mLocked.displayWidth <= 0 || mLocked.displayHeight <= 0) {
161 *outMaxY = mLocked.displayWidth - 1;
164 *outMaxX = mLocked.displayWidth - 1;
387 if (mLocked.displayWidth != width || mLocked.displayHeight != height) {
388 mLocked.displayWidth = width;
415 x = mLocked.displayWidth - y;
419 x = mLocked.displayWidth - x;
434 y = mLocked.displayWidth - temp;
437 x = mLocked.displayWidth
[all...]
H A DPointerController.h160 int32_t displayWidth; member in struct:android::PointerController::Locked
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java914 * @param displayWidth The current full width of the screen.
919 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, argument
958 * @param displayWidth The width of the display.
968 int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets,
990 * @param displayWidth The current full width of the screen.
993 public void beginPostLayoutPolicyLw(int displayWidth, int displayHeight); argument
1401 * @param displayWidth the current display width
1405 public void getStableInsetsLw(int displayRotation, int displayWidth, int displayHeight, argument
1419 * @param displayWidth the current display width
1423 public void getNonDecorInsetsLw(int displayRotation, int displayWidth, in argument
967 getInsetHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets, Rect outStableInsets, Rect outOutsets) argument
[all...]
H A DAccessibilityInteractionController.java796 final int displayWidth = mTempPoint.x;
800 visibleDisplayFrame.set(0, 0, displayWidth, displayHeight);
H A DView.java23924 int displayWidth = rootView.getWidth();
23926 if (height != displayHeight || width != displayWidth) {
/frameworks/base/core/java/android/app/
H A DUiAutomation.java684 final int displayWidth = displaySize.x;
693 screenshotWidth = displayWidth;
698 screenshotHeight = displayWidth;
701 screenshotWidth = displayWidth;
706 screenshotHeight = displayWidth;
730 Bitmap unrotatedScreenShot = Bitmap.createBitmap(displayWidth, displayHeight,
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp410 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13);
414 // video->displayWidth += (video->displayWidth & 0x1); /* displayed image should be even size */
1090 video->displayWidth = video->width = 128;
1100 video->displayWidth = video->width = 176;
1110 video->displayWidth = video->width = 352;
1120 video->displayWidth = video->width = 704;
1130 video->displayWidth = video->width = 1408;
1173 video->displayWidth = video->width = 128;
1183 video->displayWidth
[all...]
H A Dmp4lib_int.h245 int displayWidth; /* Handle image whose size is not a multiple of 16. */ member in struct:tagVideoDecData
H A Dpvdec_api.cpp269 video->displayWidth = width;
314 video->displayWidth = width;
773 *display_width = video->displayWidth;
1207 video->displayWidth = video->width = 0;
/frameworks/av/cmds/stagefright/
H A Dstream.cpp318 ssize_t displayWidth = info.w; local
321 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight);
326 displayWidth,
H A Dcodec.cpp418 ssize_t displayWidth = info.w; local
421 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight);
425 displayWidth,
H A Dmediafilter.cpp755 ssize_t displayWidth = info.w; local
758 ALOGV("display is %zd x %zd", displayWidth, displayHeight);
761 String8("A Surface"), displayWidth, displayHeight,
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp315 uint32_t displayWidth = videoFrame->mDisplayWidth; local
318 displayWidth = videoFrame->mDisplayHeight;
322 width, height, displayWidth, displayHeight);
326 displayWidth,
/frameworks/base/services/core/java/com/android/server/am/
H A DProcessList.java231 private void updateOomLevels(int displayWidth, int displayHeight, boolean write) { argument
239 float scaleDisp = ((float)(displayWidth*displayHeight)-minSize)/(maxSize-minSize);
242 Slog.i("XXXXXX", "scaleDisp=" + scaleDisp + " dw=" + displayWidth
294 int reserve = displayWidth * displayHeight * 4 * 3 / 1024;
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp113 ssize_t displayWidth = info.w; local
118 String8("BG Test Surface"), displayWidth, displayHeight,
152 ASSERT_EQ(NO_ERROR, mSyncSurfaceControl->setPosition(displayWidth-2,
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp1722 int32_t displayWidth, displayHeight; local
1733 displayWidth = cropRight - cropLeft + 1;
1739 displayWidth,
1743 CHECK(inputFormat->findInt32("width", &displayWidth));
1746 ALOGV("Video input format %d x %d", displayWidth, displayHeight);
1755 displayWidth = (displayWidth * sarWidth) / sarHeight;
1757 ALOGV("display dimensions %d x %d", displayWidth, displayHeight);
1766 int32_t tmp = displayWidth;
1767 displayWidth
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java571 static void createRotationMatrix(int rotation, float displayWidth, float displayHeight, argument
574 createRotationMatrix(rotation, 0 /* rectLeft */, 0 /* rectTop */, displayWidth,
579 float displayWidth, float displayHeight, Matrix outMatrix) {
594 outMatrix.postTranslate(displayWidth, 0);
578 createRotationMatrix(int rotation, float rectLeft, float rectTop, float displayWidth, float displayHeight, Matrix outMatrix) argument
H A DTaskStack.java477 final int displayWidth = mDisplayContent.getDisplayInfo().logicalWidth;
483 mService.mPolicy.getStableInsetsLw(rotation, displayWidth, displayHeight, outBounds);
485 mService.mContext.getResources(), displayWidth, displayHeight,
H A DWindowStateAnimator.java2099 final float displayWidth = displayRect.width();
2105 DisplayContent.createRotationMatrix(deltaRotation, x, y, displayWidth, displayHeight,
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java3877 int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets,
3934 displayWidth, displayHeight);
3936 displayWidth, displayHeight);
3949 private void calculateRelevantTaskInsets(Rect taskBounds, Rect inOutInsets, int displayWidth, argument
3951 mTmpRect.set(0, 0, displayWidth, displayHeight);
3968 public void beginLayoutLw(boolean isDefaultDisplay, int displayWidth, int displayHeight, argument
4007 mOverscanScreenWidth = mRestrictedOverscanScreenWidth = displayWidth;
4011 mSystemRight = displayWidth;
4015 mUnrestrictedScreenWidth = displayWidth - overscanLeft - overscanRight;
4026 = mCurRight = displayWidth
3876 getInsetHintLw(WindowManager.LayoutParams attrs, Rect taskBounds, int displayRotation, int displayWidth, int displayHeight, Rect outContentInsets, Rect outStableInsets, Rect outOutsets) argument
4162 layoutNavigationBar(int displayWidth, int displayHeight, int displayRotation, int uiMode, int overscanLeft, int overscanRight, int overscanBottom, Rect dcf, boolean navVisible, boolean navTranslucent, boolean navAllowedHidden, boolean statusBarExpandedNotKeyguard) argument
4273 navigationBarPosition(int displayWidth, int displayHeight, int displayRotation) argument
4956 beginPostLayoutPolicyLw(int displayWidth, int displayHeight) argument
6617 getStableInsetsLw(int displayRotation, int displayWidth, int displayHeight, Rect outInsets) argument
6629 getNonDecorInsetsLw(int displayRotation, int displayWidth, int displayHeight, Rect outInsets) argument
[all...]

Completed in 551 milliseconds