Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 22 of 22) 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.java81 static String generateSaveFile(Context context, String url, String hint, in generateSaveFile() argument
90 final File file = new File(Uri.parse(hint).getPath()); in generateSaveFile()
100 name = chooseFilename(url, hint, contentDisposition, contentLocation); in generateSaveFile()
150 private static String chooseFilename(String url, String hint, String contentDisposition,
155 if (filename == null && hint != null && !hint.endsWith("/")) {
159 int index = hint.lastIndexOf('/') + 1;
161 filename = hint.substring(index);
163 filename = hint;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java1494 final CategorySelected hint = in startTouchAnimation() local
1501 ((View)hint.getParent()).getLocationOnScreen(locationHint); in startTouchAnimation()
1502 int dx = (int) (x - (hint.getWidth())/2); in startTouchAnimation()
1503 int dy = (int) (y - (hint.getHeight())/2); in startTouchAnimation()
1504 hint.setTranslationX(location[0] - locationHint[0] + dx); in startTouchAnimation()
1505 hint.setTranslationY(location[1] - locationHint[1] + dy); in startTouchAnimation()
1506 hint.setVisibility(View.VISIBLE); in startTouchAnimation()
1507 hint.animate().scaleX(2).scaleY(2).alpha(0).withEndAction(new Runnable() { in startTouchAnimation()
1510 hint.setVisibility(View.INVISIBLE); in startTouchAnimation()
1511 hint.setScaleX(1); in startTouchAnimation()
[all …]
/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/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DHelpersTest.java73 final String hint = Uri.fromFile(expected).toString(); in testGenerateSaveFileHint() local
76 final String actual = Helpers.generateSaveFile(getContext(), "url", hint, in testGenerateSaveFileHint()
/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/Camera2/src/com/android/camera/settings/
DAppUpgrader.java202 boolean hint = removeBoolean(defaultPreferences, Keys.KEY_CAMERA_FIRST_USE_HINT_SHOWN); in upgradeTypesToStrings()
204 hint); in upgradeTypesToStrings()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolderPagedView.java466 int hint = (int) (fraction * getWidth()); in showScrollHint() local
467 int scroll = getScrollForPage(getNextPage()) + hint; in showScrollHint()
/packages/apps/Settings/src/com/android/settings/
DCredentialStorage.java516 ((TextView) view.findViewById(R.id.hint)).setText(text); in UnlockDialog()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java206 mHintView = (TextView) mContentView.findViewById(R.id.hint); in onCreate()
/packages/inputmethods/LatinIME/dictionaries/
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz
Dda_wordlist.combined.gz
Dtr_wordlist.combined.gz
Dro_wordlist.combined.gz