Home
last modified time | relevance | path

Searched refs:newId (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Music/src/com/android/music/
DMusicPicker.java635 long newId = mCursor.getLong(mCursor.getColumnIndex(MediaStore.Audio.Media._ID)); in setSelected() local
636 mSelectedUri = ContentUris.withAppendedId(uri, newId); in setSelected()
638 mSelectedId = newId; in setSelected()
639 if (newId != mPlayingId || mMediaPlayer == null) { in setSelected()
648 mPlayingId = newId; in setSelected()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DAccount.java714 long newId = getId(results[recvIndex].uri); in save() local
715 mHostAuthKeyRecv = newId; in save()
716 mHostAuthRecv.mId = newId; in save()
719 long newId = getId(results[sendIndex].uri); in save() local
720 mHostAuthKeySend = newId; in save()
721 mHostAuthSend.mId = newId; in save()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java3390 final long newId = DatabaseUtils.longForQuery( in duplicateEvent() local
3392 if (newId < 0) { in duplicateEvent()
3397 Log.v(TAG, "Duplicating event " + id + " into new event " + newId); in duplicateEvent()
3400 copyEventRelatedTables(db, newId, id); in duplicateEvent()
3411 static void copyEventRelatedTables(SQLiteDatabase db, long newId, long id) { in copyEventRelatedTables() argument
3418 new Object[] {newId, id}); in copyEventRelatedTables()
3425 new Object[] {newId, id}); in copyEventRelatedTables()
3432 new Object[]{newId, id}); in copyEventRelatedTables()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSnailSource.java59 public static synchronized int newId() { in newId() method in SnailSource
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java377 for (final Long newId : newIds) { in updateSuggestedContactIds()
378 mSuggestedContactIds[i++] = newId; in updateSuggestedContactIds()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneController.java641 final long newId = conversation != null ? conversation.id : -1; in setCurrentConversation() local
642 final boolean different = oldId != newId; in setCurrentConversation()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java1741 long newId = RawContactUtil.createRawContact(mResolver, in testNotAggregate_TooManyRawContactsInCandidate() local
1743 DataUtil.insertStructuredName(mResolver, newId, "John", "Doe"); in testNotAggregate_TooManyRawContactsInCandidate()
1744 assertNotAggregated(preId, newId); in testNotAggregate_TooManyRawContactsInCandidate()
1745 assertTrue(queryContactId(newId) > 0); in testNotAggregate_TooManyRawContactsInCandidate()
DContactAggregator2Test.java1752 long newId = RawContactUtil.createRawContact(mResolver, in testNotAggregate_TooManyRawContactsInCandidate() local
1754 DataUtil.insertStructuredName(mResolver, newId, "John", "Doe"); in testNotAggregate_TooManyRawContactsInCandidate()
1755 assertNotAggregated(preId, newId); in testNotAggregate_TooManyRawContactsInCandidate()
1756 assertTrue(queryContactId(newId) > 0); in testNotAggregate_TooManyRawContactsInCandidate()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java832 long newId = LauncherAppState.getLauncherProvider().generateNewScreenId(); in commitExtraEmptyScreen() local
833 mWorkspaceScreens.put(newId, cl); in commitExtraEmptyScreen()
834 mScreenOrder.add(newId); in commitExtraEmptyScreen()
844 return newId; in commitExtraEmptyScreen()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java404 int id = SnailSource.newId(); in onCreate()