Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 20 of 20) 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.java71 public BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, in BluetoothOppShareInfo() argument
76 mHint = hint; in BluetoothOppShareInfo()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java73 String hint, in generateSaveFile() argument
86 path = Uri.parse(hint).getPath(); in generateSaveFile()
90 path = chooseFilename(url, hint, contentDisposition, contentLocation, in generateSaveFile()
151 private static String chooseFilename(String url, String hint, String contentDisposition,
156 if (filename == null && hint != null && !hint.endsWith("/")) {
160 int index = hint.lastIndexOf('/') + 1;
162 filename = hint.substring(index);
164 filename = hint;
/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/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java254 public int findItemIndex(Path path, int hint) { in findItemIndex() argument
255 return hint; in findItemIndex()
324 public int findItemIndex(Path path, int hint) { in findItemIndex() argument
325 return mMediaSet.getIndexOfItem(path, hint); in findItemIndex()
DActivityState.java171 Class<? extends ActivityState> incoming, StateTransitionAnimation.Transition hint) { in transitionOnNextPause() argument
177 mNextTransition = hint; in transitionOnNextPause()
DSlideshowDataAdapter.java46 public int findItemIndex(Path path, int hint); in findItemIndex() argument
/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/Phone/src/com/android/phone/
DDTMFTwelveKeyDialer.java935 final SpannableString hint = new SpannableString(contextValue); in setDialpadContext() local
936 hint.setSpan(new RelativeSizeSpan(0.8f), 0, hint.length(), 0); in setDialpadContext()
937 mDialpadDigits.setHint(hint); in setDialpadContext()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java617 final SpannableString hint = new SpannableString( in onResume() local
619 hint.setSpan(new RelativeSizeSpan(0.8f), 0, hint.length(), 0); in onResume()
620 mDigits.setHint(hint); in onResume()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaSet.java119 public int getIndexOfItem(Path path, int hint) { in getIndexOfItem() argument
123 hint - MEDIAITEM_BATCH_FETCH_COUNT / 2); in getIndexOfItem()
/packages/apps/Settings/src/com/android/settings/
DCredentialStorage.java399 ((TextView) view.findViewById(R.id.hint)).setText(text); in UnlockDialog()
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Dnl_wordlist.combined.gz
Den_wordlist.combined.gz
Dnb_wordlist.combined.gz
Dda_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1355802858, ...