Home
last modified time | relevance | path

Searched refs:scalingMode (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DSurfaceProxy.kt51 fun SurfaceSetScalingMode(scalingMode: ScalingMode) { in ANativeWindowSetBuffersTransform()
52 SurfaceSetScalingMode(scalingMode.ordinal) in ANativeWindowSetBuffersTransform()
54 external fun SurfaceSetScalingMode(scalingMode: Int)
/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h55 uint32_t scalingMode; member
80 scalingMode(NATIVE_WINDOW_SCALING_MODE_FREEZE), in LockedBuffer()
DBLASTBufferQueue.h172 uint32_t scalingMode = NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW; member
176 uint32_t scalingMode, const Rect& crop) { in update()
181 this->scalingMode = scalingMode; in update()
DBufferQueueCore.h332 scalingMode(_scalingMode), in SharedBufferCache()
338 uint32_t scalingMode; member
DBufferItem.h52 static const char* scalingModeName(uint32_t scalingMode);
DIGraphicBufferProducer.h320 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode), in timestamp()
338 *outScalingMode = scalingMode;
369 int scalingMode{0};
/frameworks/base/core/java/android/hardware/camera2/extension/
DParcelImage.aidl29 int scalingMode;
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp613 jint scalingMode) { in ImageWriter_queueImage() argument
663 res = native_window_set_scaling_mode(anw.get(), scalingMode); in ImageWriter_queueImage()
697 jint right, jint bottom, jint transform, jint scalingMode) { in attachAndQeueuGraphicBuffer() argument
742 res = native_window_set_scaling_mode(anw.get(), scalingMode); in attachAndQeueuGraphicBuffer()
779 jint right, jint bottom, jint transform, jint scalingMode) { in ImageWriter_attachAndQueueImage() argument
805 top, right, bottom, transform, scalingMode); in ImageWriter_attachAndQueueImage()
810 jint right, jint bottom, jint transform, jint scalingMode) { in ImageWriter_attachAndQueueGraphicBuffer() argument
835 top, right, bottom, transform, scalingMode); in ImageWriter_attachAndQueueGraphicBuffer()
Dandroid_media_Utils.cpp490 outputImage->scalingMode = bufferItem->mScalingMode; in lockImageFromBuffer()
/frameworks/base/core/java/android/view/
DSurface.java91 private static native int nativeSetScalingMode(long nativeObject, int scalingMode); in nativeSetScalingMode() argument
772 public void setScalingMode(@ScalingMode int scalingMode) { in setScalingMode() argument
775 int err = nativeSetScalingMode(mNativeObject, scalingMode); in setScalingMode()
777 throw new IllegalArgumentException("Invalid scaling mode: " + scalingMode); in setScalingMode()
/frameworks/base/media/java/android/media/
DImageWriter.java980 int scalingMode); in nativeQueueInputImage() argument
984 int top, int right, int bottom, int transform, int scalingMode); in nativeAttachAndQueueImage() argument
987 int top, int right, int bottom, int transform, int scalingMode); in nativeAttachAndQueueGraphicBuffer() argument
DImageReader.java1201 int scalingMode, Rect crop) { in initializeImagePlanes() argument
/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp27 sizeof(scalingMode) + in minFlattenedSize()
56 FlattenableUtils::write(buffer, size, scalingMode); in flatten()
90 FlattenableUtils::read(buffer, size, scalingMode); in unflatten()
DBufferItem.cpp258 const char* BufferItem::scalingModeName(uint32_t scalingMode) { in scalingModeName() argument
259 switch (scalingMode) { in scalingModeName()
DBufferQueueProducer.cpp813 int scalingMode; in queueBuffer() local
819 &crop, &scalingMode, &transform, &acquireFence, &stickyTransform, in queueBuffer()
831 switch (scalingMode) { in queueBuffer()
838 BQ_LOGE("queueBuffer: unknown scaling mode %d", scalingMode); in queueBuffer()
887 BufferItem::scalingModeName(static_cast<uint32_t>(scalingMode))); in queueBuffer()
920 item.mScalingMode = static_cast<uint32_t>(scalingMode); in queueBuffer()
944 mCore->mSharedBufferCache.scalingMode = static_cast<uint32_t>( in queueBuffer()
945 scalingMode); in queueBuffer()
DCpuConsumer.cpp143 outBuffer->scalingMode = item.mScalingMode; in lockBufferItem()
DBufferQueueConsumer.cpp247 outBuffer->mScalingMode = mCore->mSharedBufferCache.scalingMode; in acquireBuffer()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp159 scalingMode = QUEUE_BUFFER_INPUT_SCALING_MODE; in QueueBufferInputBuilder()
173 scalingMode, in build()
201 QueueBufferInputBuilder& setScalingMode(int scalingMode) { in setScalingMode()
202 this->scalingMode = scalingMode; in setScalingMode()
236 int scalingMode; member
DBufferQueue_test.cpp80 int scalingMode; in testBufferItem() local
85 &scalingMode, &transform, &fence, nullptr); in testBufferItem()
90 ASSERT_EQ(static_cast<uint32_t>(scalingMode), item.mScalingMode); in testBufferItem()
/frameworks/base/tests/SurfaceViewBufferTests/cpp/
DSurfaceProxy.cpp115 jint scalingMode) { in Java_com_android_test_SurfaceProxy_SurfaceSetScalingMode() argument
118 return surface->setScalingMode(scalingMode); in Java_com_android_test_SurfaceProxy_SurfaceSetScalingMode()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp405 static jint nativeSetScalingMode(JNIEnv *env, jclass clazz, jlong nativeObject, jint scalingMode) { in nativeSetScalingMode() argument
407 return surface->setScalingMode(scalingMode); in nativeSetScalingMode()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp62 QueueBufferInputBuilder& setScalingMode(int scalingMode) { in setScalingMode()
63 this->mScalingMode = scalingMode; in setScalingMode()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp516 int scalingMode; in queueBuffer() local
519 &scalingMode, &transform, &mFbFence); in queueBuffer()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1255 FlattenableUtils::write(buffer, size, static_cast<int>(t.scalingMode)); in flatten()
1314 t->scalingMode = static_cast<int32_t>(lScalingMode); in unflatten()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java1581 return mParcelImage.scalingMode; in getScalingMode()
1592 mParcelImage.transform, mParcelImage.scalingMode, mParcelImage.crop); in getPlanes()

12