Searched defs:hint (Results 1 - 7 of 7) sorted by relevance
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppReceiveFileInfo.java | 94 String filename = null, hint = null, mimeType = null; 102 hint = metadataCursor.getString(0); 138 filename = choosefilename(hint); 244 private static String choosefilename(String hint) { argument 247 // First, try to use the hint from the application, if there's one 248 if (filename == null && !(hint == null) && !hint.endsWith("/") && !hint.endsWith("\\")) { 251 hint = hint [all...] |
H A D | BluetoothOppShareInfo.java | 71 public BluetoothOppShareInfo(int id, Uri uri, String hint, String filename, String mimetype, argument 76 mHint = hint;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | SlideshowDataAdapter.java | 46 public int findItemIndex(Path path, int hint); argument 67 // The index is just a hint if initialPath is set
|
H A D | ActivityState.java | 171 Class<? extends ActivityState> incoming, StateTransitionAnimation.Transition hint) { 177 mNextTransition = hint; 170 transitionOnNextPause(Class<? extends ActivityState> outgoing, Class<? extends ActivityState> incoming, StateTransitionAnimation.Transition hint) argument
|
H A D | SlideshowPage.java | 254 public int findItemIndex(Path path, int hint) { argument 255 return hint; 324 public int findItemIndex(Path path, int hint) { argument 325 return mMediaSet.getIndexOfItem(path, hint);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaSet.java | 119 public int getIndexOfItem(Path path, int hint) { argument 120 // hint < 0 is handled below 121 // first, try to find it around the hint 123 hint - MEDIAITEM_BATCH_FETCH_COUNT / 2);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | Helpers.java | 81 static String generateSaveFile(Context context, String url, String hint, argument 90 final File file = new File(Uri.parse(hint).getPath()); 100 name = chooseFilename(url, hint, contentDisposition, contentLocation); 150 private static String chooseFilename(String url, String hint, String contentDisposition, argument 154 // First, try to use the hint from the application, if there's one 155 if (filename == null && hint != null && !hint.endsWith("/")) { 157 Log.v(Constants.TAG, "getting filename from hint"); 159 int index = hint.lastIndexOf('/') + 1; 161 filename = hint [all...] |
Completed in 390 milliseconds