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.h18 RenderArea(uint32_t reqHeight, uint32_t reqWidth, CaptureFill captureFill,
20 : mReqHeight(reqHeight), mReqWidth(reqWidth), mCaptureFill(captureFill) { in mReqHeight()
DDisplayDevice.h344 uint32_t reqWidth, ISurfaceComposer::Rotation rotation) in DisplayRenderArea() argument
345 : RenderArea(reqHeight, reqWidth, CaptureFill::OPAQUE, rotation), mDevice(device), in DisplayRenderArea()
DSurfaceFlinger.cpp4709 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in captureScreen() argument
4720 DisplayRenderArea renderArea(device, sourceCrop, reqHeight, reqWidth, rotation); in captureScreen()
4735 int32_t reqWidth, int32_t reqHeight, bool childrenOnly) in captureLayers() argument
4736 : RenderArea(reqHeight, reqWidth, CaptureFill::CLEAR), in captureLayers()
4823 int32_t reqWidth = crop.width() * frameScale; in captureLayers() local
4826 LayerRenderArea renderArea(this, parent, crop, reqWidth, reqHeight, childrenOnly); in captureLayers()
4927 const auto reqWidth = renderArea.getReqWidth(); in renderScreenImplLocked() local
4933 filtering = static_cast<int32_t>(reqWidth) != raHeight || in renderScreenImplLocked()
4936 filtering = static_cast<int32_t>(reqWidth) != raWidth || in renderScreenImplLocked()
5015 engine.setViewportAndProjection(reqWidth, reqHeight, sourceCrop, raHeight, yswap, in renderScreenImplLocked()
[all …]
DSurfaceFlinger.h421 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl28 int reqWidth, int reqHeight, in Rect padding); in attach() argument
DWallpaperService.java1255 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) { in IWallpaperEngineWrapper() argument
1261 mReqWidth = reqWidth; in IWallpaperEngineWrapper()
1435 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding) { in attach() argument
1437 windowType, isPreview, reqWidth, reqHeight, padding); in attach()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h178 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
DSurfaceComposerClient.h312 static status_t capture(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth,
/frameworks/native/libs/gui/
DISurfaceComposer.cpp106 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight, in captureScreen() argument
113 data.writeUint32(reqWidth); in captureScreen()
612 uint32_t reqWidth = data.readUint32(); in onTransact() local
619 status_t res = captureScreen(display, &outBuffer, sourceCrop, reqWidth, reqHeight, in onTransact()
DSurface.cpp122 uint32_t reqWidth = mReqWidth ? mReqWidth : mUserWidth; in allocateBuffers() local
124 mGraphicBufferProducer->allocateBuffers(reqWidth, reqHeight, in allocateBuffers()
477 uint32_t reqWidth; in dequeueBuffer() local
489 reqWidth = mReqWidth ? mReqWidth : mUserWidth; in dequeueBuffer()
513 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, reqWidth, reqHeight, in dequeueBuffer()
522 reqWidth, reqHeight, reqFormat, reqUsage, result); in dequeueBuffer()
DSurfaceComposerClient.cpp764 status_t ScreenshotClient::capture(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth, in capture() argument
770 status_t ret = s->captureScreen(display, outBuffer, sourceCrop, reqWidth, reqHeight, minLayerZ, in capture()