Home
last modified time | relevance | path

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

/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/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/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java3399 final long newId = DatabaseUtils.longForQuery( in duplicateEvent() local
3401 if (newId < 0) { in duplicateEvent()
3406 Log.v(TAG, "Duplicating event " + id + " into new event " + newId); in duplicateEvent()
3409 copyEventRelatedTables(db, newId, id); in duplicateEvent()
3420 static void copyEventRelatedTables(SQLiteDatabase db, long newId, long id) { in copyEventRelatedTables() argument
3427 new Object[] {newId, id}); in copyEventRelatedTables()
3434 new Object[] {newId, id}); in copyEventRelatedTables()
3441 new Object[]{newId, id}); in copyEventRelatedTables()
/packages/apps/Camera/src/com/android/camera/ui/
DTimerSettingPopup.java143 int newId = mNumberSpinner.getValue() + 1; in updateInputState() local
144 mPreference.setValueIndex(newId); in updateInputState()
DTimeIntervalPopup.java153 int newId = mUnitSpinner.getValue() * (mNumberSpinner.getMaxValue() + 1) in updateInputState() local
155 mPreference.setValueIndex(newId); in updateInputState()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java354 for (final Long newId : newIds) { in updateSuggestedContactIds()
355 mSuggestedContactIds[i++] = newId; in updateSuggestedContactIds()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java1653 long newId = RawContactUtil.createRawContact(mResolver, in testNotAggregate_TooManyRawContactsInCandidate() local
1655 DataUtil.insertStructuredName(mResolver, newId, "John", "Doe"); in testNotAggregate_TooManyRawContactsInCandidate()
1656 assertNotAggregated(preId, newId); in testNotAggregate_TooManyRawContactsInCandidate()
1657 assertTrue(queryContactId(newId) > 0); in testNotAggregate_TooManyRawContactsInCandidate()
/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/apps/Gallery2/src/com/android/gallery3d/data/
DSnailSource.java59 public static synchronized int newId() { in newId() method in SnailSource
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java857 long newId = LauncherAppState.getLauncherProvider().generateNewScreenId(); in commitExtraEmptyScreen() local
858 mWorkspaceScreens.put(newId, cl); in commitExtraEmptyScreen()
859 mScreenOrder.add(newId); in commitExtraEmptyScreen()
869 return newId; in commitExtraEmptyScreen()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java1947 long newId = ContentUris.parseId(insertUri); in updateBookmarksInTransaction() local
1951 updateChildren.put(Bookmarks.PARENT, newId); in updateBookmarksInTransaction()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java404 int id = SnailSource.newId(); in onCreate()