/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiveFileInfo.java | 94 String filename = null, hint = null, mimeType = null; in generateFileInfo() local 102 hint = metadataCursor.getString(0); in generateFileInfo() 138 filename = choosefilename(hint); in generateFileInfo() 244 private static String choosefilename(String hint) { in choosefilename() argument 248 if (filename == null && !(hint == null) && !hint.endsWith("/") && !hint.endsWith("\\")) { in choosefilename() 251 hint = hint.replace('\\', '/'); in choosefilename() 253 hint = hint.replaceAll("\\s", " "); in choosefilename() 256 hint = hint.replaceAll("[:\"<>*?|]", "_"); in choosefilename() 258 int index = hint.lastIndexOf('/') + 1; in choosefilename() 260 filename = hint.substring(index); in choosefilename() [all …]
|
D | BluetoothOppShareInfo.java | 69 public BluetoothOppShareInfo(int id, String uri, String hint, String filename, String mimetype, in BluetoothOppShareInfo() argument 74 mHint = hint; in BluetoothOppShareInfo()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 33 String hint = "file:///com.android.providers.downloads/test"; in testGetFullPath() local 37 hint, in testGetFullPath() 41 assertEquals(hint, fileName); in testGetFullPath()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 74 String hint, in generateSaveFile() argument 85 path = Uri.parse(hint).getPath(); in generateSaveFile() 89 path = chooseFilename(url, hint, contentDisposition, contentLocation, in generateSaveFile() 177 private static String chooseFilename(String url, String hint, String contentDisposition, 182 if (filename == null && hint != null && !hint.endsWith("/")) { 186 int index = hint.lastIndexOf('/') + 1; 188 filename = hint.substring(index); 190 filename = hint;
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | AlertDialogs.java | 97 String hint) { in createEditDialog() argument 111 if (hint != null) textInput.setHint(hint); in createEditDialog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | SlideshowPage.java | 245 public int findItemIndex(Path path, int hint) { in findItemIndex() argument 246 return hint; in findItemIndex() 310 public int findItemIndex(Path path, int hint) { in findItemIndex() argument 311 return mMediaSet.getIndexOfItem(path, hint); in findItemIndex()
|
D | SlideshowDataAdapter.java | 46 public int findItemIndex(Path path, int hint); in findItemIndex() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaSet.java | 114 public int getIndexOfItem(Path path, int hint) { in getIndexOfItem() argument 118 hint - MEDIAITEM_BATCH_FETCH_COUNT / 2); in getIndexOfItem()
|
/packages/apps/Contacts/src/com/android/contacts/dialpad/ |
D | DialpadFragment.java | 557 final SpannableString hint = new SpannableString( in onResume() local 559 hint.setSpan(new RelativeSizeSpan(0.8f), 0, hint.length(), 0); in onResume() 560 mDigits.setHint(hint); in onResume()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 649 final String hint = key.mHintLabel; in onDrawKeyTopVisuals() local 690 canvas.drawText(hint, 0, hint.length(), hintX, hintY, paint); in onDrawKeyTopVisuals()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CredentialStorage.java | 397 ((TextView) view.findViewById(R.id.hint)).setText(text); in UnlockDialog()
|