Home
last modified time | relevance | path

Searched refs:reqWidth (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java97 BitmapFactory.Options options, int reqWidth, int reqHeight) { in calculateInSampleSize() argument
103 if (height > reqHeight || width > reqWidth) { in calculateInSampleSize()
111 && (halfWidth / inSampleSize) > reqWidth) { in calculateInSampleSize()
120 int reqWidth, int reqHeight) { in decodeSampledBitmapFromResource() argument
128 options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight); in decodeSampledBitmapFromResource()
/frameworks/native/services/surfaceflinger/
DRenderArea.h24 RenderArea(uint32_t reqWidth, uint32_t reqHeight, CaptureFill captureFill,
27 : mReqWidth(reqWidth), in mReqWidth() argument
DDisplayDevice.h256 DisplayRenderArea(const sp<const DisplayDevice> device, Rect sourceCrop, uint32_t reqWidth,
259 : RenderArea(reqWidth, reqHeight, CaptureFill::OPAQUE, reqDataSpace,
DSurfaceFlinger.cpp5542 uint32_t reqWidth, uint32_t reqHeight, in captureScreen() argument
5561 if (reqWidth == 0 || reqHeight == 0) { in captureScreen()
5562 reqWidth = uint32_t(display->getViewport().width()); in captureScreen()
5567 DisplayRenderArea renderArea(display, sourceCrop, reqWidth, reqHeight, reqDataspace, in captureScreen()
5651 int32_t reqWidth, int32_t reqHeight, Dataspace reqDataSpace, in captureLayers() argument
5653 : RenderArea(reqWidth, reqHeight, CaptureFill::CLEAR, reqDataSpace), in captureLayers()
5730 int reqWidth = 0; in captureLayers() local
5761 reqWidth = crop.width() * frameScale; in captureLayers()
5776 if (reqWidth <= 0) { in captureLayers()
5777 reqWidth = 1; in captureLayers()
[all …]
DSurfaceFlinger.h406 uint32_t reqWidth, uint32_t reqHeight,
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl28 int reqWidth, int reqHeight, in Rect padding, int displayId); in attach() argument
DWallpaperService.java1319 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding, in IWallpaperEngineWrapper() argument
1326 mReqWidth = reqWidth; in IWallpaperEngineWrapper()
1524 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding, in attach() argument
1527 windowType, isPreview, reqWidth, reqHeight, padding, displayId); in attach()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h217 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
242 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
246 ui::PixelFormat::RGBA_8888, sourceCrop, reqWidth, reqHeight,
DSurfaceComposerClient.h521 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
526 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
/frameworks/native/libs/gui/
DSurface.cpp124 uint32_t reqWidth = mReqWidth ? mReqWidth : mUserWidth; in allocateBuffers() local
126 mGraphicBufferProducer->allocateBuffers(reqWidth, reqHeight, in allocateBuffers()
538 uint32_t reqWidth; in dequeueBuffer() local
550 reqWidth = mReqWidth ? mReqWidth : mUserWidth; in dequeueBuffer()
574 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, reqWidth, reqHeight, in dequeueBuffer()
583 reqWidth, reqHeight, reqFormat, reqUsage, result); in dequeueBuffer()
DSurfaceComposerClient.cpp1559 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in capture() argument
1566 reqPixelFormat, sourceCrop, reqWidth, reqHeight, useIdentityTransform, in capture()
1577 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in capture() argument
1580 return capture(display, reqDataSpace, reqPixelFormat, sourceCrop, reqWidth, reqHeight, in capture()
DISurfaceComposer.cpp114 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in captureScreen() argument
122 data.writeUint32(reqWidth); in captureScreen()
1068 uint32_t reqWidth = data.readUint32(); in onTransact() local
1076 reqPixelFormat, sourceCrop, reqWidth, reqHeight, in onTransact()