/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/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 | 125 SparseArray<ArrayMap<String, PermissionState>> entries = getEntries(); in loadAllExtraInfo() local 128 loadPermissionsStates(entries); in loadAllExtraInfo() 129 loadAppOpsStates(entries); in loadAllExtraInfo() 137 ArrayMap<String, PermissionState> userMap = entries.get(userId); in loadAllExtraInfo() 163 SparseArray<ArrayMap<String, PermissionState>> entries = new SparseArray<>(); in getEntries() local 167 entries.put(profileId, entriesForProfile); in getEntries() 178 return entries; in getEntries() 190 private void loadPermissionsStates(SparseArray<ArrayMap<String, PermissionState>> entries) { in loadPermissionsStates() argument 195 final ArrayMap<String, PermissionState> entriesForProfile = entries.get(profileId); in loadPermissionsStates() 223 private void loadAppOpsStates(SparseArray<ArrayMap<String, PermissionState>> entries) { in loadAppOpsStates() argument [all …]
|
D | AppOpsState.java | 443 private void addOp(List<AppOpEntry> entries, AppOpsManager.PackageOps pkgOps, in addOp() argument 445 if (allowMerge && entries.size() > 0) { in addOp() 446 AppOpEntry last = entries.get(entries.size()-1); in addOp() 466 entries.add(entry); in addOp() 498 final List<AppOpEntry> entries = new ArrayList<AppOpEntry>(); in buildState() local 530 addOp(entries, pkgOps, appEntry, opEntry, packageName == null, in buildState() 588 addOp(entries, pkgOps, appEntry, opEntry, packageName == null, in buildState() 596 Collections.sort(entries, APP_OP_COMPARATOR); in buildState() 599 return entries; in buildState()
|
/packages/apps/Camera/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() 162 ArrayList<CharSequence> entries = new ArrayList<CharSequence>(); in filterDuplicated() local 165 if (!entries.contains(mEntries[i])) { in filterDuplicated() 166 entries.add(mEntries[i]); in filterDuplicated() 170 int size = entries.size(); in filterDuplicated() [all …]
|
D | CountDownTimerPreference.java | 38 CharSequence[] entries = new CharSequence[MAX_DURATION + 1]; in initCountDownDurationChoices() local 42 entries[0] = context.getString(R.string.setting_off); // Off in initCountDownDurationChoices() 44 entries[i] = context.getResources() in initCountDownDurationChoices() 48 setEntries(entries); in initCountDownDurationChoices()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | BackupAppsStepFragment.java | 130 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in onCreateActions() local 132 if (entries != null) { in onCreateActions() 133 actions.addAll(getAppActions(true, entries)); in onCreateActions() 138 List<ApplicationsState.AppEntry> entries) { in getAppActions() argument 140 final List<GuidedAction> actions = new ArrayList<>(entries.size()); in getAppActions() 141 for (final ApplicationsState.AppEntry entry : entries) { in getAppActions() 153 mEntries.addAll(entries); in getAppActions() 159 mIconLoaderTask = new IconLoaderTask(entries); in getAppActions() 166 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in updateActions() local 168 if (entries != null) { in updateActions() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactModifier.java | 433 final ArrayList<ValuesDelta> entries = state.getMimeEntries(mimeType); in trimEmpty() local 434 if (entries == null) continue; in trimEmpty() 436 for (ValuesDelta entry : entries) { in trimEmpty() 469 final ArrayList<ValuesDelta> entries = state.getMimeEntries(mimeType); in hasChanges() local 470 if (entries == null) continue; in hasChanges() 472 for (ValuesDelta entry : entries) { in hasChanges() 726 ArrayList<ValuesDelta> entries = state.getMimeEntries(mimeType); in parseValues() local 732 if (entries != null && entries.size() > 0) { in parseValues() 733 for (ValuesDelta delta : entries) { in parseValues() 751 addEntry = adjustType(entry, entries, kind); in parseValues() [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/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictionUtils.java | 52 ArrayList<RestrictionEntry> entries = new ArrayList<RestrictionEntry>(); 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 74 for (RestrictionEntry entry : entries) { in setRestrictions() 85 public static Bundle restrictionsToBundle(ArrayList<RestrictionEntry> entries) { in restrictionsToBundle() argument 87 for (RestrictionEntry entry : entries) { in restrictionsToBundle()
|
/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/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientAdapter.java | 137 final List<RecipientEntry> entries = new ArrayList<RecipientEntry>(); in performFiltering() local 142 entries.add(ContactRecipientEntryUtils in performFiltering() 155 entries.add(ContactUtil.createRecipientEntryForPhoneQuery(cursor, in performFiltering() 160 Collections.sort(entries, mComparator); in performFiltering() 162 results.values = entries; in performFiltering() 179 final List<RecipientEntry> entries = (List<RecipientEntry>) results.values; in publishResults() local 180 updateEntries(entries); in publishResults()
|
/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/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()
|
/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/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AppsBrowseInfo.java | 76 final ArrayList<ApplicationsState.AppEntry> entries = mUpdateMap.get(adapter); 77 updateAppListInternal(adapter, entries); 187 ArrayList<ApplicationsState.AppEntry> entries) { in updateAppList() argument 188 mUpdateMap.put(row, entries); in updateAppList() 208 ArrayList<ApplicationsState.AppEntry> entries) { 209 if (entries != null) { 212 for (final ApplicationsState.AppEntry entry : entries) {
|
/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/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/Browser/src/com/android/browser/search/ |
D | SearchEnginePreference.java | 40 ArrayList<CharSequence> entries = new ArrayList<CharSequence>(); in SearchEnginePreference() local 47 entries.add(defaultSearchEngine.getLabel()); in SearchEnginePreference() 54 entries.add(searchEngineInfo.getLabel()); in SearchEnginePreference() 59 setEntries(entries.toArray(new CharSequence[entries.size()])); in SearchEnginePreference()
|
/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 83 for (RestrictionEntry entry : entries) { in setRestrictions()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DisplaySettings.java | 268 final CharSequence[] entries = preference.getEntries(); in updateTimeoutPreferenceDescription() local 270 if (entries == null || entries.length == 0) { in updateTimeoutPreferenceDescription() 281 entries[best]); in updateTimeoutPreferenceDescription() 295 final CharSequence[] entries = screenTimeoutPreference.getEntries(); in disableUnusableTimeouts() local 302 revisedEntries.add(entries[i]); in disableUnusableTimeouts() 306 if (revisedEntries.size() != entries.length || revisedValues.size() != values.length) { in disableUnusableTimeouts()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 605 final String entries = cursor.getString(COLUMN_INDEX_RAW_ENTRIES); in addIndexablesForRawDataUri() local 627 data.entries = entries; in addIndexablesForRawDataUri() 724 raw.entries, in indexOneRaw() 886 String entries = null; in indexFromResource() local 889 entries = getDataEntries(context, attrs); in indexFromResource() 893 updateOneRowWithFilteredData(database, localeStr, title, summary, null, entries, in indexFromResource() 950 raw.entries, in indexFromProvider() 991 String title, String summaryOn, String summaryOff, String entries, in updateOneRowWithFilteredData() argument 1007 updatedSummaryOff, normalizedSummaryOff, entries, in updateOneRowWithFilteredData() 1027 String updatedSummaryOff, String normalizedSummaryOff, String entries, in updateOneRow() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | GroupMembershipView.java | 358 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE); in onItemClick() local 359 if (entries != null) { in onItemClick() 360 for (ValuesDelta entry : entries) { in onItemClick() 403 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE); in hasMembership() local 404 if (entries != null) { in hasMembership() 405 for (ValuesDelta values : entries) { in hasMembership()
|
/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/apps/Email/src/com/android/email/activity/setup/ |
D | MailboxSettings.java | 167 CharSequence[] entries; in setupLookbackPreferenceOptions() local 171 entries = resources.getTextArray( in setupLookbackPreferenceOptions() 177 entries = resources.getTextArray(R.array.account_settings_mail_window_entries); in setupLookbackPreferenceOptions() 184 entries = Arrays.copyOf(entries, size); in setupLookbackPreferenceOptions() 188 pref.setEntries(entries); in setupLookbackPreferenceOptions()
|