Searched defs:scalingMode (Results 1 - 15 of 15) 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 DBufferQueueCore.h312 scalingMode(_scalingMode),
318 uint32_t scalingMode; member in struct:android::BufferQueueCore::SharedBufferCache
H A DIGraphicBufferProducer.h300 // scalingMode - a set of flags from NATIVE_WINDOW_SCALING_* in <window.h>
307 android_dataspace dataSpace, const Rect& crop, int scalingMode,
310 dataSpace(dataSpace), crop(crop), scalingMode(scalingMode),
322 *outScalingMode = scalingMode;
344 int scalingMode; member in struct:android::IGraphicBufferProducer::QueueBufferInput
306 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
/frameworks/native/libs/gui/
H A DBufferItem.cpp214 const char* BufferItem::scalingModeName(uint32_t scalingMode) { argument
215 switch (scalingMode) {
H A DBufferQueueProducer.cpp733 int scalingMode; local
737 input.deflate(&timestamp, &isAutoTimestamp, &dataSpace, &crop, &scalingMode,
746 switch (scalingMode) {
753 BQ_LOGE("queueBuffer: unknown scaling mode %d", scalingMode);
800 BufferItem::scalingModeName(static_cast<uint32_t>(scalingMode)));
830 item.mScalingMode = static_cast<uint32_t>(scalingMode);
850 mCore->mSharedBufferCache.scalingMode = static_cast<uint32_t>(
851 scalingMode);
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp74 int scalingMode; local
79 &scalingMode, &transform, &fence, NULL);
84 ASSERT_EQ(static_cast<uint32_t>(scalingMode), item.mScalingMode);
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
/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.cpp617 jint scalingMode) {
620 ctrl->setOverrideScalingMode(scalingMode);
616 nativeSetOverrideScalingMode(JNIEnv* env, jclass clazz, jlong nativeObject, jint scalingMode) argument
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyCameraDevice.java817 private static native int nativeSetScalingMode(Surface surface, int scalingMode); argument
/frameworks/base/core/java/android/view/
H A DSurface.java60 private static native int nativeSetScalingMode(long nativeObject, int scalingMode); argument
522 void setScalingMode(@ScalingMode int scalingMode) { argument
525 int err = nativeSetScalingMode(mNativeObject, scalingMode);
527 throw new IllegalArgumentException("Invalid scaling mode: " + scalingMode);
H A DSurfaceControl.java90 int scalingMode);
387 public void setOverrideScalingMode(int scalingMode) { argument
389 nativeSetOverrideScalingMode(mNativeObject, scalingMode);
89 nativeSetOverrideScalingMode(long nativeObject, int scalingMode) argument
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp509 int scalingMode; local
512 &scalingMode, &transform, &mFbFence);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h150 status_t setPreviewScalingMode(int scalingMode) argument
153 mPreviewScalingMode = scalingMode;
156 scalingMode);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp1389 "doTransaction: geometry (layer=%p '%s'), tr=%02x, scalingMode=%d\n"
1595 bool Layer::setOverrideScalingMode(int32_t scalingMode) { argument
1596 if (scalingMode == mOverrideScalingMode)
1598 mOverrideScalingMode = scalingMode;
1824 "[%s] latchBuffer/reject: buffer (%ux%u, tr=%02x), scalingMode=%d\n"
2002 const uint32_t scalingMode(mSurfaceFlingerConsumer->getCurrentScalingMode());
2005 (scalingMode != mCurrentScalingMode))
2009 mCurrentScalingMode = scalingMode;

Completed in 205 milliseconds