Home
last modified time | relevance | path

Searched refs:transformHint (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/native/services/surfaceflinger/FrontEnd/
DDisplayInfo.h39 ui::Transform::RotationFlags transformHint; member
46 << " rotationFlags=" << rotationFlags << " transformHint=" << transformHint << "}"; in getDebugString()
DLayerSnapshot.h95 std::optional<ui::Transform::RotationFlags> transformHint; member
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSurfaceControlTests.java150 final int transformHint = in testSurfaceChangedOnRotation()
153 mInitialTransformHint = transformHint; in testSurfaceChangedOnRotation()
156 } else if (mInitialTransformHint == transformHint in testSurfaceChangedOnRotation()
164 + " transformHint=" + transformHint); in testSurfaceChangedOnRotation()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp398 int transformHint = 0; in dequeueNativeBuffer() local
400 mNativeWindow->query(mNativeWindow.get(), NATIVE_WINDOW_TRANSFORM_HINT, &transformHint); in dequeueNativeBuffer()
417 if (actualSize != mWindowInfo.actualSize || transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
429 if (transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
431 InvertTransform(transformHint)); in dequeueNativeBuffer()
433 ALOGE("native_window_set_buffers_transform(%d) failed: %s (%d)", transformHint, in dequeueNativeBuffer()
438 mWindowInfo.transform = transformHint; in dequeueNativeBuffer()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp201 const auto transformHint = in getOrCreateBuffers() local
206 switch (transformHint) { in getOrCreateBuffers()
219 {refreshRate.getIntValue(), renderFps.getIntValue(), transformHint, idle}); in getOrCreateBuffers()
243 auto buffers = draw(refreshIntFps, renderIntFps, idle, color, transformHint, mFeatures); in getOrCreateBuffers()
245 .try_emplace({refreshIntFps, renderIntFps, transformHint, idle}, in getOrCreateBuffers()
DHdrSdrRatioOverlay.cpp155 const auto transformHint = in getOrCreateBuffers() local
160 switch (transformHint) { in getOrCreateBuffers()
190 auto buffer = draw(currentHdrSdrRatio, color, transformHint, mRingBuffer[mIndex]); in getOrCreateBuffers()
DTransactionCallbackInvoker.h53 std::optional<uint32_t> transformHint = std::nullopt; variable
DTransactionCallbackInvoker.cpp152 handle->transformHint, in addCallbackHandle()
/frameworks/native/libs/gui/aidl/android/gui/
DCreateSurfaceResult.aidl24 int transformHint;
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp156 SAFE_PARCEL(output->writeBool, transformHint.has_value()); in writeToParcel()
157 if (transformHint.has_value()) { in writeToParcel()
158 output->writeUint32(transformHint.value()); in writeToParcel()
195 transformHint = std::make_optional(tempTransformHint); in readFromParcel()
197 transformHint = std::nullopt; in readFromParcel()
DSurfaceControl.cpp256 uint32_t transformHint; in readFromParcel() local
265 SAFE_PARCEL(parcel.readUint32, &transformHint); in readFromParcel()
274 transformHint); in readFromParcel()
DIGraphicBufferProducerFlattenables.cpp116 return sizeof(width) + sizeof(height) + sizeof(transformHint) + sizeof(numPendingBuffers) + in minFlattenedSize()
137 FlattenableUtils::write(buffer, size, transformHint); in flatten()
160 FlattenableUtils::read(buffer, size, transformHint); in unflatten()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionProtoParserTest.cpp119 d1.transformHint = ui::Transform::ROT_90; in TEST()
148 EXPECT_EQ(d1.transformHint, d2.transformHint); in TEST()
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp249 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in setUpProducer()
421 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
458 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
543 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
594 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
648 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
705 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
1281 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
1325 int transformHint; in TEST_F() local
1326 surface->query(NATIVE_WINDOW_TRANSFORM_HINT, &transformHint); in TEST_F()
[all …]
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h152 transformHint(hint), in SurfaceStats()
161 std::optional<uint32_t> transformHint = 0; variable
DSurfaceControl.h103 uint32_t height = 0, PixelFormat format = 0, uint32_t transformHint = 0,
DSurfaceComposerClient.h81 transformHint(hint), in SurfaceControlStats()
90 std::optional<uint32_t> transformHint = 0; member
709 Transaction& setFixedTransformHint(const sp<SurfaceControl>& sc, int32_t transformHint);
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp56 to->transformHint = static_cast<int32_t>(from.transformHint); in b2h()
DH2BGraphicBufferProducer.cpp71 to->transformHint = static_cast<uint32_t>(from.transformHint); in h2b()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1401 t->transformHint = l.transformHint; in wrapAs()
1427 l->transformHint = t.transformHint; in convertTo()
/frameworks/native/libs/gui/include/gui/test/
DCallbackUtils.h139 previousReleaseFence, transformHint, frameEvents, ignore] = in verifySurfaceControlStats()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DStubTransaction.java276 @Surface.Rotation int transformHint) { in setFixedTransformHint() argument
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DStubTransaction.java286 @Surface.Rotation int transformHint) { in setFixedTransformHint() argument
/frameworks/av/media/libmediaplayerservice/fuzzer/
Dmediaplayer_fuzzer.cpp252 uint32_t transformHint = mFdp.ConsumeIntegral<uint32_t>(); in makeSurfaceControl() local
259 transformHint, flags); in makeSurfaceControl()
/frameworks/base/core/java/android/view/
DSurfaceControl.java270 int transformHint); in nativeSetFixedTransformHint() argument
282 @SurfaceControl.BufferTransform int transformHint); in nativeSetTransformHint() argument
3104 @Surface.Rotation int transformHint) { in setFixedTransformHint() argument
3108 "setFixedTransformHint", this, sc, "hint=" + transformHint); in setFixedTransformHint()
3110 nativeSetFixedTransformHint(mNativeObject, sc.mNativeObject, transformHint); in setFixedTransformHint()
4766 public void setTransformHint(@SurfaceControl.BufferTransform int transformHint) { in setTransformHint() argument
4767 nativeSetTransformHint(mNativeObject, transformHint); in setTransformHint()

12