/packages/apps/Music/src/com/android/music/ |
D | MusicPicker.java | 635 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/ |
D | Account.java | 714 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/ |
D | CalendarDatabaseHelper.java | 3390 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/ |
D | SnailSource.java | 59 public static synchronized int newId() { in newId() method in SnailSource
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 377 for (final Long newId : newIds) { in updateSuggestedContactIds() 378 mSuggestedContactIds[i++] = newId; in updateSuggestedContactIds()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | TwoPaneController.java | 641 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/ |
D | ContactAggregatorTest.java | 1741 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()
|
D | ContactAggregator2Test.java | 1752 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/ |
D | Workspace.java | 832 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/ |
D | PhotoPage.java | 404 int id = SnailSource.newId(); in onCreate()
|