Searched refs:CustomRingtone (Results 1 – 6 of 6) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | RingtoneModel.java | 67 private List<CustomRingtone> mCustomRingtones; 83 CustomRingtone addCustomRingtone(Uri uri, String title) { in addCustomRingtone() 85 final CustomRingtone existing = getCustomRingtone(uri); in addCustomRingtone() 90 final CustomRingtone ringtone = CustomRingtoneDAO.addCustomRingtone(mPrefs, uri, title); in addCustomRingtone() 97 final List<CustomRingtone> ringtones = getMutableCustomRingtones(); in removeCustomRingtone() 98 for (CustomRingtone ringtone : ringtones) { in removeCustomRingtone() 107 private CustomRingtone getCustomRingtone(Uri uri) { in getCustomRingtone() 108 for (CustomRingtone ringtone : getMutableCustomRingtones()) { in getCustomRingtone() 117 List<CustomRingtone> getCustomRingtones() { in getCustomRingtones() 123 final List<CustomRingtone> ringtones = getMutableCustomRingtones(); in loadRingtonePermissions() [all …]
|
D | CustomRingtone.java | 25 public final class CustomRingtone implements Comparable<CustomRingtone> { class 39 CustomRingtone(long id, Uri uri, String title, boolean hasPermissions) { in CustomRingtone() method in CustomRingtone 51 CustomRingtone setHasPermissions(boolean hasPermissions) { in setHasPermissions() 56 return new CustomRingtone(mId, mUri, mTitle, hasPermissions); in setHasPermissions() 60 public int compareTo(@NonNull CustomRingtone other) { in compareTo()
|
D | CustomRingtoneDAO.java | 53 static CustomRingtone addCustomRingtone(SharedPreferences prefs, Uri uri, String title) { in addCustomRingtone() 65 return new CustomRingtone(id, uri, title, true); in addCustomRingtone() 90 static List<CustomRingtone> getCustomRingtones(SharedPreferences prefs) { in getCustomRingtones() 92 final List<CustomRingtone> ringtones = new ArrayList<>(ids.size()); in getCustomRingtones() 98 ringtones.add(new CustomRingtone(idLong, uri, title, true)); in getCustomRingtones()
|
D | DataModel.java | 900 public CustomRingtone addCustomRingtone(Uri uri, String title) { in addCustomRingtone() 916 public List<CustomRingtone> getCustomRingtones() { in getCustomRingtones()
|
/packages/apps/DeskClock/src/com/android/deskclock/ringtone/ |
D | RingtoneLoader.java | 29 import com.android.deskclock.data.CustomRingtone; 45 private List<CustomRingtone> mCustomRingtones; 88 for (CustomRingtone ringtone : mCustomRingtones) { in loadInBackground()
|
D | CustomRingtoneHolder.java | 19 import com.android.deskclock.data.CustomRingtone; 23 CustomRingtoneHolder(CustomRingtone ringtone) { in CustomRingtoneHolder()
|