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.cpp5656 uint32_t reqWidth, uint32_t reqHeight, in captureScreen() argument
5675 if (reqWidth == 0 || reqHeight == 0) { in captureScreen()
5676 reqWidth = uint32_t(display->getViewport().width()); in captureScreen()
5681 DisplayRenderArea renderArea(display, sourceCrop, reqWidth, reqHeight, reqDataspace, in captureScreen()
5765 int32_t reqWidth, int32_t reqHeight, Dataspace reqDataSpace, in captureLayers() argument
5767 : RenderArea(reqWidth, reqHeight, CaptureFill::CLEAR, reqDataSpace), in captureLayers()
5844 int reqWidth = 0; in captureLayers() local
5875 reqWidth = crop.width() * frameScale; in captureLayers()
5890 if (reqWidth <= 0) { in captureLayers()
5891 reqWidth = 1; in captureLayers()
[all …]
DSurfaceFlinger.h421 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.h220 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
245 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
249 ui::PixelFormat::RGBA_8888, sourceCrop, reqWidth, reqHeight,
DSurfaceComposerClient.h520 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
525 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
/frameworks/native/libs/gui/
DSurface.cpp125 uint32_t reqWidth = mReqWidth ? mReqWidth : mUserWidth; in allocateBuffers() local
127 mGraphicBufferProducer->allocateBuffers(reqWidth, reqHeight, in allocateBuffers()
539 uint32_t reqWidth; in dequeueBuffer() local
551 reqWidth = mReqWidth ? mReqWidth : mUserWidth; in dequeueBuffer()
575 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, reqWidth, reqHeight, in dequeueBuffer()
584 reqWidth, reqHeight, reqFormat, reqUsage, result); in dequeueBuffer()
DSurfaceComposerClient.cpp1560 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in capture() argument
1567 reqPixelFormat, sourceCrop, reqWidth, reqHeight, useIdentityTransform, in capture()
1578 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in capture() argument
1581 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()
1069 uint32_t reqWidth = data.readUint32(); in onTransact() local
1077 reqPixelFormat, sourceCrop, reqWidth, reqHeight, in onTransact()