Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp212 mDisplayWidth = resolution.getWidth(); in SetUp()
214 ALOGD("Display: %dx%d orientation:%d", mDisplayWidth, mDisplayHeight, in SetUp()
217 mRootSurfaceControl = mClient->createSurface(String8("RootTestSurface"), mDisplayWidth, in SetUp()
227 mSurfaceControl = mClient->createSurface(String8("TestSurface"), mDisplayWidth, in SetUp()
232 mCaptureArgs.sourceCrop = Rect(ui::Size(mDisplayWidth, mDisplayHeight)); in SetUp()
325 auto ret = igbp->dequeueBuffer(&slot, &fence, mDisplayWidth, mDisplayHeight, in queueBuffer()
340 Rect(mDisplayWidth, mDisplayHeight / 2), in queueBuffer()
354 uint32_t mDisplayWidth; member in android::BLASTBufferQueueTest
364 BLASTBufferQueueHelper adapter(mSurfaceControl, mDisplayWidth, mDisplayHeight); in TEST_F()
366 ASSERT_EQ(static_cast<int32_t>(mDisplayWidth), adapter.getWidth()); in TEST_F()
[all …]
/frameworks/base/core/java/android/view/
DDisplayShape.java58 private final int mDisplayWidth; field in DisplayShape
75 mDisplayWidth = displayWidth; in DisplayShape()
176 return new DisplayShape(mDisplayShapeSpec, mDisplayWidth, mDisplayHeight, in setRotation()
184 return new DisplayShape(mDisplayShapeSpec, mDisplayWidth, mDisplayHeight, in setOffset()
192 return new DisplayShape(mDisplayShapeSpec, mDisplayWidth, mDisplayHeight, in setScale()
198 return Objects.hash(mDisplayShapeSpec, mDisplayWidth, mDisplayHeight, in hashCode()
210 && mDisplayWidth == ds.mDisplayWidth && mDisplayHeight == ds.mDisplayHeight in equals()
222 + " displayWidth=" + mDisplayWidth in toString()
249 dest.writeInt(mDisplayWidth); in writeToParcel()
335 shape.mRotation, shape.mDisplayWidth, shape.mDisplayHeight, matrix); in getPath()
DDisplayCutout.java279 private final int mDisplayWidth; field in DisplayCutout.CutoutPathParserInfo
292 mDisplayWidth = displayWidth; in CutoutPathParserInfo()
304 mDisplayWidth = cutoutPathParserInfo.mDisplayWidth; in CutoutPathParserInfo()
316 return mDisplayWidth; in getDisplayWidth()
358 result = result * 48271 + Integer.hashCode(mDisplayWidth); in hashCode()
377 return mDisplayWidth == c.mDisplayWidth && mDisplayHeight == c.mDisplayHeight in equals()
389 return "CutoutPathParserInfo{displayWidth=" + mDisplayWidth in toString()
/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/packages/SystemUI/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractor.java60 private int mDisplayWidth = -1; field in WallpaperLocalColorExtractor
143 if (displayWidth == mDisplayWidth && displayHeight == mDisplayHeight) return; in setDisplayDimensionsSynchronized()
144 mDisplayWidth = displayWidth; in setDisplayDimensionsSynchronized()
389 if (mDisplayWidth <= 0 || mDisplayHeight <= 0) { in pageToImgRect()
399 float mappedScreenWidth = mDisplayWidth * imageScale; in pageToImgRect()
433 if (mDisplayWidth < 0 || mDisplayHeight < 0 || mPages < 0) return; in processLocalColorsInternal()
459 out.print(prefix); out.print("display="); out.println(mDisplayWidth + "x" + mDisplayHeight); in dump()
/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerSnapAlgorithm.java77 private final int mDisplayWidth; field in DividerSnapAlgorithm
137 mDisplayWidth = displayWidth; in DividerSnapAlgorithm()
171 : mDisplayWidth; in isSplitScreenFeasible()
319 : mDisplayWidth; in calculateTargets()
354 : mDisplayWidth - mInsets.right; in addFixedDivisionTargets()
368 : mDisplayWidth - mInsets.right; in addRatio16_9Targets()
371 ? mDisplayWidth - mInsets.right in addRatio16_9Targets()
392 mInsets, mDisplayWidth, mDisplayHeight, mDividerSize); in addMiddleTarget()
404 position = mDisplayWidth - position - mInsets.right - mDividerSize; in addMinimizedTarget()
/frameworks/av/include/private/media/
DVideoFrame.h44 mDisplayWidth(displayWidth), mDisplayHeight(displayHeight), in VideoFrame()
85 uint32_t mDisplayWidth; // Display width before rotation variable
/frameworks/base/services/core/java/com/android/server/display/
DColorFade.java96 private int mDisplayWidth; // real width, not rotated field in ColorFade
178 mDisplayWidth = displayInfo.getNaturalWidth(); in prepare()
315 setQuad(mVertexBuffer, 0, 0, mDisplayWidth, mDisplayHeight); in initGLBuffers()
583 GLES20.glViewport(0, 0, mDisplayWidth, mDisplayHeight);
584 ortho(0, mDisplayWidth, 0, mDisplayHeight, -1, 1);
632 mTransaction.setWindowCrop(mSurfaceControl, mDisplayWidth, mDisplayHeight);
647 mDisplayWidth, mDisplayHeight, PixelFormat.TRANSLUCENT);
861 pw.println(" mDisplayWidth=" + mDisplayWidth);
/frameworks/native/services/surfaceflinger/tests/
DRelativeZ_test.cpp242 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F()
257 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::GREEN); in TEST_F()
271 sc->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), testLayerColor); in TEST_F()
DIPC_test.cpp232 mDisplayWidth = mode.resolution.getWidth(); in SetUp()
247 uint32_t mDisplayWidth; member in android::test::IPCTest
309 {0, 0, static_cast<int32_t>(mDisplayWidth), in TEST_F()
322 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.h276 uint32_t mDisplayWidth; variable
297 mDisplayWidth = mDisplayRect.getWidth(); in SetUpDisplay()
312 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()
1348 shot->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::RED); in TEST_P()
1349 shot->expectBorder(Rect(0, 0, mDisplayWidth, mDisplayHeight), Color::BLACK); in TEST_P()
DScreenCapture_test.cpp38 createLayer(String8("RootTestSurface"), mDisplayWidth, mDisplayHeight, 0); in SetUp()
43 mBGSurfaceControl = createLayer(String8("BG Test Surface"), mDisplayWidth, mDisplayHeight, in SetUp()
991 mCapture->expectColor(Rect(0, 0, mDisplayWidth, mDisplayHeight), {63, 63, 195, 255}); in TEST_F()
DLayerTypeAndRenderTypeTransaction_test.cpp143 Transaction().setCrop(parent, Rect(0, 0, mDisplayWidth, mDisplayHeight)).apply(); in TEST_P()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp45 info->mWidth = videoFrame->mDisplayWidth; in initFrameInfo()
390 videoFrame->mDisplayWidth, in reinit()
427 videoFrame->mDisplayWidth, in reinit()
660 videoFrame->mDisplayWidth, in decode()
728 videoFrame->mDisplayWidth, in decodeSequence()
754 uint32_t width = std::min(videoFrame->mDisplayWidth, videoFrame->mWidth); in getScanlineInner()
/frameworks/base/services/core/java/com/android/server/wm/
DInputMonitor.java96 private int mDisplayWidth; field in InputMonitor
169 consumer.layout(mInputTransaction, mDisplayWidth, mDisplayHeight); in addInputConsumer()
198 if (mDisplayWidth == dw && mDisplayHeight == dh) { in layoutInputConsumers()
201 mDisplayWidth = dw; in layoutInputConsumers()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp268 videoFrame->mDisplayWidth, in getBitmapFromVideoFrame()
281 displayHeight = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame()
285 displayWidth = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22627 Landroid/inputmethodservice/Keyboard;->mDisplayWidth:I