Home
last modified time | relevance | path

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

12

/frameworks/native/libs/gui/include/gui/
DCpuConsumer.h55 uint32_t scalingMode; member
80 scalingMode(NATIVE_WINDOW_SCALING_MODE_FREEZE), in LockedBuffer()
DBufferQueueCore.h334 scalingMode(_scalingMode), in SharedBufferCache()
340 uint32_t scalingMode; member
DIGraphicBufferProducer.h340 dataSpace(_dataSpace), crop(_crop), scalingMode(_scalingMode), in timestamp()
354 *outScalingMode = scalingMode;
382 int scalingMode{0};
DBufferItem.h52 static const char* scalingModeName(uint32_t scalingMode);
/frameworks/base/core/java/android/view/
DSurface.java81 private static native int nativeSetScalingMode(long nativeObject, int scalingMode); in nativeSetScalingMode() argument
681 void setScalingMode(@ScalingMode int scalingMode) { in setScalingMode() argument
684 int err = nativeSetScalingMode(mNativeObject, scalingMode); in setScalingMode()
686 throw new IllegalArgumentException("Invalid scaling mode: " + scalingMode); in setScalingMode()
DSurfaceControl.java186 int scalingMode); in nativeSetOverrideScalingMode() argument
1069 public void setOverrideScalingMode(int scalingMode) { in setOverrideScalingMode() argument
1072 sGlobalTransaction.setOverrideScalingMode(this, scalingMode); in setOverrideScalingMode()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp156 scalingMode = QUEUE_BUFFER_INPUT_SCALING_MODE; in QueueBufferInputBuilder()
167 scalingMode, in build()
192 QueueBufferInputBuilder& setScalingMode(int scalingMode) { in setScalingMode()
193 this->scalingMode = scalingMode; in setScalingMode()
212 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/native/libs/gui/
DBufferQueueProducer.cpp772 int scalingMode; in queueBuffer() local
778 &crop, &scalingMode, &transform, &acquireFence, &stickyTransform, in queueBuffer()
790 switch (scalingMode) { in queueBuffer()
797 BQ_LOGE("queueBuffer: unknown scaling mode %d", scalingMode); in queueBuffer()
846 BufferItem::scalingModeName(static_cast<uint32_t>(scalingMode))); in queueBuffer()
879 item.mScalingMode = static_cast<uint32_t>(scalingMode); in queueBuffer()
903 mCore->mSharedBufferCache.scalingMode = static_cast<uint32_t>( in queueBuffer()
904 scalingMode); in queueBuffer()
DBufferItem.cpp258 const char* BufferItem::scalingModeName(uint32_t scalingMode) { in scalingModeName() argument
259 switch (scalingMode) { in scalingModeName()
DCpuConsumer.cpp143 outBuffer->scalingMode = item.mScalingMode; in lockBufferItem()
DIGraphicBufferProducer.cpp1068 sizeof(scalingMode) + in minFlattenedSize()
1096 FlattenableUtils::write(buffer, size, scalingMode); in flatten()
1124 FlattenableUtils::read(buffer, size, scalingMode); in unflatten()
DBufferQueueConsumer.cpp218 outBuffer->mScalingMode = mCore->mSharedBufferCache.scalingMode; in acquireBuffer()
/frameworks/base/media/java/android/media/
DImageWriter.java894 int scalingMode); in nativeQueueInputImage() argument
898 int top, int right, int bottom, int transform, int scalingMode); in nativeAttachAndQueueImage() argument
/frameworks/native/services/surfaceflinger/
DBufferLayer.cpp491 const uint32_t scalingMode(getDrawingScalingMode()); in latchBuffer() local
494 (scalingMode != mCurrentScalingMode) || in latchBuffer()
498 mCurrentScalingMode = scalingMode; in latchBuffer()
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp548 jint scalingMode) { in ImageWriter_queueImage() argument
598 res = native_window_set_scaling_mode(anw.get(), scalingMode); in ImageWriter_queueImage()
626 jint right, jint bottom, jint transform, jint scalingMode) { in ImageWriter_attachAndQueueImage() argument
695 res = native_window_set_scaling_mode(anw.get(), scalingMode); in ImageWriter_attachAndQueueImage()
Dandroid_media_Utils.cpp395 outputImage->scalingMode = bufferItem->mScalingMode; in lockImageFromBuffer()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowSurfaceController.java463 int scalingMode = force ? SCALING_MODE_SCALE_TO_WINDOW : -1; in forceScaleableInTransaction() local
464 mSurfaceControl.setOverrideScalingMode(scalingMode); in forceScaleableInTransaction()
/frameworks/base/core/jni/
Dandroid_view_Surface.cpp418 static jint nativeSetScalingMode(JNIEnv *env, jclass clazz, jlong nativeObject, jint scalingMode) { in nativeSetScalingMode() argument
420 return surface->setScalingMode(scalingMode); in nativeSetScalingMode()
/frameworks/av/services/camera/libcameraservice/device1/
DCameraHardwareInterface.cpp49 status_t CameraHardwareInterface::setPreviewScalingMode(int scalingMode) in setPreviewScalingMode() argument
52 mPreviewScalingMode = scalingMode; in setPreviewScalingMode()
55 scalingMode); in setPreviewScalingMode()
DCameraHardwareInterface.h113 status_t setPreviewScalingMode(int scalingMode);
/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.cpp500 int scalingMode; in queueBuffer() local
503 &scalingMode, &transform, &mFbFence); in queueBuffer()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1268 FlattenableUtils::write(buffer, size, static_cast<int>(t.scalingMode)); in flatten()
1326 t->scalingMode = static_cast<int32_t>(lScalingMode); in unflatten()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java872 private static native int nativeSetScalingMode(Surface surface, int scalingMode); in nativeSetScalingMode() argument

12