/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | Utils.java | 97 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/ |
D | RenderArea.h | 18 RenderArea(uint32_t reqHeight, uint32_t reqWidth, CaptureFill captureFill, 20 : mReqHeight(reqHeight), mReqWidth(reqWidth), mCaptureFill(captureFill) { in mReqHeight()
|
D | DisplayDevice.h | 344 uint32_t reqWidth, ISurfaceComposer::Rotation rotation) in DisplayRenderArea() argument 345 : RenderArea(reqHeight, reqWidth, CaptureFill::OPAQUE, rotation), mDevice(device), in DisplayRenderArea()
|
D | SurfaceFlinger.cpp | 4709 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 …]
|
D | SurfaceFlinger.h | 421 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | IWallpaperService.aidl | 28 int reqWidth, int reqHeight, in Rect padding); in attach() argument
|
D | WallpaperService.java | 1255 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/ |
D | ISurfaceComposer.h | 178 Rect sourceCrop, uint32_t reqWidth, uint32_t reqHeight,
|
D | SurfaceComposerClient.h | 312 static status_t capture(const sp<IBinder>& display, Rect sourceCrop, uint32_t reqWidth,
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 106 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()
|
D | Surface.cpp | 122 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()
|
D | SurfaceComposerClient.cpp | 764 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()
|