/packages/apps/TV/src/com/android/tv/util/ |
D | ImageLoader.java | 140 public static void prefetchBitmap(Context context, final String uriString, final int maxWidth, in prefetchBitmap() argument 142 if (DEBUG) Log.d(TAG, "prefetchBitmap() " + uriString); in prefetchBitmap() 144 doLoadBitmap(context, uriString, maxWidth, maxHeight, null, AsyncTask.SERIAL_EXECUTOR); in prefetchBitmap() 153 doLoadBitmap(appContext, uriString, maxWidth, maxHeight, null, in prefetchBitmap() 169 public static boolean loadBitmap(Context context, String uriString, in loadBitmap() argument 171 return loadBitmap(context, uriString, Integer.MAX_VALUE, Integer.MAX_VALUE, callback); in loadBitmap() 183 public static boolean loadBitmap(Context context, String uriString, int maxWidth, int maxHeight, in loadBitmap() argument 186 Log.d(TAG, "loadBitmap() " + uriString); in loadBitmap() 188 return doLoadBitmap(context, uriString, maxWidth, maxHeight, callback, in loadBitmap() 192 private static boolean doLoadBitmap(Context context, String uriString, in doLoadBitmap() argument [all …]
|
D | BitmapUtils.java | 82 String uriString, int reqWidth, int reqHeight) { in decodeSampledBitmapFromUriString() argument 83 if (TextUtils.isEmpty(uriString)) { in decodeSampledBitmapFromUriString() 89 inputStream = new BufferedInputStream(getInputStream(context, uriString)); in decodeSampledBitmapFromUriString() 102 Log.i(TAG, "Failed to rewind stream: " + uriString, e); in decodeSampledBitmapFromUriString() 107 inputStream = getInputStream(context, uriString); in decodeSampledBitmapFromUriString() 118 return new ScaledBitmapInfo(uriString, bitmap, options.inSampleSize); in decodeSampledBitmapFromUriString() 122 Log.w(TAG, "Failed to open stream: " + uriString, e); in decodeSampledBitmapFromUriString() 126 Log.e(TAG, "Failed to open stream: " + uriString, e); in decodeSampledBitmapFromUriString() 145 private static InputStream getInputStream(Context context, String uriString) in getInputStream() argument 147 Uri uri = Uri.parse(uriString).normalizeScheme(); in getInputStream() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsDAO.java | 119 final String uriString = prefs.getString(SettingsActivity.KEY_TIMER_RINGTONE, null); in getTimerRingtoneUri() local 120 return uriString == null ? defaultUri : Uri.parse(uriString); in getTimerRingtoneUri() 129 final String uriString = prefs.getString(KEY_DEFAULT_ALARM_RINGTONE_URI, null); in getDefaultAlarmRingtoneUri() local 130 return uriString == null ? defaultUri : Uri.parse(uriString); in getDefaultAlarmRingtoneUri()
|
D | SettingsModel.java | 82 final String uriString = String.format("android.resource://%s/%d", packageName, resId); in getDefaultTimerRingtoneUri() local 83 mDefaultTimerRingtoneUri = Uri.parse(uriString); in getDefaultTimerRingtoneUri()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VoicemailNotificationSettingsUtil.java | 73 String uriString = prefs.getString( in getRingtoneUri() local 76 return !TextUtils.isEmpty(uriString) ? Uri.parse(uriString) : null; in getRingtoneUri() 135 String uriString = prefs.getString( in migrateVoicemailRingtoneSettingsIfNeeded() local 139 editor.putString(key, uriString) in migrateVoicemailRingtoneSettingsIfNeeded()
|
/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/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/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/ContactsCommon/src/com/android/contacts/common/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/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/Settings/src/com/android/settings/ |
D | RingtonePreference.java | 183 final String uriString = getPersistedString(null); in onRestoreRingtone() local 184 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/TV/src/com/android/tv/data/ |
D | Channel.java | 516 String uriString = getImageUriString(type); in prefetchImage() local 517 if (!TextUtils.isEmpty(uriString)) { in prefetchImage() 518 ImageLoader.prefetchBitmap(context, uriString, maxWidth, maxHeight); in prefetchImage() 539 String uriString = getImageUriString(type); in loadBitmap() local 540 ImageLoader.loadBitmap(context, uriString, maxWidth, maxHeight, callback); in loadBitmap()
|
/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()
|
D | NewOutgoingCallIntentBroadcaster.java | 360 final String uriString = intent.getStringExtra(EXTRA_GATEWAY_URI); in hasGatewayProviderExtras() local 362 return !TextUtils.isEmpty(name) && !TextUtils.isEmpty(uriString); in hasGatewayProviderExtras()
|
/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/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/Dialer/InCallUI/src/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 588 String uriString = uri.toString(); in sanitizeUriToString() local 589 int indexOfLastSlash = uriString.lastIndexOf('/'); in sanitizeUriToString() 591 return uriString.substring(0, indexOfLastSlash) + "/xxxxxxx"; in sanitizeUriToString() 593 return uriString; in sanitizeUriToString()
|
/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/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/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/Stk/src/com/android/stk/ |
D | StkAppService.java | 1238 String uriString = STK_MENU_URI + System.currentTimeMillis(); in launchMenuActivity() local 1240 Uri uriData = Uri.parse(uriString); in launchMenuActivity() 1284 String uriString = STK_INPUT_URI + System.currentTimeMillis(); in launchInputActivity() local 1286 Uri uriData = Uri.parse(uriString); in launchInputActivity() 1303 String uriString = STK_DIALOG_URI + System.currentTimeMillis(); in launchTextDialog() local 1305 Uri uriData = Uri.parse(uriString); in launchTextDialog() 1460 String uriString = STK_DIALOG_URI + System.currentTimeMillis(); in launchConfirmationDialog() local 1462 Uri uriData = Uri.parse(uriString); in launchConfirmationDialog() 1579 String uriString = STK_TONE_URI + slotId; in launchToneDialog() local 1580 Uri uriData = Uri.parse(uriString); in launchToneDialog()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppManager.java | 249 public void saveSendingFileInfo(String mimeType, String uriString, boolean isHandover) { in saveSendingFileInfo() argument 253 mUriOfSendingFile = uriString; in saveSendingFileInfo() 255 Uri uri = Uri.parse(uriString); in saveSendingFileInfo()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | WiFiInstaller.java | 47 String uriString = bundle.getString(CertInstallerMain.WIFI_CONFIG_FILE); in onCreate() local 55 mWifiConfiguration = mWifiManager.buildWifiConfig(uriString, mimeType, data); in onCreate()
|