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.h26 RenderArea(uint32_t reqWidth, uint32_t reqHeight, CaptureFill captureFill,
29 : mReqWidth(reqWidth), in mReqWidth() argument
DDisplayDevice.h249 DisplayRenderArea(sp<const DisplayDevice> display, const Rect& sourceCrop, uint32_t reqWidth,
252 : RenderArea(reqWidth, reqHeight, CaptureFill::OPAQUE, reqDataSpace,
DSurfaceFlinger.cpp5418 const Rect& sourceCrop, uint32_t reqWidth, in captureScreen() argument
5440 if (reqWidth == 0 || reqHeight == 0) { in captureScreen()
5441 reqWidth = uint32_t(display->getViewport().width()); in captureScreen()
5446 DisplayRenderArea renderArea(display, sourceCrop, reqWidth, reqHeight, reqDataspace, in captureScreen()
5566 int32_t reqWidth, int32_t reqHeight, Dataspace reqDataSpace, in captureLayers() argument
5568 : RenderArea(reqWidth, reqHeight, CaptureFill::CLEAR, reqDataSpace, displayViewport), in captureLayers()
5643 int reqWidth = 0; in captureLayers() local
5681 reqWidth = crop.width() * frameScale; in captureLayers()
5703 if (reqWidth <= 0) { in captureLayers()
5704 reqWidth = 1; in captureLayers()
[all …]
DSurfaceFlinger.h434 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
/frameworks/base/core/java/android/service/wallpaper/
DIWallpaperService.aidl28 int reqWidth, int reqHeight, in Rect padding, int displayId); in attach() argument
DWallpaperService.java1354 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding, in IWallpaperEngineWrapper() argument
1361 mReqWidth = reqWidth; in IWallpaperEngineWrapper()
1566 int windowType, boolean isPreview, int reqWidth, int reqHeight, Rect padding, in attach() argument
1569 windowType, isPreview, reqWidth, reqHeight, padding, displayId); in attach()
/frameworks/native/libs/gui/include/gui/
DISurfaceComposer.h272 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
297 const Rect& sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
302 ui::PixelFormat::RGBA_8888, sourceCrop, reqWidth, reqHeight,
DSurfaceComposerClient.h599 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
604 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform,
/frameworks/native/libs/gui/
DSurface.cpp139 uint32_t reqWidth = mReqWidth ? mReqWidth : mUserWidth; in allocateBuffers() local
141 mGraphicBufferProducer->allocateBuffers(reqWidth, reqHeight, in allocateBuffers()
623 uint32_t reqWidth; in dequeueBuffer() local
635 reqWidth = mReqWidth ? mReqWidth : mUserWidth; in dequeueBuffer()
659 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, reqWidth, reqHeight, in dequeueBuffer()
668 reqWidth, reqHeight, reqFormat, reqUsage, result); in dequeueBuffer()
DSurfaceComposerClient.cpp1912 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in capture() argument
1918 reqPixelFormat, sourceCrop, reqWidth, reqHeight, in capture()
1928 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in capture() argument
1931 return capture(display, reqDataSpace, reqPixelFormat, sourceCrop, reqWidth, reqHeight, in capture()
DISurfaceComposer.cpp117 uint32_t reqWidth, uint32_t reqHeight, bool useIdentityTransform, in captureScreen() argument
125 data.writeUint32(reqWidth); in captureScreen()
1306 uint32_t reqWidth = data.readUint32(); in onTransact() local
1314 reqPixelFormat, sourceCrop, reqWidth, reqHeight, in onTransact()