/packages/apps/TV/src/com/android/tv/util/ |
D | ImageLoader.java | 139 public static void prefetchBitmap(Context context, final String uriString, final int maxWidth, in prefetchBitmap() argument 141 if (DEBUG) Log.d(TAG, "prefetchBitmap() " + uriString); in prefetchBitmap() 143 doLoadBitmap(context, uriString, maxWidth, maxHeight, null, AsyncTask.SERIAL_EXECUTOR); in prefetchBitmap() 152 doLoadBitmap(appContext, uriString, maxWidth, maxHeight, null, in prefetchBitmap() 168 public static boolean loadBitmap(Context context, String uriString, in loadBitmap() argument 170 return loadBitmap(context, uriString, Integer.MAX_VALUE, Integer.MAX_VALUE, callback); in loadBitmap() 182 public static boolean loadBitmap(Context context, String uriString, int maxWidth, int maxHeight, in loadBitmap() argument 185 Log.d(TAG, "loadBitmap() " + uriString); in loadBitmap() 187 return doLoadBitmap(context, uriString, maxWidth, maxHeight, callback, in loadBitmap() 191 private static boolean doLoadBitmap(Context context, String uriString, in doLoadBitmap() argument [all …]
|
D | BitmapUtils.java | 83 String uriString, int reqWidth, int reqHeight) { in decodeSampledBitmapFromUriString() argument 84 if (TextUtils.isEmpty(uriString)) { in decodeSampledBitmapFromUriString() 88 Uri uri = Uri.parse(uriString).normalizeScheme(); in decodeSampledBitmapFromUriString() 98 urlConnection = getUrlConnection(uriString); in decodeSampledBitmapFromUriString() 113 if (DEBUG) Log.i(TAG, "Failed to rewind stream: " + uriString, e); in decodeSampledBitmapFromUriString() 120 urlConnection = getUrlConnection(uriString); in decodeSampledBitmapFromUriString() 133 return new ScaledBitmapInfo(uriString, bitmap, options.inSampleSize); in decodeSampledBitmapFromUriString() 137 Log.w(TAG, "Failed to open stream: " + uriString, e); in decodeSampledBitmapFromUriString() 141 Log.e(TAG, "Failed to open stream: " + uriString, e); in decodeSampledBitmapFromUriString() 148 private static URLConnection getUrlConnection(String uriString) throws IOException { in getUrlConnection() argument [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationCursor.java | 912 private void cacheValue(String uriString, String columnName, Object value) { in cacheValue() argument 922 ContentValues map = mCacheMap.get(uriString); in cacheValue() 926 mCacheMap.put(uriString, map); in cacheValue() 935 LogUtils.i(LOG_TAG, "Deleted %s, incremented deleted count=%d", uriString, in cacheValue() 942 LogUtils.i(LOG_TAG, "Undeleted %s, decremented deleted count=%d", uriString, in cacheValue() 949 LogUtils.i(LOG_TAG, "Undeleted %s, IGNORING, deleted count=%d", uriString, in cacheValue() 958 LogUtils.i(LOG_TAG, "Caching value for %s: %s", uriString, columnName); in cacheValue() 1537 String uriString = uriStringFromCachingUri(uri); in deleteLocal() local 1538 conversationCursor.cacheValue(uriString, DELETED_COLUMN, true); in deleteLocal() 1544 String uriString = uriStringFromCachingUri(uri); in undeleteLocal() local [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.java | 186 final String uriString = prefs.getString(SettingsActivity.KEY_TIMER_RINGTONE, null); in getTimerRingtoneUri() local 187 return uriString == null ? defaultUri : Uri.parse(uriString); in getTimerRingtoneUri() 216 final String uriString = prefs.getString(KEY_DEFAULT_ALARM_RINGTONE_URI, null); in getDefaultAlarmRingtoneUri() local 217 return uriString == null ? Settings.System.DEFAULT_ALARM_ALERT_URI : Uri.parse(uriString); in getDefaultAlarmRingtoneUri()
|
/packages/apps/PhoneCommon/src/com/android/phone/common/util/ |
D | SettingsUtil.java | 64 String uriString = prefs.getString(key, DEFAULT_NOTIFICATION_URI_STRING); in updateRingtoneName() local 65 if (TextUtils.isEmpty(uriString)) { in updateRingtoneName() 69 if (uriString.equals(DEFAULT_NOTIFICATION_URI_STRING)) { in updateRingtoneName() 76 ringtoneUri = Uri.parse(uriString); in updateRingtoneName()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | SettingsUtil.java | 56 String uriString = prefs.getString(key, DEFAULT_NOTIFICATION_URI_STRING); in updateRingtoneName() local 57 if (TextUtils.isEmpty(uriString)) { in updateRingtoneName() 61 if (uriString.equals(DEFAULT_NOTIFICATION_URI_STRING)) { in updateRingtoneName() 68 ringtoneUri = Uri.parse(uriString); in updateRingtoneName()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 342 String uriString = (uri != null) ? uri.toString() : ""; in makeImageList() local 344 if (uriString.startsWith("content://media/external/video")) { in makeImageList() 347 } else if (isSingleImageMode(uriString)) { in makeImageList() 356 static boolean isSingleImageMode(String uriString) { in isSingleImageMode() argument 357 return !uriString.startsWith( in isSingleImageMode() 359 && !uriString.startsWith( in isSingleImageMode()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/ |
D | ImageRequestTest.java | 53 final String uriString = ContentResolver.SCHEME_ANDROID_RESOURCE + "://" + in testLoadImageUnspecifiedSize() local 55 final Uri uri = Uri.parse(uriString); in testLoadImageUnspecifiedSize() 81 final String uriString = ContentResolver.SCHEME_ANDROID_RESOURCE + "://" + in testLoadImageWithDownsampling() local 83 final Uri uri = Uri.parse(uriString); in testLoadImageWithDownsampling()
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
D | LensPickerUtils.java | 74 String uriString = launchIntent.toUri(Intent.URI_INTENT_SCHEME); in launch() local 75 editor.putString(LAST_LAUNCHED_INTENT_KEY, uriString); in launch() 93 String uriString = launchIntent.toUri(Intent.URI_INTENT_SCHEME); in saveLastLaunchedAppInfo() local 94 editor.putString(LAST_LAUNCHED_INTENT_KEY, uriString); in saveLastLaunchedAppInfo()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | UriUtils.java | 41 public static Uri parseUriOrNull(String uriString) { in parseUriOrNull() argument 42 if (uriString == null) { in parseUriOrNull() 45 return Uri.parse(uriString); in parseUriOrNull()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | UriUtils.java | 43 public static Uri parseUriOrNull(String uriString) { in parseUriOrNull() argument 44 if (uriString == null) { in parseUriOrNull() 47 return Uri.parse(uriString); in parseUriOrNull()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | Channel.java | 499 String uriString = getImageUriString(type); in prefetchImage() local 500 if (!TextUtils.isEmpty(uriString)) { in prefetchImage() 501 ImageLoader.prefetchBitmap(context, uriString, maxWidth, maxHeight); in prefetchImage() 522 String uriString = getImageUriString(type); in loadBitmap() local 523 ImageLoader.loadBitmap(context, uriString, maxWidth, maxHeight, callback); in loadBitmap()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RingtonePreference.java | 196 final String uriString = getPersistedString(null); in onRestoreRingtone() local 197 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null; in onRestoreRingtone()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/quickcontact/ |
D | QuickContactTestsActivity.java | 88 final String uriString = sharedPreferences.getString(PREF_SETTING_URI, null); in onCreate() local 89 if (uriString != null) { in onCreate() 90 mContactUri = Uri.parse(uriString); in onCreate()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | UserCallIntentProcessor.java | 96 String uriString = handle.getSchemeSpecificPart(); in processOutgoingCallIntent() local 99 handle = Uri.fromParts(PhoneNumberUtils.isUriNumber(uriString) ? in processOutgoingCallIntent() 100 PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL, uriString, null); in processOutgoingCallIntent()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkAppService.java | 1271 String uriString = STK_MENU_URI + System.currentTimeMillis(); in launchMenuActivity() local 1273 Uri uriData = Uri.parse(uriString); in launchMenuActivity() 1317 String uriString = STK_INPUT_URI + System.currentTimeMillis(); in launchInputActivity() local 1319 Uri uriData = Uri.parse(uriString); in launchInputActivity() 1336 String uriString = STK_DIALOG_URI + System.currentTimeMillis(); in launchTextDialog() local 1338 Uri uriData = Uri.parse(uriString); in launchTextDialog() 1493 String uriString = STK_DIALOG_URI + System.currentTimeMillis(); in launchConfirmationDialog() local 1495 Uri uriData = Uri.parse(uriString); in launchConfirmationDialog() 1623 String uriString = STK_TONE_URI + slotId; in launchToneDialog() local 1624 Uri uriData = Uri.parse(uriString); in launchToneDialog()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | HostAuth.java | 528 public void setHostAuthFromString(String uriString) in setHostAuthFromString() argument 530 URI uri = new URI(uriString); in setHostAuthFromString() 565 public static String getProtocolFromString(String uriString) { in getProtocolFromString() argument 566 final Uri uri = Uri.parse(uriString); in getProtocolFromString()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallIntentProcessor.java | 102 String uriString = handle.getSchemeSpecificPart(); in processOutgoingCallIntent() local 105 handle = Uri.fromParts(PhoneNumberUtils.isUriNumber(uriString) ? in processOutgoingCallIntent() 106 PhoneAccount.SCHEME_SIP : PhoneAccount.SCHEME_TEL, uriString, null); in processOutgoingCallIntent()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 251 String uriString = uri.toString(); in sanitizeUriToString() local 252 int indexOfLastSlash = uriString.lastIndexOf('/'); in sanitizeUriToString() 254 return uriString.substring(0, indexOfLastSlash) + "/xxxxxxx"; in sanitizeUriToString() 256 return uriString; in sanitizeUriToString()
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/ |
D | MockUiProviderTests.java | 259 final String uriString = in traverseUri() local 262 if (!mTraversedUris.contains(uriString)) { in traverseUri() 263 final Uri childUri = Uri.parse(uriString); in traverseUri()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 366 public static Uri uriFromString(final String uriString) { in uriFromString() argument 367 return TextUtils.isEmpty(uriString) ? null : Uri.parse(uriString); in uriFromString()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppManager.java | 249 public void saveSendingFileInfo(String mimeType, String uriString, boolean isHandover, in saveSendingFileInfo() argument 254 mUriOfSendingFile = uriString; in saveSendingFileInfo() 256 Uri uri = Uri.parse(uriString); in saveSendingFileInfo()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | AvatarGroupRequestDescriptor.java | 48 for (final String uriString : participantUriStrings) { in convertToDescriptor() 50 Uri.parse(uriString), desiredWidth, desiredHeight); in convertToDescriptor()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamStatusReceiver.java | 135 String uriString = intent.getStringExtra(EXTRA_TRANSFER_URI); in handleTransferEvent() local 137 Uri uri = Uri.parse(uriString); in handleTransferEvent()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | WiFiInstaller.java | 41 String uriString = bundle.getString(CertInstallerMain.WIFI_CONFIG_FILE); in onCreate() local 50 dropFile(Uri.parse(uriString), getApplicationContext()); in onCreate()
|