Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
DUrlHandler.java250 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/
DDeviceAdminSettings.java78 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/
DMusicUtils.java423 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 …]
DTrackBrowserActivity.java398 int cur = MusicUtils.sService.getQueuePosition(); in init() local
399 setSelection(cur); in init()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarms.java352 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/
DSoundRecorder.java542 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/
DCalendarEventModel.java844 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/
DUtils.java722 final CharSequence cur = suggestions.get(i); in removeDupes() local
726 if (TextUtils.equals(cur, previous)) { in removeDupes()
/packages/inputmethods/PinyinIME/jni/share/
Duserdict.cpp1267 off_t cur = lseek(fd, 0, SEEK_CUR); in _get_lpis() local
1268 ftruncate(fd, cur); in _get_lpis()