Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiveFileInfo.java94 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 …]
DBluetoothOppShareInfo.java69 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/
DHelpersTest.java33 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/
DHelpers.java74 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/
DAlertDialogs.java97 String hint) { in createEditDialog() argument
111 if (hint != null) textInput.setHint(hint); in createEditDialog()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java245 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()
DSlideshowDataAdapter.java46 public int findItemIndex(Path path, int hint); in findItemIndex() argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java114 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/
DDialpadFragment.java557 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/
DKeyboardView.java649 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/
DCredentialStorage.java397 ((TextView) view.findViewById(R.id.hint)).setText(text); in UnlockDialog()