/development/tools/winscope/src/ |
D | transform_wm.js | 19 function transform_window(entry) { argument 22 var visible = entry.windowContainer.visible; 33 var name = renderIdentifier(entry.identifier) 34 var rect = transform_rect((entry.windowFrames || entry).frame, name); 43 obj: entry, 47 [entry.childWindows, transform_window] 56 function transform_app_window_token(entry) { argument 58 obj: entry, 60 name: entry.name, 62 [entry.windowToken.windows, transform_window], [all …]
|
D | transform_sf.js | 270 function transform_layers_entry(entry) { argument 272 obj: entry, 274 name: nanos_to_string(entry.elapsedRealtimeNanos) + " - " + entry.where, 276 [[entry.layers], transform_layers], 278 timestamp: entry.elapsedRealtimeNanos, 289 [entries.entry, transform_layers_entry],
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | DiskLruCache.java | 380 Entry entry = lruEntries.get(key); in readJournalLine() local 381 if (entry == null) { in readJournalLine() 382 entry = new Entry(key); in readJournalLine() 383 lruEntries.put(key, entry); in readJournalLine() 387 entry.readable = true; in readJournalLine() 388 entry.currentEditor = null; in readJournalLine() 389 entry.setLengths(copyOfRange(parts, 2, parts.length)); in readJournalLine() 391 entry.currentEditor = new Editor(entry); in readJournalLine() 406 Entry entry = i.next(); in processJournal() local 407 if (entry.currentEditor == null) { in processJournal() [all …]
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/ |
D | LocationDataManager.java | 77 public final void addPoint(LocationEntry entry) { in addPoint() argument 79 List<LocationEntry> points = getPoints(entry.calendar); in addPoint() 81 mDbHelper.insert(entry); in addPoint() 85 points.add(entry); in addPoint() 86 mPointsMap.put(entry.day, points); in addPoint() 88 if (!points.contains(entry)) { in addPoint() 89 mDbHelper.insert(entry); in addPoint() 90 points.add(entry); in addPoint()
|
D | PhoneMainActivity.java | 112 for (LocationEntry entry : entries) { in showTrack() 113 LatLng latLng = new LatLng(entry.latitude, entry.longitude); in showTrack()
|
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/ |
D | AppRestrictionSchemaFragment.java | 105 for (RestrictionEntry entry : entries) { in resolveRestrictions() 106 String key = entry.getKey(); in resolveRestrictions() 109 updateCanSayHello(entry, restrictions); in resolveRestrictions() 111 updateMessage(entry, restrictions); in resolveRestrictions() 113 updateNumber(entry, restrictions); in resolveRestrictions() 115 updateRank(entry, restrictions); in resolveRestrictions() 117 updateApprovals(entry, restrictions); in resolveRestrictions() 124 private void updateCanSayHello(RestrictionEntry entry, Bundle restrictions) { in updateCanSayHello() argument 127 canSayHello = entry.getSelectedState(); in updateCanSayHello() 137 private void updateMessage(RestrictionEntry entry, Bundle restrictions) { in updateMessage() argument [all …]
|
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/ |
D | CustomRestrictionsFragment.java | 119 for (RestrictionEntry entry : mRestrictions) { in onActivityCreated() 120 if (entry.getKey().equals(GetRestrictionsReceiver.KEY_BOOLEAN)) { in onActivityCreated() 121 mBooleanPref.setChecked(entry.getSelectedState()); in onActivityCreated() 122 mBooleanEntry = entry; in onActivityCreated() 123 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_CHOICE)) { in onActivityCreated() 124 mChoicePref.setValue(entry.getSelectedString()); in onActivityCreated() 125 mChoiceEntry = entry; in onActivityCreated() 126 } else if (entry.getKey().equals(GetRestrictionsReceiver.KEY_MULTI_SELECT)) { in onActivityCreated() 128 Collections.addAll(set, entry.getAllSelectedStrings()); in onActivityCreated() 130 mMultiEntry = entry; in onActivityCreated()
|
D | GetRestrictionsReceiver.java | 57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { in populateBooleanEntry() argument 58 entry.setType(RestrictionEntry.TYPE_BOOLEAN); in populateBooleanEntry() 59 entry.setTitle(res.getString(R.string.boolean_entry_title)); in populateBooleanEntry() 128 for (RestrictionEntry entry : newEntries) { in createRestrictions() 129 final String key = entry.getKey(); in createRestrictions() 131 entry.setSelectedState(existingRestrictions.getBoolean(KEY_BOOLEAN)); in createRestrictions() 134 entry.setSelectedString(existingRestrictions.getString(KEY_CHOICE)); in createRestrictions() 138 entry.setAllSelectedStrings(existingRestrictions.getStringArray(key)); in createRestrictions()
|
/development/host/windows/usb/api/ |
D | adb_interface_enum.cpp | 78 AdbInstanceEnumEntry& entry = *current_interface_; in Next() local 81 if ((NULL == info) || (*size < entry.GetFlatSize())) { in Next() 82 *size = entry.GetFlatSize(); in Next() 88 entry.Save(info); in Next()
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
D | LocationDbHelper.java | 83 public final long insert(LocationEntry entry) { in insert() argument 92 values.put(COLUMN_NAME_DAY, entry.day); in insert() 93 values.put(COLUMN_NAME_LONGITUDE, entry.longitude); in insert() 94 values.put(COLUMN_NAME_LATITUDE, entry.latitude); in insert() 95 values.put(COLUMN_NAME_TIME, entry.calendar.getTimeInMillis()); in insert() 136 LocationEntry entry = new LocationEntry(cal, cursor.getDouble(1), in read() local 138 result.add(entry); in read()
|
/development/tools/mkstubs/src/com/android/mkstubs/ |
D | StubGenerator.java | 60 for (Entry<String, ClassReader> entry : classes.entrySet()) { in generateStubbedJar() 61 ClassReader cr = entry.getValue(); in generateStubbedJar() 90 for (Entry<String, byte[]> entry : all.entrySet()) { in createJar() 91 String name = entry.getKey(); in createJar() 94 jar.write(entry.getValue()); in createJar()
|
D | AsmAnalyzer.java | 49 ZipEntry entry; in parseInputJar() local 51 entry = entries.nextElement(); in parseInputJar() 52 if (entry.getName().endsWith(".class")) { in parseInputJar() 53 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseInputJar()
|
D | SourceGenerator.java | 56 for (Entry<String, ClassReader> entry : classes.entrySet()) { in generateSource() 57 ClassReader cr = entry.getValue(); in generateSource()
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
D | AlarmStorage.java | 90 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in getAlarms() 91 alarms.add(Alarm.fromJson(entry.getValue().toString())); in getAlarms() 104 for (Map.Entry<String, ?> entry : mSharedPreferences.getAll().entrySet()) { in deleteAlarm() 105 Alarm alarm = Alarm.fromJson(entry.getValue().toString()); in deleteAlarm()
|
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
D | BasicAndroidKeyStoreFragment.java | 234 KeyStore.Entry entry = ks.getEntry(mAlias, null); in signData() local 243 if (entry == null) { in signData() 254 if (!(entry instanceof KeyStore.PrivateKeyEntry)) { in signData() 268 s.initSign(((KeyStore.PrivateKeyEntry) entry).getPrivateKey()); in signData() 319 KeyStore.Entry entry = ks.getEntry(mAlias, null); in verifyData() local 321 if (entry == null) { in verifyData() 327 if (!(entry instanceof KeyStore.PrivateKeyEntry)) { in verifyData() 339 s.initVerify(((KeyStore.PrivateKeyEntry) entry).getCertificate()); in verifyData()
|
/development/samples/Vault/src/com/example/android/vault/ |
D | SecretKeyWrapper.java | 66 final KeyStore.PrivateKeyEntry entry = (KeyStore.PrivateKeyEntry) keyStore.getEntry( in SecretKeyWrapper() local 68 mPair = new KeyPair(entry.getCertificate().getPublicKey(), entry.getPrivateKey()); in SecretKeyWrapper()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/ |
D | TouristAttractions.java | 134 for (Map.Entry<String, LatLng> entry: CITY_LOCATIONS.entrySet()) { in getClosestCity() 135 double distance = SphericalUtil.computeDistanceBetween(curLatLng, entry.getValue()); in getClosestCity() 138 closestCity = entry.getKey(); in getClosestCity()
|
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/ |
D | PinnedAppPickerDialog.java | 68 final AppEntry entry = mAppListAdapter.getItem(position); in onViewCreated() local 69 mAppPickerCallback.onAppPicked(entry); in onViewCreated()
|
D | PinnedAppListViewModel.java | 103 final AppEntry entry = new AppEntry(app, mPackageManager); in loadData() local 104 entries.add(entry); in loadData()
|
D | AppListViewModel.java | 82 AppEntry entry = new AppEntry(app, mPackageManager); in loadData() local 83 entries.add(entry); in loadData()
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
D | DirectorySelectionFragment.java | 178 DirectoryEntry entry = new DirectoryEntry(); in updateDirectoryEntries() local 179 entry.fileName = childCursor.getString(0); in updateDirectoryEntries() 180 entry.mimeType = childCursor.getString(1); in updateDirectoryEntries() 181 directoryEntries.add(entry); in updateDirectoryEntries()
|
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 250 for (Entry entry : entries) { in loadXmlFromNetwork() 252 htmlString.append(entry.link); in loadXmlFromNetwork() 253 htmlString.append("'>" + entry.title + "</a></p>"); in loadXmlFromNetwork() 257 htmlString.append(entry.summary); in loadXmlFromNetwork()
|
/development/samples/browseable/DoneBar/ |
D | _index.jd | 9 action bar that are well-suited for simple data entry scenarios.
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
D | ScopedDirectoryAccessFragment.java | 204 DirectoryEntry entry = new DirectoryEntry(); in updateDirectoryEntries() local 205 entry.fileName = childCursor.getString(childCursor.getColumnIndex( in updateDirectoryEntries() 207 entry.mimeType = childCursor.getString(childCursor.getColumnIndex( in updateDirectoryEntries() 209 mDirectoryEntries.add(entry); in updateDirectoryEntries()
|
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
D | KeyStoreUsage.java | 362 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground() local 363 if (!(entry instanceof PrivateKeyEntry)) { in doInBackground() 368 s.initSign(((PrivateKeyEntry) entry).getPrivateKey()); in doInBackground() 433 KeyStore.Entry entry = ks.getEntry(alias, null); in doInBackground() local 434 if (!(entry instanceof PrivateKeyEntry)) { in doInBackground() 439 s.initVerify(((PrivateKeyEntry) entry).getCertificate()); in doInBackground()
|