Searched refs:transaction (Results 1 - 25 of 25) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DSurfaceInterceptor.cpp93 Transaction* transaction(increment->mutable_transaction());
94 transaction->set_synchronous(layer->mTransactionFlags & BnSurfaceComposer::eSynchronous);
95 transaction->set_animation(layer->mTransactionFlags & BnSurfaceComposer::eAnimation);
98 addPositionLocked(transaction, layerId, layer->mCurrentState.active.transform.tx(),
100 addDepthLocked(transaction, layerId, layer->mCurrentState.z);
101 addAlphaLocked(transaction, layerId, layer->mCurrentState.alpha);
102 addTransparentRegionLocked(transaction, layerId, layer->mCurrentState.activeTransparentRegion);
103 addLayerStackLocked(transaction, layerId, layer->mCurrentState.layerStack);
104 addCropLocked(transaction, layerId, layer->mCurrentState.crop);
106 addDeferTransactionLocked(transaction, layerI
167 createSurfaceChangeLocked(Transaction* transaction, int32_t layerId) argument
175 createDisplayChangeLocked(Transaction* transaction, int32_t displayId) argument
190 addPositionLocked(Transaction* transaction, int32_t layerId, float x, float y) argument
199 addDepthLocked(Transaction* transaction, int32_t layerId, uint32_t z) argument
207 addSizeLocked(Transaction* transaction, int32_t layerId, uint32_t w, uint32_t h) argument
216 addAlphaLocked(Transaction* transaction, int32_t layerId, float alpha) argument
224 addMatrixLocked(Transaction* transaction, int32_t layerId, const layer_state_t::matrix22_t& matrix) argument
235 addTransparentRegionLocked(Transaction* transaction, int32_t layerId, const Region& transRegion) argument
247 addFlagsLocked(Transaction* transaction, int32_t layerId, uint8_t flags) argument
268 addLayerStackLocked(Transaction* transaction, int32_t layerId, uint32_t layerStack) argument
276 addCropLocked(Transaction* transaction, int32_t layerId, const Rect& rect) argument
285 addFinalCropLocked(Transaction* transaction, int32_t layerId, const Rect& rect) argument
294 addDeferTransactionLocked(Transaction* transaction, int32_t layerId, const sp<const Layer>& layer, uint64_t frameNumber) argument
308 addOverrideScalingModeLocked(Transaction* transaction, int32_t layerId, int32_t overrideScalingMode) argument
316 addSurfaceChangesLocked(Transaction* transaction, const layer_state_t& state) argument
377 addDisplayChangesLocked(Transaction* transaction, const DisplayState& state, int32_t displayId) argument
447 addDisplaySurfaceLocked(Transaction* transaction, int32_t displayId, const sp<const IGraphicBufferProducer>& surface) argument
467 addDisplayLayerStackLocked(Transaction* transaction, int32_t displayId, uint32_t layerStack) argument
475 addDisplaySizeLocked(Transaction* transaction, int32_t displayId, uint32_t w, uint32_t h) argument
484 addDisplayProjectionLocked(Transaction* transaction, int32_t displayId, int32_t orientation, const Rect& viewport, const Rect& frame) argument
[all...]
H A DSurfaceInterceptor.h69 // the initial state of each object, so a transaction with all of the missing properties is
93 SurfaceChange* createSurfaceChangeLocked(Transaction* transaction, int32_t layerId);
95 void addPositionLocked(Transaction* transaction, int32_t layerId, float x, float y);
96 void addDepthLocked(Transaction* transaction, int32_t layerId, uint32_t z);
97 void addSizeLocked(Transaction* transaction, int32_t layerId, uint32_t w, uint32_t h);
98 void addAlphaLocked(Transaction* transaction, int32_t layerId, float alpha);
99 void addMatrixLocked(Transaction* transaction, int32_t layerId,
101 void addTransparentRegionLocked(Transaction* transaction, int32_t layerId,
103 void addFlagsLocked(Transaction* transaction, int32_t layerId, uint8_t flags);
104 void addLayerStackLocked(Transaction* transaction, int32_
[all...]
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/
H A DDispatcherActivityCallbackTest.java67 FragmentTransaction transaction = mock(FragmentTransaction.class);
69 when(fm.beginTransaction()).thenReturn(transaction);
70 when(transaction.add(any(Fragment.class), anyString())).thenReturn(transaction);
74 verify(transaction).add(any(ReportFragment.class), anyString());
75 verify(transaction).commit();
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteSession.java41 * at most one read-write transaction is performed at a time. When WAL is not
51 * has its own session object and therefore its own transaction state independent
64 * There are two kinds of transaction: implicit transactions and explicit
67 * An implicit transaction is created whenever a database operation is requested
68 * and there is no explicit transaction currently in progress. An implicit transaction
72 * An explicit transaction is started by calling {@link #beginTransaction} and
73 * specifying the desired transaction mode. Once an explicit transaction has begun,
74 * all subsequent database operations will be performed as part of that transaction
950 recycleTransaction(Transaction transaction) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DTunerActivity.java84 FragmentTransaction transaction = getFragmentManager().beginTransaction();
86 transaction.replace(R.id.content_frame, fragment);
87 transaction.addToBackStack("PreferenceFragment");
88 transaction.commit();
98 FragmentTransaction transaction = getFragmentManager().beginTransaction();
104 transaction.replace(R.id.content_frame, fragment);
105 transaction.addToBackStack("PreferenceFragment");
106 transaction.commit();
/frameworks/support/v17/preference-leanback/src/android/support/v17/preference/
H A DLeanbackSettingsFragment.java142 final FragmentTransaction transaction = getChildFragmentManager().beginTransaction();
146 transaction
151 transaction
155 transaction.commit();
164 final FragmentTransaction transaction = getChildFragmentManager().beginTransaction();
170 transaction.add(R.id.settings_preference_fragment_container, new DummyFragment());
172 transaction.remove(preferenceFragment);
174 transaction
/frameworks/support/room/compiler/src/test/kotlin/android/arch/persistence/room/processor/
H A DTransactionMethodProcessorTest.kt57 """) { transaction, _ ->
58 assertThat(transaction.name, `is`("doInTransaction"))
68 """) { transaction, _ ->
69 assertThat(transaction.name, `is`("doInTransaction"))
79 """) { transaction, _ ->
80 assertThat(transaction.name, `is`("doInTransaction"))
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/
H A Dservice_utility.h18 Transaction transaction{*this};
20 transaction.Send<int>(opcodes::REPORT_SYSPROP_CHANGE));
/frameworks/support/transition/tests/src/android/support/transition/
H A DFragmentTransitionTest.java121 final FragmentTransaction transaction = getFragmentManager().beginTransaction();
122 transaction.replace(R.id.root, fragment);
123 transaction.setReorderingAllowed(mReorderingAllowed);
125 transaction.addSharedElement(sharedElement.first, sharedElement.second);
128 transaction.addToBackStack(null);
129 transaction.commit();
132 transaction.commitNow();
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
H A Dtrace_creator.py23 transaction(increment)
49 print ("1. Add transaction")
64 print ("What kind of transaction?")
83 print ("0. Finished adding Changes to this transaction")
88 def transaction(increment): function
91 increment.transaction.synchronous \
92 = bool(input("Is transaction synchronous (True/False): "))
93 increment.transaction.animation \
94 = bool(input("Is transaction animated (True/False): "))
104 change = increment.transaction
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipHelper.java337 ServerTransaction transaction = event.getServerTransaction();
338 if (transaction == null) {
342 return transaction;
353 ServerTransaction transaction = getServerTransaction(event);
362 transaction.sendResponse(response);
363 return transaction;
519 public static String getCallId(Transaction transaction) { argument
520 return ((transaction != null) ? getCallId(transaction.getRequest())
H A DSipSessionGroup.java423 ISipSessionListener listener, ServerTransaction transaction,
426 newSession.mServerTransaction = transaction;
741 "cannot initiate a new transaction to execute: "
867 if (SSI_DBG) log("not the current transaction; current="
871 if (SSI_DBG) log("transaction terminated: " + toString(current));
874 // no transaction; shouldn't be here; ignored
879 private String toString(Transaction transaction) { argument
880 if (transaction == null) return "null";
881 Request request = transaction.getRequest();
882 Dialog dialog = transaction
422 createNewSession(RequestEvent event, ISipSessionListener listener, ServerTransaction transaction, int newState) argument
[all...]
/frameworks/support/fragment/java/android/support/v4/app/
H A DFragmentTransition.java91 * @param isRecordPop For each transaction, whether it is a pop transaction or not.
96 * @param isReordered true if this is a reordered transaction, meaning that the
98 * transaction has yet to be run and Views haven't been created.
148 * @param isRecordPop For each transaction, whether it is a pop transaction or not.
193 * Configures a transition for a single fragment container for which the transaction was
291 * Configures a transition for a single fragment container for which the transaction was
292 * ordered. That means that the transaction has not been executed yet, so incoming
483 * @param isPop True if this is a pop transaction o
1064 calculateFragments(BackStackRecord transaction, SparseArray<FragmentContainerTransition> transitioningFragments, boolean isReordered) argument
1082 calculatePopFragments(BackStackRecord transaction, SparseArray<FragmentContainerTransition> transitioningFragments, boolean isReordered) argument
1112 addToFirstInLastOut(BackStackRecord transaction, BackStackRecord.Op op, SparseArray<FragmentContainerTransition> transitioningFragments, boolean isPop, boolean isReorderedTransaction) argument
[all...]
H A DDialogFragment.java129 * is a convenience for explicitly creating a transaction, adding the
131 * <em>not</em> add the transaction to the back stack. When the fragment
132 * is dismissed, a new transaction will be executed to remove it from
147 * Display the dialog, adding the fragment using an existing transaction
148 * and then committing the transaction.
149 * @param transaction An existing transaction in which to add the fragment.
152 * @return Returns the identifier of the committed transaction, as per
155 public int show(FragmentTransaction transaction, String tag) { argument
158 transaction
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java1255 FragmentTransaction transaction = getFragmentManager().beginTransaction();
1256 transaction.setTransition(mSinglePane
1259 transaction.replace(com.android.internal.R.id.prefs, f);
1260 transaction.commitAllowingStateLoss();
1363 FragmentTransaction transaction = getFragmentManager().beginTransaction();
1364 transaction.replace(com.android.internal.R.id.prefs, fragment);
1366 transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN);
1367 transaction.addToBackStack(BACK_STACK_PREFS);
1369 transaction.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE);
1371 transaction
[all...]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dpayload.h123 ClientPayload(Transaction& transaction) : transaction_{transaction} {} argument
/frameworks/base/core/java/android/app/
H A DDialogFragment.java85 * transaction is popped, the current DialogFragment and its Dialog will be
87 * DialogFragment will take care of popping the transaction of the Dialog
216 * is a convenience for explicitly creating a transaction, adding the
218 * <em>not</em> add the transaction to the back stack. When the fragment
219 * is dismissed, a new transaction will be executed to remove it from
243 * Display the dialog, adding the fragment using an existing transaction
244 * and then committing the transaction.
245 * @param transaction An existing transaction in which to add the fragment.
248 * @return Returns the identifier of the committed transaction, a
251 show(FragmentTransaction transaction, String tag) argument
[all...]
H A DFragmentTransition.java78 * @param isRecordPop For each transaction, whether it is a pop transaction or not.
83 * @param isReordered true if this is a reordered transaction, meaning that the
85 * transaction has yet to be run and Views haven't been created.
133 * @param isRecordPop For each transaction, whether it is a pop transaction or not.
178 * Configures a transition for a single fragment container for which the transaction was
250 * Configures a transition for a single fragment container for which the transaction was
251 * ordered. That means that the transaction has not been executed yet, so incoming
399 * @param isPop True if this is a pop transaction o
1197 calculateFragments(BackStackRecord transaction, SparseArray<FragmentContainerTransition> transitioningFragments, boolean isReordered) argument
1215 calculatePopFragments(BackStackRecord transaction, SparseArray<FragmentContainerTransition> transitioningFragments, boolean isReordered) argument
1241 addToFirstInLastOut(BackStackRecord transaction, BackStackRecord.Op op, SparseArray<FragmentContainerTransition> transitioningFragments, boolean isPop, boolean isReorderedTransaction) argument
[all...]
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_benchmarks.cpp413 Transaction transaction{*this};
414 return ReturnStatusOrError(transaction.Send<int>(BenchmarkOps::Nop));
421 Transaction transaction{*this};
423 transaction.Send<int>(BenchmarkOps::Write, buffer, length, nullptr, 0));
431 Transaction transaction{*this};
433 transaction.Send<int>(BenchmarkOps::Read, nullptr, 0, buffer, length));
444 Transaction transaction{*this};
446 transaction.Send<int>(BenchmarkOps::Echo, send_buffer, send_length,
488 Transaction transaction{*this};
489 return ReturnStatusOrError(transaction
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.h70 status_t doTransaction(const Transaction& transaction, const std::shared_ptr<Event>& event);
H A DReplayer.cpp283 std::thread(&Replayer::doTransaction, this, increment.transaction(), event).detach();
429 ALOGV("Doing display transaction");
/frameworks/av/media/mtp/
H A DMtpServer.cpp199 MtpTransactionID transaction = mRequest.getTransactionID(); local
225 mData.setTransactionID(transaction);
238 mResponse.setTransactionID(transaction);
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp243 Vector<ComposerState> transaction; local
257 transaction = mComposerStates;
274 sm->setTransactionState(transaction, displayTransaction, flags);
331 // Resizing a surface makes the transaction synchronous.
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java1076 FragmentTransaction transaction = getFragmentManager().beginTransaction();
1079 transaction.remove(oldFragment);
1082 transaction.add(R.id.embedded_content_container, newFragment, FRAGMENT_TAG);
1084 transaction.commitAllowingStateLoss();
/frameworks/native/services/surfaceflinger/tests/
H A DSurfaceInterceptor_test.cpp372 // There should only be one position transaction with x and y = POSITION_UPDATE
565 for (const auto& change : increment.transaction().surface_change()) {

Completed in 1622 milliseconds