Home
last modified time | relevance | path

Searched refs:reqHeight (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()
110 while ((halfHeight / inSampleSize) > reqHeight 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,
28 mReqHeight(reqHeight), in mReqWidth()
DDisplayDevice.h257 uint32_t reqHeight, ui::Dataspace reqDataSpace,
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()
5677 reqHeight = uint32_t(display->getViewport().height()); 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()
5845 int reqHeight = 0; in captureLayers() local
5876 reqHeight = crop.height() * frameScale; in captureLayers()
5893 if (reqHeight <= 0) { in captureLayers()
5894 reqHeight = 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
1327 mReqHeight = reqHeight; 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.cpp126 uint32_t reqHeight = mReqHeight ? mReqHeight : mUserHeight; in allocateBuffers() local
127 mGraphicBufferProducer->allocateBuffers(reqWidth, reqHeight, in allocateBuffers()
540 uint32_t reqHeight; in dequeueBuffer() local
552 reqHeight = mReqHeight ? mReqHeight : mUserHeight; 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
123 data.writeUint32(reqHeight); in captureScreen()
1070 uint32_t reqHeight = data.readUint32(); in onTransact() local
1077 reqPixelFormat, sourceCrop, reqWidth, reqHeight, in onTransact()