/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | StubTransaction.java | 32 public class StubTransaction extends SurfaceControl.Transaction { 46 public SurfaceControl.Transaction setVisibility(SurfaceControl sc, boolean visible) { in setVisibility() 51 public SurfaceControl.Transaction show(SurfaceControl sc) { in show() 56 public SurfaceControl.Transaction hide(SurfaceControl sc) { in hide() 61 public SurfaceControl.Transaction setPosition(SurfaceControl sc, float x, float y) { in setPosition() 66 public SurfaceControl.Transaction setBufferSize(SurfaceControl sc, in setBufferSize() 72 public SurfaceControl.Transaction setLayer(SurfaceControl sc, int z) { in setLayer() 77 public SurfaceControl.Transaction setRelativeLayer(SurfaceControl sc, SurfaceControl relativeTo, in setRelativeLayer() 83 public SurfaceControl.Transaction setTransparentRegionHint(SurfaceControl sc, in setTransparentRegionHint() 89 public SurfaceControl.Transaction setAlpha(SurfaceControl sc, float alpha) { in setAlpha() [all …]
|
D | DimmerTests.java | 49 final SurfaceControl.Transaction mTransaction = mock(SurfaceControl.Transaction.class); 61 public SurfaceControl.Transaction getPendingTransaction() { in getPendingTransaction() 69 final SurfaceControl.Transaction mHostTransaction = mock(SurfaceControl.Transaction.class); 99 public SurfaceControl.Transaction getPendingTransaction() { in getPendingTransaction() 106 private SurfaceControl.Transaction mTransaction; 111 public void startAnimation(SurfaceAnimator surfaceAnimator, SurfaceControl.Transaction t, in startAnimation() 121 mTransaction = mock(SurfaceControl.Transaction.class); in setUp() 217 SurfaceControl.Transaction.class), any(AnimationAdapter.class), anyBoolean()); in testDimBelowWithChildSurfaceDestroyedWhenReset() 274 SurfaceControl.Transaction.class), any(AnimationAdapter.class), anyBoolean()); in testRemoveDimImmediately()
|
/frameworks/native/libs/gui/include/gui/ |
D | SurfaceComposerClient.h | 288 class Transaction { 324 Transaction() = default; 325 virtual ~Transaction() = default; 326 Transaction(Transaction const& other); 331 Transaction& merge(Transaction&& other); 332 Transaction& show(const sp<SurfaceControl>& sc); 333 Transaction& hide(const sp<SurfaceControl>& sc); 334 Transaction& setPosition(const sp<SurfaceControl>& sc, 336 Transaction& setSize(const sp<SurfaceControl>& sc, 338 Transaction& setLayer(const sp<SurfaceControl>& sc, [all …]
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Replayer.h | 70 status_t doTransaction(const Transaction& transaction, const std::shared_ptr<Event>& event); 78 status_t doSurfaceTransaction(SurfaceComposerClient::Transaction& transaction, 80 void doDisplayTransaction(SurfaceComposerClient::Transaction& transaction, 83 void setPosition(SurfaceComposerClient::Transaction& t, 85 void setSize(SurfaceComposerClient::Transaction& t, 87 void setAlpha(SurfaceComposerClient::Transaction& t, 89 void setLayer(SurfaceComposerClient::Transaction& t, 91 void setCrop(SurfaceComposerClient::Transaction& t, 93 void setCornerRadius(SurfaceComposerClient::Transaction& t, 95 void setMatrix(SurfaceComposerClient::Transaction& t, [all …]
|
D | Replayer.cpp | 334 status_t Replayer::doTransaction(const Transaction& t, const std::shared_ptr<Event>& event) { in doTransaction() 337 SurfaceComposerClient::Transaction liveTransaction; in doTransaction() 358 SurfaceComposerClient::Transaction& transaction, in doSurfaceTransaction() 428 void Replayer::doDisplayTransaction(SurfaceComposerClient::Transaction& t, in doDisplayTransaction() 456 void Replayer::setPosition(SurfaceComposerClient::Transaction& t, in setPosition() 462 void Replayer::setSize(SurfaceComposerClient::Transaction& t, in setSize() 468 void Replayer::setLayer(SurfaceComposerClient::Transaction& t, in setLayer() 474 void Replayer::setAlpha(SurfaceComposerClient::Transaction& t, in setAlpha() 480 void Replayer::setCrop(SurfaceComposerClient::Transaction& t, in setCrop() 491 void Replayer::setCornerRadius(SurfaceComposerClient::Transaction& t, in setCornerRadius() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceInterceptor.h | 134 SurfaceChange* createSurfaceChangeLocked(Transaction* transaction, int32_t layerId); 136 void addPositionLocked(Transaction* transaction, int32_t layerId, float x, float y); 137 void addDepthLocked(Transaction* transaction, int32_t layerId, uint32_t z); 138 void addSizeLocked(Transaction* transaction, int32_t layerId, uint32_t w, uint32_t h); 139 void addAlphaLocked(Transaction* transaction, int32_t layerId, float alpha); 140 void addMatrixLocked(Transaction* transaction, int32_t layerId, 142 void addTransparentRegionLocked(Transaction* transaction, int32_t layerId, 144 void addFlagsLocked(Transaction* transaction, int32_t layerId, uint8_t flags); 145 void addLayerStackLocked(Transaction* transaction, int32_t layerId, uint32_t layerStack); 146 void addCropLocked(Transaction* transaction, int32_t layerId, const Rect& rect); [all …]
|
D | SurfaceInterceptor.cpp | 98 Transaction* transaction(increment->mutable_transaction()); in addInitialSurfaceStateLocked() 125 Transaction* transaction(increment->mutable_transaction()); in addInitialDisplayStateLocked() 175 SurfaceChange* SurfaceInterceptor::createSurfaceChangeLocked(Transaction* transaction, in createSurfaceChangeLocked() 183 DisplayChange* SurfaceInterceptor::createDisplayChangeLocked(Transaction* transaction, in createDisplayChangeLocked() 198 void SurfaceInterceptor::addPositionLocked(Transaction* transaction, int32_t layerId, in addPositionLocked() 207 void SurfaceInterceptor::addDepthLocked(Transaction* transaction, int32_t layerId, in addDepthLocked() 215 void SurfaceInterceptor::addSizeLocked(Transaction* transaction, int32_t layerId, uint32_t w, in addSizeLocked() 224 void SurfaceInterceptor::addAlphaLocked(Transaction* transaction, int32_t layerId, in addAlphaLocked() 232 void SurfaceInterceptor::addMatrixLocked(Transaction* transaction, int32_t layerId, in addMatrixLocked() 243 void SurfaceInterceptor::addTransparentRegionLocked(Transaction* transaction, in addTransparentRegionLocked() [all …]
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 320 SurfaceComposerClient::Transaction::Transaction(const Transaction& other) in Transaction() function in android::SurfaceComposerClient::Transaction 331 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::merge(Transaction&& other) { in merge() 402 void SurfaceComposerClient::Transaction::cacheBuffers() { in cacheBuffers() 441 status_t SurfaceComposerClient::Transaction::apply(bool synchronous) { in apply() 540 void SurfaceComposerClient::Transaction::setAnimationTransaction() { in setAnimationTransaction() 544 void SurfaceComposerClient::Transaction::setEarlyWakeup() { in setEarlyWakeup() 548 layer_state_t* SurfaceComposerClient::Transaction::getLayerState(const sp<SurfaceControl>& sc) { in getLayerState() 560 void SurfaceComposerClient::Transaction::registerSurfaceControlForCallback( in registerSurfaceControlForCallback() 569 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::setPosition( in setPosition() 584 SurfaceComposerClient::Transaction& SurfaceComposerClient::Transaction::show( in show() [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | client.cpp | 128 Transaction::Transaction(Client& client) : client_{client} {} in Transaction() function in android::pdx::Transaction 130 Transaction::~Transaction() { in ~Transaction() 135 bool Transaction::EnsureStateAllocated() { in EnsureStateAllocated() 143 void Transaction::SendTransaction(int opcode, Status<void>* ret, in SendTransaction() 167 void Transaction::SendTransaction(int opcode, Status<int>* ret, in SendTransaction() 188 void Transaction::SendTransaction(int opcode, Status<LocalHandle>* ret, in SendTransaction() 209 void Transaction::SendTransaction(int opcode, Status<LocalChannelHandle>* ret, in SendTransaction() 230 Status<FileReference> Transaction::PushFileHandle(const LocalHandle& handle) { in PushFileHandle() 236 Status<FileReference> Transaction::PushFileHandle( in PushFileHandle() 243 Status<FileReference> Transaction::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle() [all …]
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 174 using Transaction = SurfaceComposerClient::Transaction; typedef 208 SurfaceComposerClient::Transaction().apply(true); in captureScreen() 218 SurfaceComposerClient::Transaction().apply(true); in captureLayers() 228 SurfaceComposerClient::Transaction().apply(true); in captureChildLayers() 239 SurfaceComposerClient::Transaction().apply(true); in captureChildLayersExcluding() 363 Transaction t; in createLayer() 395 asTransaction([&](Transaction& t) { in createColorLayer() 404 Transaction().apply(true); in getBufferQueueLayerBuffer() 435 Transaction().setBuffer(layer, buffer).apply(); in fillBufferStateLayerColor() 508 Transaction().setBuffer(layer, buffer).setSize(layer, bufferWidth, bufferHeight).apply(); in fillBufferStateLayerQuadrant() [all …]
|
D | SurfaceInterceptor_test.cpp | 38 using Transaction = SurfaceComposerClient::Transaction; typedef 147 using TestTransactionAction = void (SurfaceInterceptorTest::*)(Transaction&); 198 void positionUpdate(Transaction&); 199 void sizeUpdate(Transaction&); 200 void alphaUpdate(Transaction&); 201 void layerUpdate(Transaction&); 202 void cropUpdate(Transaction&); 203 void cornerRadiusUpdate(Transaction&); 204 void matrixUpdate(Transaction&); 205 void overrideScalingModeUpdate(Transaction&); [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | Dimmer.java | 51 public SurfaceControl.Transaction getPendingTransaction() { in getPendingTransaction() 61 public void onAnimationLeashCreated(SurfaceControl.Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() 65 public void onAnimationLeashLost(SurfaceControl.Transaction t) { in onAnimationLeashLost() 158 void startAnimation(SurfaceAnimator surfaceAnimator, SurfaceControl.Transaction t, in startAnimation() 203 private void dim(SurfaceControl.Transaction t, WindowContainer container, int relativeLayer, in dim() 229 void stopDim(SurfaceControl.Transaction t) { in stopDim() 246 void dimAbove(SurfaceControl.Transaction t, float alpha) { in dimAbove() 259 void dimAbove(SurfaceControl.Transaction t, WindowContainer container, float alpha) { in dimAbove() 271 void dimBelow(SurfaceControl.Transaction t, WindowContainer container, float alpha) { in dimBelow() 303 boolean updateDims(SurfaceControl.Transaction t, Rect bounds) { in updateDims() [all …]
|
D | AppWindowThumbnail.java | 39 import android.view.SurfaceControl.Transaction; 58 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader) { in AppWindowThumbnail() 69 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader, in AppWindowThumbnail() 74 AppWindowThumbnail(Transaction t, AppWindowToken appToken, GraphicBuffer thumbnailHeader, in AppWindowThumbnail() 122 void startAnimation(Transaction t, Animation anim) { in startAnimation() 126 void startAnimation(Transaction t, Animation anim, Point position) { in startAnimation() 139 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden) { in startAnimation() 146 void setShowing(Transaction pendingTransaction, boolean show) { in setShowing() 180 public Transaction getPendingTransaction() { in getPendingTransaction() 190 public void onAnimationLeashCreated(Transaction t, SurfaceControl leash) { in onAnimationLeashCreated() [all …]
|
D | SurfaceAnimator.java | 31 import android.view.SurfaceControl.Transaction; 114 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden) { 189 void setLayer(Transaction t, int layer) { 198 void setRelativeLayer(Transaction t, SurfaceControl relativeTo, int layer) { 207 void reparent(Transaction t, SurfaceControl newParent) { 230 final Transaction t = mAnimatable.getPendingTransaction(); 256 private void cancelAnimation(Transaction t, boolean restarting, boolean forwardCancel) { 280 private void reset(Transaction t, boolean destroyLeash) { 319 private SurfaceControl createAnimationLeash(SurfaceControl surface, Transaction t, int width, 385 @NonNull Transaction getPendingTransaction(); [all …]
|
D | BlackFrame.java | 41 BlackSurface(SurfaceControl.Transaction transaction, int layer, in BlackSurface() 64 void setAlpha(SurfaceControl.Transaction t, float alpha) { in setAlpha() 68 void setMatrix(SurfaceControl.Transaction t, Matrix matrix) { in setMatrix() 88 void clearMatrix(SurfaceControl.Transaction t) { in clearMatrix() 115 public BlackFrame(TransactionFactory factory, SurfaceControl.Transaction t, Rect outer, in BlackFrame() 154 SurfaceControl.Transaction t = mTransactionFactory.make(); in kill() 167 public void hide(SurfaceControl.Transaction t) { in hide() 177 public void setAlpha(SurfaceControl.Transaction t, float alpha) { in setAlpha() 185 public void setMatrix(SurfaceControl.Transaction t, Matrix matrix) { in setMatrix() 193 public void clearMatrix(SurfaceControl.Transaction t) { in clearMatrix()
|
D | SurfaceAnimationRunner.java | 34 import android.view.SurfaceControl.Transaction; 60 private final Transaction mFrameTransaction; 77 this(null /* callbackProvider */, null /* animatorFactory */, new Transaction(), in SurfaceAnimationRunner() 83 AnimatorFactory animatorFactory, Transaction frameTransaction, in SurfaceAnimationRunner() 124 void startAnimation(AnimationSpec a, SurfaceControl animationLeash, Transaction t, in startAnimation() 231 private void applyTransformation(RunningAnimation a, Transaction t, long currentPlayTime) { in applyTransformation()
|
/frameworks/base/native/android/ |
D | surface_control.cpp | 38 using Transaction = SurfaceComposerClient::Transaction; typedef 109 Transaction* ASurfaceTransaction_to_Transaction(ASurfaceTransaction* aSurfaceTransaction) { in ASurfaceTransaction_to_Transaction() 110 return reinterpret_cast<Transaction*>(aSurfaceTransaction); in ASurfaceTransaction_to_Transaction() 179 Transaction* transaction = new Transaction; in ASurfaceTransaction_create() 184 Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction); in ASurfaceTransaction_delete() 191 Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction); in ASurfaceTransaction_apply() 302 Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction); in ASurfaceTransaction_setOnComplete() 317 Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction); in ASurfaceTransaction_reparent() 329 Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction); in ASurfaceTransaction_setVisibility() 350 Transaction* transaction = ASurfaceTransaction_to_Transaction(aSurfaceTransaction); in ASurfaceTransaction_setZOrder() [all …]
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 213 static Transaction sGlobalTransaction; 968 sGlobalTransaction = new Transaction(); in openTransaction() 984 public static void mergeToGlobalTransaction(Transaction t) { in mergeToGlobalTransaction() 2053 public static class Transaction implements Closeable { class in SurfaceControl 2058 Transaction.class.getClassLoader(), 2072 public Transaction() { in Transaction() method in SurfaceControl.Transaction 2124 public Transaction setVisibility(@NonNull SurfaceControl sc, boolean visible) { in setVisibility() 2141 public Transaction show(SurfaceControl sc) { in show() 2155 public Transaction hide(SurfaceControl sc) { in hide() 2165 public Transaction setPosition(SurfaceControl sc, float x, float y) { in setPosition() [all …]
|
D | InsetsSourceConsumer.java | 22 import android.view.SurfaceControl.Transaction; 57 private final Supplier<Transaction> mTransactionSupplier; 63 Supplier<Transaction> transactionSupplier, InsetsController controller) { in InsetsSourceConsumer() 166 final Transaction t = mTransactionSupplier.get(); in applyHiddenToControl()
|
D | SyncRtSurfaceTransactionApplier.java | 21 import android.view.SurfaceControl.Transaction; 59 Transaction t = new Transaction(); in scheduleApply() 74 public static void applyParams(Transaction t, SurfaceParams params, float[] tmpFloat9) { in applyParams()
|
/frameworks/native/libs/vr/libvrsensor/ |
D | pose_client.cpp | 21 using android::pdx::Transaction; 100 Transaction trans{*this}; in LogController() 113 Transaction trans{*this}; in Freeze() 123 Transaction trans{*this}; in SetMode() 134 Transaction trans{*this}; in GetMode() 146 Transaction trans{*this}; in GetTangoReaderHandle() 164 Transaction trans{*this}; in DataCapture() 173 Transaction trans{*this}; in DataReaderDestroy() 184 Transaction trans{*this}; in EnableSensors() 216 Transaction trans{*this}; in GetControllerRingBuffer()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteSession.java | 170 private Transaction mTransactionPool; 171 private Transaction mTransactionStack; 347 Transaction transaction = obtainTransaction(transactionMode, transactionListener); in beginTransactionUnchecked() 411 final Transaction top = mTransactionStack; in endTransactionUnchecked() 937 private Transaction obtainTransaction(int mode, SQLiteTransactionListener listener) { in obtainTransaction() 938 Transaction transaction = mTransactionPool; in obtainTransaction() 945 transaction = new Transaction(); in obtainTransaction() 952 private void recycleTransaction(Transaction transaction) { in recycleTransaction() 958 private static final class Transaction { class in SQLiteSession 959 public Transaction mParent;
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | service_framework_tests.cpp | 39 using android::pdx::Transaction; 266 Transaction trans{*this}; in GetServiceId() 272 Transaction trans{*this}; in SetTestChannel() 284 Transaction trans{*this}; in SendAsync() 290 Transaction trans{*this}; in GetThisChannelId() 296 Transaction trans{*this}; in GetTestChannelId() 303 Transaction trans{*this}; in CheckChannelIdArgument() 312 Transaction trans{*this}; in CheckChannelObjectArgument() 321 Transaction trans{*this}; in CheckChannelFromOtherService() 330 Transaction trans{*this}; in GetNewChannel() [all …]
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 167 return reinterpret_cast<jlong>(new SurfaceComposerClient::Transaction); in nativeCreateTransaction() 170 static void releaseTransaction(SurfaceComposerClient::Transaction* t) { in releaseTransaction() 325 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeApplyTransaction() 331 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeMergeTransaction() 332 auto otherTransaction = reinterpret_cast<SurfaceComposerClient::Transaction*>( in nativeMergeTransaction() 338 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeSetAnimationTransaction() 343 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeSetEarlyWakeup() 349 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeSetLayer() 363 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeSetRelativeLayer() 370 auto transaction = reinterpret_cast<SurfaceComposerClient::Transaction*>(transactionObj); in nativeSetPosition() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | SamplingDemo.cpp | 47 SurfaceComposerClient::Transaction{} in Button() 60 SurfaceComposerClient::Transaction{} in Button() 78 SurfaceComposerClient::Transaction{} in Button() 98 SurfaceComposerClient::Transaction{} in setColor()
|