/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 78 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, in createMessage() argument 81 "1", b.mAccountKey, b.mId, true, false, c, starred, read); in createMessage() 83 message.save(c); in createMessage() 95 final Context c = mMockContext; in testSave() local 97 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); in testSave() 99 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testSave() 102 Mailbox box2 = Mailbox.restoreMailboxWithId(c, box1Id); in testSave() 111 final Context c = mMockContext; in testDelete() local 113 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); in testDelete() 115 Mailbox box1 = ProviderTestUtils.setupMailbox("box1", account1Id, true, c); in testDelete() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseContactsProvider2Test.java | 544 Cursor c = queryRawContact(rawContactId); in queryContactId() local 545 assertTrue(c.moveToFirst()); in queryContactId() 546 long contactId = c.getLong(c.getColumnIndex(RawContacts.CONTACT_ID)); in queryContactId() 547 c.close(); in queryContactId() 552 Cursor c = queryContact(contactId); in queryPhotoId() local 553 assertTrue(c.moveToFirst()); in queryPhotoId() 554 long photoId = c.getInt(c.getColumnIndex(Contacts.PHOTO_ID)); in queryPhotoId() 555 c.close(); in queryPhotoId() 565 Cursor c = queryRawContact(rawContactId); in queryRawContactIsStarred() local 567 assertTrue(c.moveToFirst()); in queryRawContactIsStarred() [all …]
|
/packages/apps/Mms/src/com/android/mms/data/ |
D | Conversation.java | 316 final Cursor c = SqliteWrapper.query(context, context.getContentResolver(), in sendReadReport() local 321 if (c == null || c.getCount() == 0) { in sendReadReport() 325 while (c.moveToNext()) { in sendReadReport() 326 Uri uri = ContentUris.withAppendedId(Mms.CONTENT_URI, c.getLong(0)); in sendReadReport() 331 c.getString(1), status); in sendReadReport() 334 if (c != null) { in sendReadReport() 335 c.close(); in sendReadReport() 380 Cursor c = mContext.getContentResolver().query(threadUri, in markAsRead() local 382 if (c != null) { in markAsRead() 384 needUpdate = c.getCount() > 0; in markAsRead() [all …]
|
D | Contact.java | 483 for (Contact c : alc) { in dump() 484 Log.d(TAG, key + " ==> " + c.toString()); in dump() 581 final Contact c = contact; in get() local 585 updateContact(c); in get() 721 private void updateContact(final Contact c) { in updateContact() argument 722 if (c == null) { in updateContact() 726 Contact entry = getContactInfo(c); in updateContact() 727 synchronized (c) { in updateContact() 728 if (contactChanged(c, entry)) { in updateContact() 733 c.mNumber = entry.mNumber; in updateContact() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/ |
D | AccountSelectorAdapterTest.java | 99 AccountSelectorAdapter.CursorWithExtras c = createCursorWithExtras(); in testCursorWithExtras_setAccountMailboxInfo() local 100 c.setAccountMailboxInfo(context, a1.mId, Mailbox.NO_MAILBOX); in testCursorWithExtras_setAccountMailboxInfo() 102 assertTrue(c.accountExists()); in testCursorWithExtras_setAccountMailboxInfo() 103 assertEquals(a1.mId, c.getAccountId()); in testCursorWithExtras_setAccountMailboxInfo() 104 assertEquals("a1", c.getAccountDisplayName()); in testCursorWithExtras_setAccountMailboxInfo() 105 assertEquals(Mailbox.NO_MAILBOX, c.getMailboxId()); in testCursorWithExtras_setAccountMailboxInfo() 106 assertNull(c.getMailboxDisplayName()); in testCursorWithExtras_setAccountMailboxInfo() 107 assertEquals(0, c.getMailboxMessageCount()); in testCursorWithExtras_setAccountMailboxInfo() 110 c = createCursorWithExtras(); in testCursorWithExtras_setAccountMailboxInfo() 111 c.setAccountMailboxInfo(context, a1.mId, m1.mId); in testCursorWithExtras_setAccountMailboxInfo() [all …]
|
D | MailboxFragmentAdapterTest.java | 47 final Context c = mMockContext; in testBuildCombinedMailboxes() local 50 Account a1 = ProviderTestUtils.setupAccount("a1", true, c); in testBuildCombinedMailboxes() 51 Account a2 = ProviderTestUtils.setupAccount("a2", true, c); in testBuildCombinedMailboxes() 52 Account a3 = ProviderTestUtils.setupAccount("a3", true, c); in testBuildCombinedMailboxes() 54 Mailbox b1i = ProviderTestUtils.setupMailbox("box1i", a1.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 55 Mailbox b2i = ProviderTestUtils.setupMailbox("box2i", a2.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 56 Mailbox b3i = ProviderTestUtils.setupMailbox("box3i", a3.mId, true, c, Mailbox.TYPE_INBOX); in testBuildCombinedMailboxes() 57 Mailbox b1o = ProviderTestUtils.setupMailbox("box1i", a1.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes() 58 Mailbox b2o = ProviderTestUtils.setupMailbox("box2i", a2.mId, true, c, Mailbox.TYPE_OUTBOX); in testBuildCombinedMailboxes() 59 Mailbox b1d = ProviderTestUtils.setupMailbox("box1d", a1.mId, true, c, Mailbox.TYPE_DRAFTS); in testBuildCombinedMailboxes() [all …]
|
/packages/apps/Browser/tests/src/com/android/browser/tests/ |
D | BP1to2UpgradeTests.java | 55 Cursor c = mBp1.query(Browser.BOOKMARKS_URI, in testStockUpgrade() local 58 ArrayList<String> urls = new ArrayList<String>(c.getCount()); in testStockUpgrade() 59 while (c.moveToNext()) { in testStockUpgrade() 60 urls.add(c.getString(0)); in testStockUpgrade() 62 c.close(); in testStockUpgrade() 64 c = getMockContentResolver().query(Browser.BOOKMARKS_URI, in testStockUpgrade() 67 assertEquals(urls.size(), c.getCount()); in testStockUpgrade() 69 while (c.moveToNext()) { in testStockUpgrade() 70 assertEquals(urls.get(i++), c.getString(0)); in testStockUpgrade() 72 c.close(); in testStockUpgrade() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator.java | 435 final Cursor c = db.rawQuery(sbQuery.toString(), null); in aggregateInTransaction() local 437 actualCount = c.getCount(); in aggregateInTransaction() 443 while (c.moveToNext()) { in aggregateInTransaction() 444 rawContactIds[index] = c.getLong(AggregationQuery._ID); in aggregateInTransaction() 445 contactIds[index] = c.getLong(AggregationQuery.CONTACT_ID); in aggregateInTransaction() 446 accountIds[index] = c.getLong(AggregationQuery.ACCOUNT_ID); in aggregateInTransaction() 450 c.close(); in aggregateInTransaction() 1128 final Cursor c = db.query(AggregateExceptionPrefetchQuery.TABLE, in prefetchAggregationExceptionIds() local 1133 while (c.moveToNext()) { in prefetchAggregationExceptionIds() 1134 long rawContactId1 = c.getLong(AggregateExceptionPrefetchQuery.RAW_CONTACT_ID1); in prefetchAggregationExceptionIds() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_feature_detection.cpp | 37 long c,size; in db_AllocStrengthImage_f() local 49 for(c=0;c<size;c++) p[c]=0.0; in db_AllocStrengthImage_f() 73 int c; in db_IxIyRow_f() local 75 for(c=0;c<chunk_width;c++) in db_IxIyRow_f() 77 Ix[c]=img[i][j+c-1]-img[i][j+c+1]; in db_IxIyRow_f() 78 Iy[c]=img[i-1][j+c]-img[i+1][j+c]; in db_IxIyRow_f() 201 int c; in db_IxIyRow_u() 204 for(c=0;c<nc;c++) in db_IxIyRow_u() 206 Ix=(img[i][j+c-1]-img[i][j+c+1])>>1; in db_IxIyRow_u() 207 Iy=(img[i-1][j+c]-img[i+1][j+c])>>1; in db_IxIyRow_u() [all …]
|
/packages/apps/Gallery2/jni_mosaic/feature_stab/db_vlvm/ |
D | db_feature_detection.cpp | 37 long c,size; in db_AllocStrengthImage_f() local 49 for(c=0;c<size;c++) p[c]=0.0; in db_AllocStrengthImage_f() 73 int c; in db_IxIyRow_f() local 75 for(c=0;c<chunk_width;c++) in db_IxIyRow_f() 77 Ix[c]=img[i][j+c-1]-img[i][j+c+1]; in db_IxIyRow_f() 78 Iy[c]=img[i-1][j+c]-img[i+1][j+c]; in db_IxIyRow_f() 201 int c; in db_IxIyRow_u() 204 for(c=0;c<nc;c++) in db_IxIyRow_u() 206 Ix=(img[i][j+c-1]-img[i][j+c+1])>>1; in db_IxIyRow_u() 207 Iy=(img[i-1][j+c]-img[i+1][j+c])>>1; in db_IxIyRow_u() [all …]
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_feature_detection.cpp | 37 long c,size; in db_AllocStrengthImage_f() local 49 for(c=0;c<size;c++) p[c]=0.0; in db_AllocStrengthImage_f() 73 int c; in db_IxIyRow_f() local 75 for(c=0;c<chunk_width;c++) in db_IxIyRow_f() 77 Ix[c]=img[i][j+c-1]-img[i][j+c+1]; in db_IxIyRow_f() 78 Iy[c]=img[i-1][j+c]-img[i+1][j+c]; in db_IxIyRow_f() 201 int c; in db_IxIyRow_u() 204 for(c=0;c<nc;c++) in db_IxIyRow_u() 206 Ix=(img[i][j+c-1]-img[i][j+c+1])>>1; in db_IxIyRow_u() 207 Iy=(img[i-1][j+c]-img[i+1][j+c])>>1; in db_IxIyRow_u() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | CapsModeUtilsTests.java | 36 final int c = TextUtils.CAP_MODE_CHARACTERS; in allPathsForCaps() local 39 onePathForCaps(cs, expectedResult, c | w | s, l, hasSpaceBefore); in allPathsForCaps() 41 onePathForCaps(cs, expectedResult, c | s, l, hasSpaceBefore); in allPathsForCaps() 42 onePathForCaps(cs, expectedResult, c | w, l, hasSpaceBefore); in allPathsForCaps() 43 onePathForCaps(cs, expectedResult, c, l, hasSpaceBefore); in allPathsForCaps() 49 final int c = TextUtils.CAP_MODE_CHARACTERS; in testGetCapsMode() local 53 allPathsForCaps("", c | w | s, l, false); in testGetCapsMode() 54 allPathsForCaps("Word", c, l, false); in testGetCapsMode() 55 allPathsForCaps("Word.", c, l, false); in testGetCapsMode() 56 allPathsForCaps("Word ", c | w, l, false); in testGetCapsMode() [all …]
|
/packages/apps/Email/src/com/android/email/activity/ |
D | AccountSelectorAdapter.java | 138 Cursor c = getCursor(); in getView() local 139 c.moveToPosition(position); in getView() 141 if (c.getInt(c.getColumnIndex(ROW_TYPE)) == ROW_TYPE_HEADER) { in getView() 144 final String displayName = getDisplayName(c); in getView() 153 final String displayName = getDisplayName(c); in getView() 154 final String emailAddress = getAccountEmailAddress(c); in getView() 159 boolean isAccount = isAccountItem(c); in getView() 167 long id = getId(c); in getView() 171 getAccountUnreadCount(c), true)); in getView() 176 ((CursorWithExtras) c).getAccountId() == Account.ACCOUNT_ID_COMBINED_VIEW; in getView() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
D | MockProviderTests.java | 117 Cursor c = mMockResolver.query(MockProvider.uri(uri), PONY_PROJECTION, null, null, null); in testInsertQueryandDelete() local 118 assertNotNull(c); in testInsertQueryandDelete() 119 assertEquals(2, c.getCount()); in testInsertQueryandDelete() 122 while (c.moveToNext()) { in testInsertQueryandDelete() 123 String name = c.getString(PONY_NAME); in testInsertQueryandDelete() 125 assertEquals("Flicka", c.getString(PONY_NAME)); in testInsertQueryandDelete() 126 assertEquals("wayward", c.getString(PONY_TYPE)); in testInsertQueryandDelete() 127 assertEquals(4, c.getInt(PONY_LEGS)); in testInsertQueryandDelete() 128 assertEquals(1, c.getInt(PONY_CAN_RIDE)); in testInsertQueryandDelete() 129 flickaId = c.getLong(PONY_ID); in testInsertQueryandDelete() [all …]
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/ |
D | MockProviderTests.java | 117 Cursor c = mMockResolver.query(MockProvider.uri(uri), PONY_PROJECTION, null, null, null); in testInsertQueryandDelete() local 118 assertNotNull(c); in testInsertQueryandDelete() 119 assertEquals(2, c.getCount()); in testInsertQueryandDelete() 122 while (c.moveToNext()) { in testInsertQueryandDelete() 123 String name = c.getString(PONY_NAME); in testInsertQueryandDelete() 125 assertEquals("Flicka", c.getString(PONY_NAME)); in testInsertQueryandDelete() 126 assertEquals("wayward", c.getString(PONY_TYPE)); in testInsertQueryandDelete() 127 assertEquals(4, c.getInt(PONY_LEGS)); in testInsertQueryandDelete() 128 assertEquals(1, c.getInt(PONY_CAN_RIDE)); in testInsertQueryandDelete() 129 flickaId = c.getLong(PONY_ID); in testInsertQueryandDelete() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherProvider.java | 354 private int copyFromCursor(SQLiteDatabase db, Cursor c) { in copyFromCursor() argument 355 final int idIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites._ID); in copyFromCursor() 356 final int intentIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.INTENT); in copyFromCursor() 357 final int titleIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.TITLE); in copyFromCursor() 358 final int iconTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_TYPE); in copyFromCursor() 359 final int iconIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON); in copyFromCursor() 360 … final int iconPackageIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_PACKAGE); in copyFromCursor() 361 … final int iconResourceIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ICON_RESOURCE); in copyFromCursor() 362 … final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in copyFromCursor() 363 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in copyFromCursor() [all …]
|
D | CellLayout.java | 1572 CellAndSpan c = currentState.map.get(v); in addViewToTempLocation() local 1574 markCellsForView(c.x, c.y, c.spanX, c.spanY, mTmpOccupied, false); in addViewToTempLocation() 1577 findNearestArea(c.x, c.y, c.spanX, c.spanY, direction, mTmpOccupied, null, mTempLocation); in addViewToTempLocation() 1580 c.x = mTempLocation[0]; in addViewToTempLocation() 1581 c.y = mTempLocation[1]; in addViewToTempLocation() 1584 markCellsForView(c.x, c.y, c.spanX, c.spanY, mTmpOccupied, true); in addViewToTempLocation() 1714 CellAndSpan c = config.map.get(v); in shift() local 1717 c.x -= delta; in shift() 1720 c.x += delta; in shift() 1723 c.y -= delta; in shift() [all …]
|
D | LauncherModel.java | 491 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, in shortcutExists() local 496 result = c.moveToFirst(); in shortcutExists() 498 c.close(); in shortcutExists() 510 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, new String[] { in getItemsInLocalCoordinates() local 515 final int itemTypeIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.ITEM_TYPE); in getItemsInLocalCoordinates() 516 final int containerIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CONTAINER); in getItemsInLocalCoordinates() 517 final int screenIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SCREEN); in getItemsInLocalCoordinates() 518 final int cellXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLX); in getItemsInLocalCoordinates() 519 final int cellYIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.CELLY); in getItemsInLocalCoordinates() 520 final int spanXIndex = c.getColumnIndexOrThrow(LauncherSettings.Favorites.SPANX); in getItemsInLocalCoordinates() [all …]
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
D | trsMatrix.cpp | 24 void mult33d(double a[3][3], double b[3][3], double c[3][3]) in mult33d() 26 a[0][0] = b[0][0]*c[0][0] + b[0][1]*c[1][0] + b[0][2]*c[2][0]; in mult33d() 27 a[0][1] = b[0][0]*c[0][1] + b[0][1]*c[1][1] + b[0][2]*c[2][1]; in mult33d() 28 a[0][2] = b[0][0]*c[0][2] + b[0][1]*c[1][2] + b[0][2]*c[2][2]; in mult33d() 29 a[1][0] = b[1][0]*c[0][0] + b[1][1]*c[1][0] + b[1][2]*c[2][0]; in mult33d() 30 a[1][1] = b[1][0]*c[0][1] + b[1][1]*c[1][1] + b[1][2]*c[2][1]; in mult33d() 31 a[1][2] = b[1][0]*c[0][2] + b[1][1]*c[1][2] + b[1][2]*c[2][2]; in mult33d() 32 a[2][0] = b[2][0]*c[0][0] + b[2][1]*c[1][0] + b[2][2]*c[2][0]; in mult33d() 33 a[2][1] = b[2][0]*c[0][1] + b[2][1]*c[1][1] + b[2][2]*c[2][1]; in mult33d() 34 a[2][2] = b[2][0]*c[0][2] + b[2][1]*c[1][2] + b[2][2]*c[2][2]; in mult33d()
|
/packages/apps/Gallery2/jni_mosaic/feature_mos/src/mosaic/ |
D | trsMatrix.cpp | 24 void mult33d(double a[3][3], double b[3][3], double c[3][3]) in mult33d() 26 a[0][0] = b[0][0]*c[0][0] + b[0][1]*c[1][0] + b[0][2]*c[2][0]; in mult33d() 27 a[0][1] = b[0][0]*c[0][1] + b[0][1]*c[1][1] + b[0][2]*c[2][1]; in mult33d() 28 a[0][2] = b[0][0]*c[0][2] + b[0][1]*c[1][2] + b[0][2]*c[2][2]; in mult33d() 29 a[1][0] = b[1][0]*c[0][0] + b[1][1]*c[1][0] + b[1][2]*c[2][0]; in mult33d() 30 a[1][1] = b[1][0]*c[0][1] + b[1][1]*c[1][1] + b[1][2]*c[2][1]; in mult33d() 31 a[1][2] = b[1][0]*c[0][2] + b[1][1]*c[1][2] + b[1][2]*c[2][2]; in mult33d() 32 a[2][0] = b[2][0]*c[0][0] + b[2][1]*c[1][0] + b[2][2]*c[2][0]; in mult33d() 33 a[2][1] = b[2][0]*c[0][1] + b[2][1]*c[1][1] + b[2][2]*c[2][1]; in mult33d() 34 a[2][2] = b[2][0]*c[0][2] + b[2][1]*c[1][2] + b[2][2]*c[2][2]; in mult33d()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | trsMatrix.cpp | 24 void mult33d(double a[3][3], double b[3][3], double c[3][3]) in mult33d() 26 a[0][0] = b[0][0]*c[0][0] + b[0][1]*c[1][0] + b[0][2]*c[2][0]; in mult33d() 27 a[0][1] = b[0][0]*c[0][1] + b[0][1]*c[1][1] + b[0][2]*c[2][1]; in mult33d() 28 a[0][2] = b[0][0]*c[0][2] + b[0][1]*c[1][2] + b[0][2]*c[2][2]; in mult33d() 29 a[1][0] = b[1][0]*c[0][0] + b[1][1]*c[1][0] + b[1][2]*c[2][0]; in mult33d() 30 a[1][1] = b[1][0]*c[0][1] + b[1][1]*c[1][1] + b[1][2]*c[2][1]; in mult33d() 31 a[1][2] = b[1][0]*c[0][2] + b[1][1]*c[1][2] + b[1][2]*c[2][2]; in mult33d() 32 a[2][0] = b[2][0]*c[0][0] + b[2][1]*c[1][0] + b[2][2]*c[2][0]; in mult33d() 33 a[2][1] = b[2][0]*c[0][1] + b[2][1]*c[1][1] + b[2][2]*c[2][1]; in mult33d() 34 a[2][2] = b[2][0]*c[0][2] + b[2][1]*c[1][2] + b[2][2]*c[2][2]; in mult33d()
|
/packages/apps/Phone/src/com/android/phone/ |
D | DTMFTwelveKeyDialer.java | 214 char c = (char) lookup(event, content); in onKeyDown() local 219 boolean keyOK = ok(getAcceptedChars(), c); in onKeyDown() 224 if (DBG) log("DTMFKeyListener reading '" + c + "' from input."); in onKeyDown() 225 processDtmf(c); in onKeyDown() 227 log("DTMFKeyListener rejecting '" + c + "' from input."); in onKeyDown() 246 char c = (char) lookup(event, content); in onKeyUp() local 248 boolean keyOK = ok(getAcceptedChars(), c); in onKeyUp() 251 if (DBG) log("Stopping the tone for '" + c + "'"); in onKeyUp() 263 char c = lookup(event); in onKeyDown() local 264 if (DBG) log("DTMFKeyListener.onKeyDown: event '" + c + "'"); in onKeyDown() [all …]
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | JavaNetHttpHelper.java | 83 HttpURLConnection c = null; in get() local 85 c = createConnection(url, requestHeaders); in get() 86 c.setRequestMethod("GET"); in get() 87 c.connect(); in get() 88 return getResponseFrom(c); in get() 90 if (c != null) { in get() 91 c.disconnect(); in get() 103 HttpURLConnection c = null; in post() local 110 c = createConnection(url, requestHeaders); in post() 111 c.setDoOutput(content != null); in post() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | UriCodec.java | 39 protected abstract boolean isRetained(char c); in isRetained() argument 104 char c = s.charAt(i); in appendEncoded() local 105 if ((c >= 'a' && c <= 'z') in appendEncoded() 106 || (c >= 'A' && c <= 'Z') in appendEncoded() 107 || (c >= '0' && c <= '9') in appendEncoded() 108 || isRetained(c) in appendEncoded() 109 || (c == '%' && isPartiallyEncoded)) { in appendEncoded() 114 if (c == '%' && isPartiallyEncoded) { in appendEncoded() 118 } else if (c == ' ') { in appendEncoded() 121 builder.append(c); in appendEncoded() [all …]
|
/packages/apps/Email/src/com/android/email/provider/ |
D | EmailProvider.java | 509 Cursor c = query(tableUri, EmailContent.ID_PROJECTION, selection, null, null); in preCacheTable() local 511 while (c.moveToNext()) { in preCacheTable() 512 long id = c.getLong(EmailContent.ID_PROJECTION_COLUMN); in preCacheTable() 524 c.close(); in preCacheTable() 542 private void addToMailboxTypeMap(Cursor c) { in addToMailboxTypeMap() argument 543 long accountId = c.getLong(Mailbox.CONTENT_ACCOUNT_KEY_COLUMN); in addToMailboxTypeMap() 544 int type = c.getInt(Mailbox.CONTENT_TYPE_COLUMN); in addToMailboxTypeMap() 548 accountMailboxTypeMap.put(type, c.getLong(Mailbox.CONTENT_ID_COLUMN)); in addToMailboxTypeMap() 579 for (Cursor c: values) { in preCacheData() 580 if (c.moveToFirst()) { in preCacheData() [all …]
|