Searched refs:cur (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Browser/src/com/android/browser/ |
D | UrlHandler.java | 250 Cursor cur = null; in doInBackground() local 252 cur = mActivity.getContentResolver() in doInBackground() 254 if (cur != null && cur.moveToFirst() && !cur.isNull(0)) { in doInBackground() 256 .appendQueryParameter("rlz", cur.getString(0)) in doInBackground() 260 if (cur != null) { in doInBackground() 261 cur.close(); in doInBackground()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DeviceAdminSettings.java | 78 List<ComponentName> cur = mDPM.getActiveAdmins(); in updateList() local 79 if (cur != null) { in updateList() 80 for (int i=0; i<cur.size(); i++) { in updateList() 81 mActiveAdmins.add(cur.get(i)); in updateList()
|
/packages/apps/Music/src/com/android/music/ |
D | MusicUtils.java | 423 Cursor cur = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in makePlaylistMenu() local 429 if (cur != null && cur.getCount() > 0) { in makePlaylistMenu() 431 cur.moveToFirst(); in makePlaylistMenu() 432 while (! cur.isAfterLast()) { in makePlaylistMenu() 434 intent.putExtra("playlist", cur.getLong(0)); in makePlaylistMenu() 438 sub.add(1, Defs.PLAYLIST_SELECTED, 0, cur.getString(1)).setIntent(intent); in makePlaylistMenu() 440 cur.moveToNext(); in makePlaylistMenu() 443 if (cur != null) { in makePlaylistMenu() 444 cur.close(); in makePlaylistMenu() 578 Cursor cur = resolver.query(uri, cols, null, null, null); in addToPlaylist() local [all …]
|
D | TrackBrowserActivity.java | 398 int cur = MusicUtils.sService.getQueuePosition(); in init() local 399 setSelection(cur); in init()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | Alarms.java | 352 Cursor cur = getFilteredAlarmsCursor(context.getContentResolver()); in disableExpiredAlarms() local 356 if (cur.moveToFirst()) { in disableExpiredAlarms() 358 Alarm alarm = new Alarm(cur); in disableExpiredAlarms() 366 } while (cur.moveToNext()); in disableExpiredAlarms() 369 cur.close(); in disableExpiredAlarms()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | SoundRecorder.java | 542 Cursor cur = resolver.query(uri, cols, null, null, null); in addToPlaylist() local 543 cur.moveToFirst(); in addToPlaylist() 544 final int base = cur.getInt(0); in addToPlaylist() 545 cur.close(); in addToPlaylist()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 844 ReminderEntry cur = mReminders.get(i); in normalizeReminders() local 845 if (prev.equals(cur)) { in normalizeReminders() 849 prev = cur; in normalizeReminders()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | Utils.java | 722 final CharSequence cur = suggestions.get(i); in removeDupes() local 726 if (TextUtils.equals(cur, previous)) { in removeDupes()
|
/packages/inputmethods/PinyinIME/jni/share/ |
D | userdict.cpp | 1267 off_t cur = lseek(fd, 0, SEEK_CUR); in _get_lpis() local 1268 ftruncate(fd, cur); in _get_lpis()
|