/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarInstancesHelper.java | 160 Cursor entries) { in performInstanceExpansion() argument 168 int statusColumn = entries.getColumnIndex(Events.STATUS); in performInstanceExpansion() 169 int dtstartColumn = entries.getColumnIndex(Events.DTSTART); in performInstanceExpansion() 170 int dtendColumn = entries.getColumnIndex(Events.DTEND); in performInstanceExpansion() 171 int eventTimezoneColumn = entries.getColumnIndex(Events.EVENT_TIMEZONE); in performInstanceExpansion() 172 int durationColumn = entries.getColumnIndex(Events.DURATION); in performInstanceExpansion() 173 int rruleColumn = entries.getColumnIndex(Events.RRULE); in performInstanceExpansion() 174 int rdateColumn = entries.getColumnIndex(Events.RDATE); in performInstanceExpansion() 175 int exruleColumn = entries.getColumnIndex(Events.EXRULE); in performInstanceExpansion() 176 int exdateColumn = entries.getColumnIndex(Events.EXDATE); in performInstanceExpansion() [all …]
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramManager.java | 407 List<TableEntry> entries = createProgramEntries(channelId, parentalControlsEnabled); in updateTableEntries() local 408 mChannelIdEntriesMap.put(channelId, entries); in updateTableEntries() 410 int size = entries.size(); in updateTableEntries() 418 TableEntry lastEntry = entries.get(size - 1); in updateTableEntries() 427 List<TableEntry> entries = mChannelIdEntriesMap.get(channelId); in updateTableEntries() local 428 if (entries.isEmpty()) { in updateTableEntries() 429 entries.add(new TableEntry(channelId, mStartUtcMillis, mEndUtcMillis)); in updateTableEntries() 431 TableEntry lastEntry = entries.get(entries.size() - 1); in updateTableEntries() 433 entries.add(new TableEntry(channelId, lastEntry.entryEndUtcMillis, in updateTableEntries() 436 entries.remove(entries.size() - 1); in updateTableEntries() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/ |
D | GalleryWidgetMigrator.java | 82 List<Entry> entries = dbHelper.getEntries(WidgetDatabaseHelper.TYPE_ALBUM); in migrateGalleryWidgetsInternal() local 83 if (entries == null) return; in migrateGalleryWidgetsInternal() 89 HashMap<Integer, Entry> localEntries = new HashMap<Integer, Entry>(entries.size()); in migrateGalleryWidgetsInternal() 90 for (Entry entry : entries) { in migrateGalleryWidgetsInternal() 107 HashMap<Integer, Entry> entries, WidgetDatabaseHelper dbHelper) { in migrateLocalEntries() argument 111 migrateLocalEntries(entries, dbHelper, oldExtPath); in migrateLocalEntries() 116 migrateLocalEntries(entries, dbHelper, PRE_JB_EXT_PATH); in migrateLocalEntries() 117 if (!entries.isEmpty() && in migrateLocalEntries() 119 migrateLocalEntries(entries, dbHelper, JB_EXT_PATH); in migrateLocalEntries() 123 private static void migrateLocalEntries(HashMap<Integer, Entry> entries, in migrateLocalEntries() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 124 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in loadAllExtraInfo() local 127 loadPermissionsStates(entries); in loadAllExtraInfo() 128 loadAppOpsStates(entries); in loadAllExtraInfo() 136 ArrayMap<String, PermissionState> userMap = entries.get(userId); in loadAllExtraInfo() 162 SparseArray<ArrayMap<String, PermissionState>> entries = new SparseArray<>(); in getEntries() local 166 entries.put(profileId, entriesForProfile); in getEntries() 177 return entries; in getEntries() 189 private void loadPermissionsStates(SparseArray<ArrayMap<String, PermissionState>> entries) { in loadPermissionsStates() argument 194 final ArrayMap<String, PermissionState> entriesForProfile = entries.get(profileId); in loadPermissionsStates() 222 private void loadAppOpsStates(SparseArray<ArrayMap<String, PermissionState>> entries) { in loadAppOpsStates() argument [all …]
|
D | AppOpsState.java | 470 private void addOp(List<AppOpEntry> entries, AppOpsManager.PackageOps pkgOps, in addOp() argument 472 if (allowMerge && entries.size() > 0) { in addOp() 473 AppOpEntry last = entries.get(entries.size()-1); in addOp() 493 entries.add(entry); in addOp() 534 final List<AppOpEntry> entries = new ArrayList<AppOpEntry>(); in buildState() local 566 addOp(entries, pkgOps, appEntry, opEntry, packageName == null, in buildState() 624 addOp(entries, pkgOps, appEntry, opEntry, packageName == null, in buildState() 632 Collections.sort(entries, comparator); in buildState() 635 return entries; in buildState()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | BackupAppsStepFragment.java | 136 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in onCreateActions() local 138 if (entries != null) { in onCreateActions() 139 actions.addAll(getAppActions(true, entries)); in onCreateActions() 144 List<ApplicationsState.AppEntry> entries) { in getAppActions() argument 146 final List<GuidedAction> actions = new ArrayList<>(entries.size() + 1); in getAppActions() 172 for (final ApplicationsState.AppEntry entry : entries) { in getAppActions() 183 mEntries.addAll(entries); in getAppActions() 189 mIconLoaderTask = new IconLoaderTask(entries); in getAppActions() 203 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in updateActions() local 205 if (entries != null) { in updateActions() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalAlbumSet.java | 94 private static int findBucket(BucketEntry entries[], int bucketId) { in findBucket() argument 95 for (int i = 0, n = entries.length; i < n; ++i) { in findBucket() 96 if (entries[i].bucketId == bucketId) return i; in findBucket() 108 BucketEntry[] entries = BucketHelper.loadBucketEntries( in run() local 116 int index = findBucket(entries, MediaSetUtils.CAMERA_BUCKET_ID); in run() 118 circularShiftRight(entries, offset++, index); in run() 120 index = findBucket(entries, MediaSetUtils.DOWNLOAD_BUCKET_ID); in run() 122 circularShiftRight(entries, offset++, index); in run() 127 for (BucketEntry entry : entries) { in run()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ConfigureNotificationSettings.java | 158 ArrayList<CharSequence> entries = new ArrayList<>(); in initLockscreenNotifications() local 160 entries.add(getString(R.string.lock_screen_notifications_summary_disable)); in initLockscreenNotifications() 166 entries.add(summaryShowEntry); in initLockscreenNotifications() 175 entries.add(summaryHideEntry); in initLockscreenNotifications() 181 mLockscreen.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockscreenNotifications() 217 ArrayList<CharSequence> entries = new ArrayList<>(); in initLockscreenNotificationsForProfile() local 219 entries.add(getString(R.string.lock_screen_notifications_summary_disable_profile)); in initLockscreenNotificationsForProfile() 226 entries.add(summaryShowEntry); in initLockscreenNotificationsForProfile() 236 entries.add(summaryHideEntry); in initLockscreenNotificationsForProfile() 248 mLockscreenProfile.setEntries(entries.toArray(new CharSequence[entries.size()])); in initLockscreenNotificationsForProfile()
|
D | ZenModeEventRuleSettings.java | 86 ArrayList<CharSequence> entries = new ArrayList<>(); in reloadCalendar() local 88 entries.add(getString(R.string.zen_mode_event_rule_calendar_any)); in reloadCalendar() 93 entries.add(calendar.name); in reloadCalendar() 100 entries.add(eventCalendar); in reloadCalendar() 103 mCalendar.setEntries(entries.toArray(new CharSequence[entries.size()])); in reloadCalendar()
|
D | NotificationSettingsBase.java | 224 ArrayList<CharSequence> entries = new ArrayList<>(); in setupVisOverridePref() local 232 entries.add(summaryShowEntry); in setupVisOverridePref() 241 entries.add(summaryHideEntry); in setupVisOverridePref() 245 entries.add(getString(R.string.lock_screen_notifications_summary_disable)); in setupVisOverridePref() 247 mVisibilityOverride.setEntries(entries.toArray(new CharSequence[entries.size()])); in setupVisOverridePref()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ListPreference.java | 84 public void setEntries(CharSequence entries[]) { in setEntries() argument 85 mEntries = entries == null ? new CharSequence[0] : entries; in setEntries() 148 ArrayList<CharSequence> entries = new ArrayList<CharSequence>(); in filterUnsupported() local 152 entries.add(mEntries[i]); in filterUnsupported() 156 int size = entries.size(); in filterUnsupported() 157 mEntries = entries.toArray(new CharSequence[size]); in filterUnsupported()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictionUtils.java | 52 ArrayList<RestrictionEntry> entries = new ArrayList<>(); in getRestrictions() local 63 entries.add(entry); in getRestrictions() 66 return entries; in getRestrictions() 69 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions() argument 73 for (RestrictionEntry entry : entries) { in setRestrictions()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | RestrictionUtils.java | 61 ArrayList<RestrictionEntry> entries = new ArrayList<RestrictionEntry>(); in getRestrictions() local 72 entries.add(entry); in getRestrictions() 75 return entries; in getRestrictions() 78 public static void setRestrictions(Context context, ArrayList<RestrictionEntry> entries, in setRestrictions() argument 81 for (RestrictionEntry entry : entries) { in setRestrictions()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AppsFragment.java | 64 final ArrayList<ApplicationsState.AppEntry> entries = mUpdateMap.get(group); 65 updateAppListInternal(group, entries); 202 ArrayList<ApplicationsState.AppEntry> entries) { in updateAppList() argument 207 mUpdateMap.put(group, entries); in updateAppList() 227 ArrayList<ApplicationsState.AppEntry> entries) { 228 if (entries != null) { 229 final Set<String> touched = new ArraySet<>(entries.size()); 230 for (final ApplicationsState.AppEntry entry : entries) {
|
/packages/apps/Settings/src/com/android/settings/voice/ |
D | VoiceInputListPreference.java | 89 List<CharSequence> entries = new ArrayList<>(); in refreshVoiceInputs() local 93 entries.add(info.appLabel); in refreshVoiceInputs() 102 final int serviceCount = entries.size(); in refreshVoiceInputs() 106 entries.add(info.label); in refreshVoiceInputs() 112 setEntries(entries.toArray(new CharSequence[entries.size()])); in refreshVoiceInputs()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 421 final ArrayList<ValuesDelta> entries = state.getMimeEntries(mimeType); in trimEmpty() local 422 if (entries == null) continue; in trimEmpty() 424 for (ValuesDelta entry : entries) { in trimEmpty() 459 final ArrayList<ValuesDelta> entries = state.getMimeEntries(mimeType); in hasChanges() local 460 if (entries == null) continue; in hasChanges() 462 for (ValuesDelta entry : entries) { in hasChanges() 716 ArrayList<ValuesDelta> entries = state.getMimeEntries(mimeType); in parseValues() local 722 if (entries != null && entries.size() > 0) { in parseValues() 723 for (ValuesDelta delta : entries) { in parseValues() 741 addEntry = adjustType(entry, entries, kind); in parseValues() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | LocalePreference.java | 48 final CharSequence[] entries = new CharSequence[finalSize + 1]; in init() local 50 entries[0] = context.getResources().getString(R.string.locale_default); in init() 55 entries[i + 1] = info.toString(); in init() 59 setEntries(entries); in init()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandlerForGroupMembership.java | 209 ArrayList<GroupIdCacheEntry> entries = mGroupIdCache.get(sourceId); 210 if (entries == null) { 211 entries = new ArrayList<GroupIdCacheEntry>(1); 212 mGroupIdCache.put(sourceId, entries); 215 int count = entries.size(); 217 GroupIdCacheEntry entry = entries.get(i); 226 entries.add(0, entry);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | VCardRecord.java | 107 ArrayList<VCardEntry> entries = getVCardEntries(); in getDisplayName() local 108 if (!entries.isEmpty()) { in getDisplayName() 109 return entries.get(0).getDisplayName(); in getDisplayName() 118 final ArrayList<VCardEntry> entries = Lists.newArrayList(); in getVCardEntries() local 128 entries.add(entry); in getVCardEntries() 143 return entries; in getVCardEntries()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PhonebookPullRequest.java | 92 HashMap<PhonebookEntry.Name, PhonebookEntry> entries = new HashMap<>(); in fetchExistingContacts() local 110 entries.put(e.name, e); in fetchExistingContacts() 119 return entries; in fetchExistingContacts() 122 private void addContacts(List<PhonebookEntry> entries) in addContacts() argument 125 for (PhonebookEntry e : entries) { in addContacts() 170 private void deleteContacts(List<PhonebookEntry> entries) in deleteContacts() argument 173 for (PhonebookEntry e : entries) { in deleteContacts()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyListPreference.java | 80 private static CharSequence[] createAccessibleEntries(CharSequence entries[], in createAccessibleEntries() argument 82 CharSequence[] accessibleEntries = new CharSequence[entries.length]; in createAccessibleEntries() 83 for (int i = 0; i < entries.length; i++) { in createAccessibleEntries() 84 accessibleEntries[i] = createAccessibleSequence(entries[i], contentDescriptions[i]); in createAccessibleEntries()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | TtsEngineSettingsFragment.java | 155 final CharSequence[] entries = in onCreatePreferences() local 162 mLocalePreference.setEntries(entries); in onCreatePreferences() 165 mLocalePreference.setEnabled(entries.length > 0); in onCreatePreferences() 288 CharSequence[] entries = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref() local 291 entries[0] = getString(R.string.tts_lang_use_system); in updateDefaultLocalePref() 299 entries[i] = entry.first; in updateDefaultLocalePref() 303 mLocalePreference.setEntries(entries); in updateDefaultLocalePref()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TtsEngineSettingsFragment.java | 139 final CharSequence[] entries = in onCreate() local 146 mLocalePreference.setEntries(entries); in onCreate() 149 mLocalePreference.setEnabled(entries.length > 0); in onCreate() 266 CharSequence[] entries = new CharSequence[availableLangs.size()+1]; in updateDefaultLocalePref() local 269 entries[0] = getActivity().getString(R.string.tts_lang_use_system); in updateDefaultLocalePref() 277 entries[i] = entry.first; in updateDefaultLocalePref() 281 mLocalePreference.setEntries(entries); in updateDefaultLocalePref()
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | JarUtils.java | 65 final Enumeration<JarEntry> entries = jar.entries(); in getEntryNameListing() local 66 while (entries.hasMoreElements()) { in getEntryNameListing() 67 final JarEntry entry = entries.nextElement(); in getEntryNameListing()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraSettingsActivity.java | 418 String[] entries = new String[selectedSizes.size()]; in setEntriesForSelection() local 422 entries[i] = getSizeSummaryString(size); in setEntriesForSelection() 425 preference.setEntries(entries); in setEntriesForSelection() 444 ArrayList<String> entries = new ArrayList<String>(); in setEntriesForSelection() local 445 entries.add(mCamcorderProfileNames[selectedQualities.large]); in setEntriesForSelection() 447 entries.add(mCamcorderProfileNames[selectedQualities.medium]); in setEntriesForSelection() 450 entries.add(mCamcorderProfileNames[selectedQualities.small]); in setEntriesForSelection() 452 preference.setEntries(entries.toArray(new String[0])); in setEntriesForSelection()
|