Searched refs:scalingMode (Results 1 - 22 of 22) sorted by relevance

/frameworks/native/include/gui/
H A DCpuConsumer.h54 uint32_t scalingMode; member in struct:android::CpuConsumer::LockedBuffer
79 scalingMode(NATIVE_WINDOW_SCALING_MODE_FREEZE),
H A DIGraphicBufferProducer.h302 // scalingMode - a set of flags from NATIVE_WINDOW_SCALING_* in <window.h>
309 android_dataspace dataSpace, const Rect& crop, int scalingMode,
312 dataSpace(dataSpace), crop(crop), scalingMode(scalingMode),
324 *outScalingMode = scalingMode;
346 int scalingMode; member in struct:android::IGraphicBufferProducer::QueueBufferInput
308 QueueBufferInput(int64_t timestamp, bool isAutoTimestamp, android_dataspace dataSpace, const Rect& crop, int scalingMode, uint32_t transform, const sp<Fence>& fence, uint32_t sticky = 0) argument
H A DBufferItem.h50 static const char* scalingModeName(uint32_t scalingMode);
H A DBufferQueueCore.h324 scalingMode(_scalingMode),
330 uint32_t scalingMode; member in struct:android::BufferQueueCore::SharedBufferCache
/frameworks/base/core/java/android/view/
H A DSurface.java72 private static native int nativeSetScalingMode(long nativeObject, int scalingMode); argument
544 void setScalingMode(@ScalingMode int scalingMode) { argument
547 int err = nativeSetScalingMode(mNativeObject, scalingMode);
549 throw new IllegalArgumentException("Invalid scaling mode: " + scalingMode);
H A DSurfaceControl.java94 int scalingMode);
393 public void setOverrideScalingMode(int scalingMode) { argument
395 nativeSetOverrideScalingMode(mNativeObject, scalingMode);
93 nativeSetOverrideScalingMode(long nativeObject, int scalingMode) argument
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp131 scalingMode = QUEUE_BUFFER_INPUT_SCALING_MODE;
142 scalingMode,
167 QueueBufferInputBuilder& setScalingMode(int scalingMode) { argument
168 this->scalingMode = scalingMode;
187 int scalingMode; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
H A DBufferQueue_test.cpp78 int scalingMode; local
83 &scalingMode, &transform, &fence, NULL);
88 ASSERT_EQ(static_cast<uint32_t>(scalingMode), item.mScalingMode);
/frameworks/native/libs/gui/
H A DBufferItem.cpp214 const char* BufferItem::scalingModeName(uint32_t scalingMode) { argument
215 switch (scalingMode) {
H A DBufferQueueProducer.cpp739 int scalingMode; local
743 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop, &scalingMode,
752 switch (scalingMode) {
759 BQ_LOGE("queueBuffer: unknown scaling mode %d", scalingMode);
806 BufferItem::scalingModeName(static_cast<uint32_t>(scalingMode)));
836 item.mScalingMode = static_cast<uint32_t>(scalingMode);
856 mCore->mSharedBufferCache.scalingMode = static_cast<uint32_t>(
857 scalingMode);
H A DCpuConsumer.cpp192 nativeBuffer->scalingMode = b.mScalingMode;
H A DIGraphicBufferProducer.cpp781 + sizeof(scalingMode)
802 FlattenableUtils::write(buffer, size, scalingMode);
820 + sizeof(scalingMode)
832 FlattenableUtils::read(buffer, size, scalingMode);
H A DBufferQueueConsumer.cpp212 outBuffer->mScalingMode = mCore->mSharedBufferCache.scalingMode;
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h150 status_t setPreviewScalingMode(int scalingMode) argument
153 mPreviewScalingMode = scalingMode;
156 scalingMode);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp485 static jint nativeSetScalingMode(JNIEnv *env, jclass clazz, jlong nativeObject, jint scalingMode) { argument
487 return surface->setScalingMode(scalingMode);
H A Dandroid_view_SurfaceControl.cpp657 jint scalingMode) {
660 ctrl->setOverrideScalingMode(scalingMode);
656 nativeSetOverrideScalingMode(JNIEnv* env, jclass clazz, jlong nativeObject, jint scalingMode) argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp512 int scalingMode; local
515 &scalingMode, &transform, &mFbFence);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1462 "doTransaction: geometry (layer=%p '%s'), tr=%02x, scalingMode=%d\n"
1672 bool Layer::setOverrideScalingMode(int32_t scalingMode) { argument
1673 if (scalingMode == mOverrideScalingMode)
1675 mOverrideScalingMode = scalingMode;
1913 "[%s] latchBuffer/reject: buffer (%ux%u, tr=%02x), scalingMode=%d\n"
2098 const uint32_t scalingMode(mSurfaceFlingerConsumer->getCurrentScalingMode());
2101 (scalingMode != mCurrentScalingMode))
2105 mCurrentScalingMode = scalingMode;
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowSurfaceController.java451 int scalingMode = force ? SCALING_MODE_SCALE_TO_WINDOW : -1;
452 mSurfaceControl.setOverrideScalingMode(scalingMode);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java817 private static native int nativeSetScalingMode(Surface surface, int scalingMode); argument
/frameworks/base/media/jni/
H A Dandroid_media_ImageReader.cpp666 image->scalingMode = buffer->mScalingMode;
672 // crop, transform, scalingMode, timestamp, and frameNumber should be set by producer,
H A Dandroid_media_Utils.cpp901 // Crop, transform, scalingMode, timestamp, and frameNumber should be set by caller,
923 outputImage->scalingMode = bufferItem->mScalingMode;

Completed in 417 milliseconds