Home
last modified time | relevance | path

Searched refs:mSnapshot (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DViewGroupItemVerticalExplodeAnimation.java89 private final View mSnapshot; field in ViewGroupItemVerticalExplodeAnimation.ViewExplodeAnimationJellyBeanMR2
100 mSnapshot = new View(viewToAnimate.getContext()); in ViewExplodeAnimationJellyBeanMR2()
102 mSnapshot = null; in ViewExplodeAnimationJellyBeanMR2()
164 if (mSnapshot != null) { in startAnimation()
165 shadowContainerLayer.addView(mSnapshot); in startAnimation()
166 mSnapshot.setLeft(viewRect.left); in startAnimation()
167 mSnapshot.setTop(viewRect.top); in startAnimation()
168 mSnapshot.setBottom(viewRect.bottom); in startAnimation()
169 mSnapshot.setRight(viewRect.right); in startAnimation()
170 mSnapshot.setBackground(new BitmapDrawable(resources, mViewBitmap)); in startAnimation()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogicTest.java72 private SystemAppsSnapshot mSnapshot; field in NonRequiredAppsLogicTest
138 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(false); in testGetSystemAppsToRemove_OtaLeave()
169 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_NewLeave()
182 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_NewDelete()
191 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(false); in testMaybeTakeSnapshot_OtaLeave()
197 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_OtaLeave()
206 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(true); in testMaybeTakeSnapshot_OtaDelete()
212 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_OtaDelete()
226 when(mSnapshot.getSnapshot(TEST_USER_ID)).thenReturn(set); in setLastSnapshot()
227 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(true); in setLastSnapshot()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java44 private StructuredNameDataItem mSnapshot; field in StructuredNameEditorView
75 if (mSnapshot == null) { in setValues()
76 mSnapshot = (StructuredNameDataItem) DataItem.createFrom( in setValues()
161 state.mSnapshot = mSnapshot.getContentValues(); in onSaveInstanceState()
171 mSnapshot = (StructuredNameDataItem) DataItem.createFrom(ss.mSnapshot); in onRestoreInstanceState()
176 public ContentValues mSnapshot; field in StructuredNameEditorView.SavedState
188 mSnapshot = in.readParcelable(loader); in SavedState()
196 out.writeParcelable(mSnapshot, 0); in writeToParcel()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java63 private final SystemAppsSnapshot mSnapshot; field in NonRequiredAppsLogic
94 mSnapshot = checkNotNull(snapshot); in NonRequiredAppsLogic()
129 newSystemApps.removeAll(mSnapshot.getSnapshot(userId)); in filterOutSystemAppsFromOta()
136 mSnapshot.takeNewSnapshot(userId); in maybeTakeSystemAppsSnapshot()
154 if (mSnapshot.hasSnapshot(userId)) { in getCase()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.cpp1150 Reverter() : mSnapshot(*RandomVariableNetwork::get()) {} in Reverter()
1158 *RandomVariableNetwork::get() = std::move(mSnapshot); in revert()
1164 RandomVariableNetwork mSnapshot; member in android::nn::fuzzing_test::RandomVariableNetwork::Reverter