Home
last modified time | relevance | path

Searched refs:mSnapshot (Results 1 – 4 of 4) 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
140 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(false); in testGetSystemAppsToRemove_OtaLeave()
171 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_NewLeave()
184 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_NewDelete()
193 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(false); in testMaybeTakeSnapshot_OtaLeave()
199 verify(mSnapshot, never()).takeNewSnapshot(anyInt()); in testMaybeTakeSnapshot_OtaLeave()
208 when(mSnapshot.hasSnapshot(TEST_USER_ID)).thenReturn(true); in testMaybeTakeSnapshot_OtaDelete()
214 verify(mSnapshot).takeNewSnapshot(TEST_USER_ID); in testMaybeTakeSnapshot_OtaDelete()
228 when(mSnapshot.getSnapshot(TEST_USER_ID)).thenReturn(set); in setLastSnapshot()
229 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.java64 private final SystemAppsSnapshot mSnapshot; field in NonRequiredAppsLogic
95 mSnapshot = checkNotNull(snapshot); in NonRequiredAppsLogic()
109 newSystemApps.removeAll(mSnapshot.getSnapshot(userId)); in getSystemAppsToRemove()
131 mSnapshot.takeNewSnapshot(userId); in maybeTakeSystemAppsSnapshot()
149 if (mSnapshot.hasSnapshot(userId)) { in getCase()