Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp378 int transformHint = 0; in dequeueNativeBuffer() local
380 mNativeWindow->query(mNativeWindow.get(), NATIVE_WINDOW_TRANSFORM_HINT, &transformHint); in dequeueNativeBuffer()
397 if (actualSize != mWindowInfo.actualSize || transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
405 if (transformHint != mWindowInfo.transform) { in dequeueNativeBuffer()
407 InvertTransform(transformHint)); in dequeueNativeBuffer()
409 ALOGE("native_window_set_buffers_transform(%d) failed: %s (%d)", transformHint, in dequeueNativeBuffer()
414 mWindowInfo.transform = transformHint; in dequeueNativeBuffer()
/frameworks/native/services/surfaceflinger/
DRefreshRateOverlay.cpp250 const auto transformHint = in getOrCreateBuffers() local
255 switch (transformHint) { in getOrCreateBuffers()
269 BufferCache::const_iterator it = mBufferCache.find({fps.getIntValue(), transformHint}); in getOrCreateBuffers()
295 auto buffers = SevenSegmentDrawer::draw(intFps, color, transformHint, mShowSpinner); in getOrCreateBuffers()
296 it = mBufferCache.try_emplace({intFps, transformHint}, std::move(buffers)).first; in getOrCreateBuffers()
DTransactionCallbackInvoker.h51 uint32_t transformHint = 0; variable
DTransactionCallbackInvoker.cpp173 handle->transformHint, in addCallbackHandle()
DLayer.cpp1389 void Layer::updateTransformHint(ui::Transform::RotationFlags transformHint) { in updateTransformHint() argument
1390 if (mFlinger->mDebugDisableTransformHint || transformHint & ui::Transform::ROT_INVALID) { in updateTransformHint()
1391 transformHint = ui::Transform::ROT_0; in updateTransformHint()
1394 setTransformHint(transformHint); in updateTransformHint()
/frameworks/native/libs/gui/
DSurfaceControl.cpp231 uint32_t transformHint; in readFromParcel() local
239 SAFE_PARCEL(parcel.readUint32, &transformHint); in readFromParcel()
250 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()
DITransactionCompletedListener.cpp129 SAFE_PARCEL(output->writeUint32, transformHint); in writeToParcel()
159 SAFE_PARCEL(input->readUint32, &transformHint); in readFromParcel()
DSurfaceComposerClient.cpp354 surfaceStats.previousReleaseFence, surfaceStats.transformHint, in onTransactionCompleted()
380 surfaceStats.previousReleaseFence, surfaceStats.transformHint, in onTransactionCompleted()
386 ->setTransformHint(surfaceStats.transformHint); in onTransactionCompleted()
2093 uint32_t transformHint = 0; in createWithSurfaceParent() local
2097 &transformHint); in createWithSurfaceParent()
2099 *outTransformHint = transformHint; in createWithSurfaceParent()
2103 return new SurfaceControl(this, handle, gbp, id, transformHint); in createWithSurfaceParent()
2122 uint32_t transformHint = 0; in createSurfaceChecked() local
2125 &handle, &gbp, &id, &transformHint); in createSurfaceChecked()
2128 *outTransformHint = transformHint; in createSurfaceChecked()
[all …]
DBufferHubProducer.cpp484 output->transformHint = 0; // default value, we don't use it yet. in queueBuffer()
630 output->transformHint = 0; in connect()
/frameworks/native/libs/gui/tests/
DBLASTBufferQueue_test.cpp230 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in setUpProducer()
413 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
450 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
534 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
593 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
656 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
723 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
1259 ASSERT_NE(ui::Transform::ROT_INVALID, qbOutput.transformHint); in TEST_F()
1340 int transformHint; in TEST_F() local
1341 surface->query(NATIVE_WINDOW_TRANSFORM_HINT, &transformHint); in TEST_F()
[all …]
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h141 transformHint(hint), in SurfaceStats()
150 uint32_t transformHint = 0; variable
DSurfaceControl.h98 uint32_t transformHint = 0, uint32_t flags = 0);
DSurfaceComposerClient.h75 transformHint(hint), in SurfaceControlStats()
84 uint32_t transformHint = 0; member
599 Transaction& setFixedTransformHint(const sp<SurfaceControl>& sc, int32_t transformHint);
DIGraphicBufferProducer.h398 uint32_t transformHint{0};
/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.cpp1408 t->transformHint = l.transformHint; in wrapAs()
1434 l->transformHint = t.transformHint; in convertTo()
DH2BGraphicBufferProducer.cpp947 l->transformHint = t.transformHint; in convertTo()
/frameworks/native/libs/gui/include/gui/test/
DCallbackUtils.h138 previousReleaseFence, transformHint, frameEvents, ignore] = in verifySurfaceControlStats()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DStubTransaction.java271 @Surface.Rotation int transformHint) { in setFixedTransformHint() argument
/frameworks/base/core/java/android/view/
DSurfaceControl.java255 int transformHint); in nativeSetFixedTransformHint() argument
267 @SurfaceControl.BufferTransform int transformHint); in nativeSetTransformHint() argument
3019 @Surface.Rotation int transformHint) { in setFixedTransformHint() argument
3021 nativeSetFixedTransformHint(mNativeObject, sc.mNativeObject, transformHint); in setFixedTransformHint()
4173 public void setTransformHint(@SurfaceControl.BufferTransform int transformHint) { in setTransformHint() argument
4174 nativeSetTransformHint(mNativeObject, transformHint); in setTransformHint()
/frameworks/base/native/android/
Dsurface_control.cpp303 previousReleaseFence, transformHint, frameEvents, ignore] : surfaceControlStats) { in ASurfaceTransaction_setOnComplete()
653 previousReleaseFence, transformHint, frameEvents, ignore] : in ASurfaceTransaction_setOnCommit()
/frameworks/native/services/surfaceflinger/tests/
DLayerRenderTypeTransaction_test.cpp139 uint32_t transformHint = ui::Transform::ROT_INVALID; in TEST_P() local
143 /*parent*/ nullptr, &transformHint)); in TEST_P()
144 ASSERT_NE(ui::Transform::ROT_INVALID, transformHint); in TEST_P()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.cpp601 mQueueBufferOutput.transformHint = 0; in updateQueueBufferOutput()

12