/frameworks/base/services/core/java/com/android/server/am/ |
H A D | CoreSettingsObserver.java | 106 private void populateSettings(Bundle snapshot, Map<String, Class<?>> map) { argument 120 snapshot.putString(setting, value); 130 snapshot.putInt(setting, value); 140 snapshot.putFloat(setting, value); 150 snapshot.putLong(setting, value);
|
H A D | UriPermission.java | 372 public Snapshot snapshot() { method in class:UriPermission
|
/frameworks/base/core/java/android/app/ |
H A D | SharedElementCallback.java | 46 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap"; 47 private static final String BUNDLE_SNAPSHOT_IMAGE_SCALETYPE = "sharedElement:snapshot:imageScaleType"; 48 private static final String BUNDLE_SNAPSHOT_IMAGE_MATRIX = "sharedElement:snapshot:imageMatrix"; 131 * Creates a snapshot of a shared element to be used by the remote Activity and reconstituted 133 * null return value will mean that the remote Activity will have a null snapshot View in 139 * @param sharedElement The shared element View to create a snapshot for. 144 * @return A snapshot to send to the remote Activity to be reconstituted with 181 * Reconstitutes a snapshot View from a Parcelable returned in 190 * @param context The Context used to create the snapshot View. 191 * @param snapshot Th 197 onCreateSnapshotView(Context context, Parcelable snapshot) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LruCache.java | 370 public synchronized final Map<K, V> snapshot() { method in class:LruCache
|
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | LruCache.java | 381 public synchronized final Map<K, V> snapshot() { method in class:LruCache
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | SharedElementCallback.java | 46 private static final String BUNDLE_SNAPSHOT_BITMAP = "sharedElement:snapshot:bitmap"; 47 private static final String BUNDLE_SNAPSHOT_IMAGE_SCALETYPE = "sharedElement:snapshot:imageScaleType"; 48 private static final String BUNDLE_SNAPSHOT_IMAGE_MATRIX = "sharedElement:snapshot:imageMatrix"; 129 * Creates a snapshot of a shared element to be used by the remote Activity and reconstituted 131 * null return value will mean that the remote Activity will have a null snapshot View in 137 * @param sharedElement The shared element View to create a snapshot for. 142 * @return A snapshot to send to the remote Activity to be reconstituted with 221 * Reconstitutes a snapshot View from a Parcelable returned in 230 * @param context The Context used to create the snapshot View. 231 * @param snapshot Th 237 onCreateSnapshotView(Context context, Parcelable snapshot) argument [all...] |
H A D | ActivityCompat.java | 258 public View onCreateSnapshotView(Context context, Parcelable snapshot) { argument 259 return mCallback.onCreateSnapshotView(context, snapshot);
|
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | ActivityCompat21.java | 69 public abstract View onCreateSnapshotView(Context context, Parcelable snapshot); argument 120 public View onCreateSnapshotView(Context context, Parcelable snapshot) { argument 121 return mCallback.onCreateSnapshotView(context, snapshot);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LruCache.java | 333 public synchronized final Map<K, V> snapshot() { method in class:LruCache
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PerformanceCollectorTest.java | 51 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); 52 assertNotNull(snapshot); 53 assertEquals(2, snapshot.size()); 60 Bundle snapshot = mPerfCollector.endSnapshot(); 62 verifySnapshotBundle(snapshot); 111 Bundle snapshot = (Bundle)readPrivateField("mPerfSnapshot", mPerfCollector); 112 assertNotNull(snapshot); 113 assertEquals(2, snapshot.size()); 348 * by staggering calls to snapshot and timing functions. 399 private void verifySnapshotBundle(Bundle snapshot) { argument [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 161 * Record any delta that occurred since last {@link NetworkStats} snapshot, 163 * snapshot is considered bootstrap, and is not counted as delta. 165 public void recordSnapshotLocked(NetworkStats snapshot, argument 169 // skip recording when snapshot missing 170 if (snapshot == null) return; 172 // assume first snapshot is bootstrap and don't record 174 mLastSnapshot = snapshot; 181 snapshot, mLastSnapshot, mObserver, mCookie); 213 mLastSnapshot = snapshot; 273 // Clear UID from current stats snapshot [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 90 read_snapshot_file(int fd, KeyedVector<String8,FileState>* snapshot) argument 125 snapshot->add(String8(filename, file.nameLen), file); 147 write_snapshot_file(int fd, const KeyedVector<String8,FileRec>& snapshot) argument 152 const int N = snapshot.size(); 154 const FileRec& g = snapshot.valueAt(i); 156 const String8& name = snapshot.keyAt(i); 174 FileRec r = snapshot.valueAt(i); 176 const String8& name = snapshot.keyAt(i); 800 // Record for the snapshot 908 KeyedVector<String8,FileRec> snapshot; [all...] |
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 275 const Snapshot* snapshot = currentSnapshot(); local 278 if (snapshot->flags & Snapshot::kFlagFboTarget) { 279 clip = &(snapshot->layer->clipRect); 666 // initialize the snapshot as though it almost represents an FBO layer so deferred draw 750 // Bail out if we won't draw in this snapshot 770 // Save the layer in the snapshot
|