Home
last modified time | relevance | path

Searched refs:mDisplayWidth (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp200 mDisplayWidth = resolution.getWidth(); in SetUp()
203 mSurfaceControl = mClient->createSurface(String8("TestSurface"), mDisplayWidth, in SetUp()
320 auto ret = igbp->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in queueBuffer()
335 Rect(mDisplayWidth, mDisplayHeight / 2), in queueBuffer()
348 uint32_t mDisplayWidth; member in android::BLASTBufferQueueTest
358 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F()
360 ASSERT_EQ(mDisplayWidth, adapter.getWidth()); in TEST_F()
366 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F()
368 mClient->createSurface(String8("UpdateTest"), mDisplayWidth / 2, mDisplayHeight / 2, in TEST_F()
370 adapter.update(updateSurface, mDisplayWidth / 2, mDisplayHeight / 2); in TEST_F()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/kidsmode/
DKidsModeTaskOrganizer.java102 private int mDisplayWidth; field in KidsModeTaskOrganizer
131 if (displayWidth == mDisplayWidth || displayHeight == mDisplayHeight) {
134 mDisplayWidth = displayWidth;
243 wct.setBounds(taskInfo.token, new Rect(0, 0, mDisplayWidth, mDisplayHeight)); in onTaskAppeared()
305 mDisplayWidth = displayLayout.width(); in enable()
371 t.setWindowCrop(rootLeash, mDisplayWidth, mDisplayHeight); in updateTask()
377 final Rect bounds = new Rect(0, 0, mDisplayWidth, mDisplayHeight); in calculateBounds()
398 wct.setBounds(mHomeTask.token, new Rect(0, 0, mDisplayWidth, mDisplayHeight)); in updateBounds()
403 t.setWindowCrop(finalLeash, mDisplayWidth, mDisplayHeight); in updateBounds()
419 pw.println(innerPrefix + " mDisplayWidth=" + mDisplayWidth); in dump()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java66 private final int mDisplayWidth; field in DividerSnapAlgorithm
124 mDisplayWidth = displayWidth; in DividerSnapAlgorithm()
156 : mDisplayWidth; in isSplitScreenFeasible()
289 : mDisplayWidth; in calculateTargets()
325 : mDisplayWidth - mInsets.right; in addFixedDivisionTargets()
336 : mDisplayWidth - mInsets.right; in addRatio16_9Targets()
339 ? mDisplayWidth - mInsets.right in addRatio16_9Targets()
360 mInsets, mDisplayWidth, mDisplayHeight, mDividerSize); in addMiddleTarget()
372 position = mDisplayWidth - position - mInsets.right - mDividerSize; in addMinimizedTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractor.java58 private int mDisplayWidth = -1; field in WallpaperLocalColorExtractor
126 if (displayWidth == mDisplayWidth && displayHeight == mDisplayHeight) return; in setDisplayDimensionsSynchronized()
127 mDisplayWidth = displayWidth; in setDisplayDimensionsSynchronized()
315 if (mDisplayWidth <= 0 || mDisplayHeight <= 0) { in pageToImgRect()
325 float mappedScreenWidth = mDisplayWidth * imageScale; in pageToImgRect()
359 if (mDisplayWidth < 0 || mDisplayHeight < 0 || mPages < 0) return; in processColorsInternal()
385 out.print(prefix); out.print("display="); out.println(mDisplayWidth + "x" + mDisplayHeight); in dump()
/frameworks/native/libs/renderengine/gl/filters/
DBlurFilter.cpp74 if (mDisplayWidth < display.physicalDisplay.width() || in setAsDrawTarget()
78 mDisplayWidth = display.physicalDisplay.width(); in setAsDrawTarget()
80 mCompositionFbo.allocateBuffers(mDisplayWidth, mDisplayHeight); in setAsDrawTarget()
82 const uint32_t fboWidth = floorf(mDisplayWidth * kFboScale); in setAsDrawTarget()
187 mLastDrawTarget->getBufferHeight(), mDisplayX, mDisplayY, mDisplayWidth, in render()
DBlurFilter.h69 uint32_t mDisplayWidth = 0; variable
/frameworks/av/media/libstagefright/renderfright/gl/filters/
DBlurFilter.cpp74 if (mDisplayWidth < display.physicalDisplay.width() || in setAsDrawTarget()
78 mDisplayWidth = display.physicalDisplay.width(); in setAsDrawTarget()
80 mCompositionFbo.allocateBuffers(mDisplayWidth, mDisplayHeight); in setAsDrawTarget()
82 const uint32_t fboWidth = floorf(mDisplayWidth * kFboScale); in setAsDrawTarget()
187 mLastDrawTarget->getBufferHeight(), mDisplayX, mDisplayY, mDisplayWidth, in render()
DBlurFilter.h69 uint32_t mDisplayWidth = 0; variable
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java138 private int mDisplayWidth; field in Keyboard
204 parent.mDisplayWidth, parent.mDefaultWidth); in Row()
210 parent.mDisplayWidth, parent.mDefaultHorizontalGap); in Row()
353 keyboard.mDisplayWidth, parent.defaultWidth); in Key()
359 keyboard.mDisplayWidth, parent.defaultHorizontalGap); in Key()
547 mDisplayWidth = width; in Keyboard()
551 mDefaultWidth = mDisplayWidth / 10; in Keyboard()
569 mDisplayWidth = dm.widthPixels; in Keyboard()
574 mDefaultWidth = mDisplayWidth / 10; in Keyboard()
615 || x + mDefaultWidth + horizontalPadding > mDisplayWidth) { in Keyboard()
[all …]
/frameworks/av/include/private/media/
DVideoFrame.h43 mDisplayWidth(displayWidth), mDisplayHeight(displayHeight), in VideoFrame()
83 uint32_t mDisplayWidth; // Display width before rotation variable
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java92 private int mDisplayWidth; // real width, not rotated field in ColorFade
169 mDisplayWidth = displayInfo.getNaturalWidth(); in prepare()
314 setQuad(mVertexBuffer, 0, 0, mDisplayWidth, mDisplayHeight); in initGLBuffers()
546 GLES20.glViewport(0, 0, mDisplayWidth, mDisplayHeight);
547 ortho(0, mDisplayWidth, 0, mDisplayHeight, -1, 1);
595 mTransaction.setWindowCrop(mSurfaceControl, mDisplayWidth, mDisplayHeight);
610 mDisplayWidth, mDisplayHeight, PixelFormat.TRANSLUCENT);
818 pw.println(" mDisplayWidth=" + mDisplayWidth);
/frameworks/native/services/surfaceflinger/tests/
DRelativeZ_test.cpp240 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F()
255 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::GREEN); in TEST_F()
269 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F()
DIPC_test.cpp230 mDisplayWidth = mode.resolution.getWidth(); in SetUp()
245 uint32_t mDisplayWidth; member in android::test::IPCTest
307 {0, 0, static_cast<int32_t>(mDisplayWidth), in TEST_F()
320 mRemote->createTransaction(&remote, mDisplayWidth / 2, mDisplayHeight / 2); in TEST_F()
DLayerTypeTransaction_test.cpp47 Transaction().setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
88 .setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)) in TEST_P()
DLayerTransactionTest.h267 uint32_t mDisplayWidth; variable
289 mDisplayWidth = mDisplayRect.getWidth(); in SetUpDisplay()
304 t.setCrop(mBlackBgSurface, Rect(0, 0, mDisplayWidth, mDisplayHeight)); in SetUpDisplay()
DLayerTransaction_test.cpp78 const int width = mDisplayWidth; in TEST_F()
DLayerRenderTypeTransaction_test.cpp110 Transaction().setPosition(layer, mDisplayWidth, mDisplayHeight).apply(); in TEST_P()
129 Transaction().setPosition(layer, mDisplayWidth - 2, mDisplayHeight - 2).apply(); in TEST_P()
132 getScreenCapture()->expectColor(Rect(mDisplayWidth - 2, mDisplayHeight - 2, mDisplayWidth, in TEST_P()
1363 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
1364 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/animation/
DExpandedAnimationControllerTest.java53 private int mDisplayWidth = 500; field in ExpandedAnimationControllerTest
72 new Rect(0, 0, mDisplayWidth, mDisplayHeight)); in setUp()
/frameworks/base/core/java/android/view/
DDisplayCutout.java259 private final int mDisplayWidth; field in DisplayCutout.CutoutPathParserInfo
272 mDisplayWidth = displayWidth; in CutoutPathParserInfo()
284 mDisplayWidth = cutoutPathParserInfo.mDisplayWidth; in CutoutPathParserInfo()
296 return mDisplayWidth; in getDisplayWidth()
338 result = result * 48271 + Integer.hashCode(mDisplayWidth); in hashCode()
357 return mDisplayWidth == c.mDisplayWidth && mDisplayHeight == c.mDisplayHeight in equals()
369 return "CutoutPathParserInfo{displayWidth=" + mDisplayWidth in toString()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp384 videoFrame->mDisplayWidth, in reinit()
421 videoFrame->mDisplayWidth, in reinit()
626 videoFrame->mDisplayWidth, in decode()
681 videoFrame->mDisplayWidth, in decodeSequence()
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java95 private int mDisplayWidth; field in InputMonitor
168 consumer.layout(mInputTransaction, mDisplayWidth, mDisplayHeight); in addInputConsumer()
193 if (mDisplayWidth == dw && mDisplayHeight == dh) { in layoutInputConsumers()
196 mDisplayWidth = dw; in layoutInputConsumers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java114 private int mDisplayWidth; field in AccessibilityFloatingMenuView
590 mDisplayWidth = displayBounds.width(); in updateDisplaySizeWith()
719 return mDisplayWidth - getMarginStartEndWith(mLastConfiguration) - getLayoutWidth(); in getMaxWindowX()
889 return new Rect(0, 0, mDisplayWidth - getWindowWidth(), in getAvailableBounds()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp266 videoFrame->mDisplayWidth, in getBitmapFromVideoFrame()
279 displayHeight = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame()
283 displayWidth = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.cpp173 mDisplayWidth(-1), in TouchInputMapper()
637 const float diagonalSize = hypotf(mDisplayWidth, mDisplayHeight); in initializeSizeRanges()
717 mXScale = float(mDisplayWidth) / mRawPointerAxes.getRawWidth(); in initializeOrientedRanges()
860 mOrientedRanges.y.max = mDisplayWidth - 1; in initializeOrientedRanges()
871 mOrientedRanges.x.max = mDisplayWidth - 1; in initializeOrientedRanges()
1005 const int32_t oldDisplayWidth = mDisplayWidth; in configureInputDevice()
1007 mDisplayWidth = naturalDeviceWidth; in configureInputDevice()
1021 mDisplayWidth == oldDisplayWidth && mDisplayHeight == oldDisplayHeight && in configureInputDevice()
1033 mDisplayWidth = rawWidth; in configureInputDevice()
1064 getDeviceId(), getDeviceName().c_str(), mDisplayWidth, mDisplayHeight, in configureInputDevice()
[all …]
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DSFFakeHwc_test.cpp1178 mDisplayWidth = resolution.getWidth(); in SetUp()
1183 mComposerClient->createSurface(String8("BG Test Surface"), mDisplayWidth, in SetUp()
1219 mBaseFrame.push_back(makeSimpleRect(0u, 0u, mDisplayWidth, mDisplayHeight)); in SetUp()
1483 uint32_t mDisplayWidth; member in __anon9f890b8f0111::TransactionTest

12