Searched defs:to (Results 1 - 25 of 41) sorted by last modified time

12

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java10 * Unless required by applicable law or agreed to in writing, software
60 * Allows application to interact with the download manager.
75 /** URI matcher used to recognize URIs sent by applications */
77 /** URI matcher constant for the URI of all downloads belonging to the calling UID */
79 /** URI matcher constant for the URI of an individual download belonging to the calling UID */
114 /** Different base URIs that could be used to access an individual download */
177 * to return both pieces of information, and provides some utility logic to ease piece-by-piece
213 * Helper class to create database the first time the provider is
223 * Creates database the first time we try to ope
1236 copyInteger(String key, ContentValues from, ContentValues to) argument
1243 copyBoolean(String key, ContentValues from, ContentValues to) argument
1250 copyString(String key, ContentValues from, ContentValues to) argument
1257 copyStringWithDefault(String key, ContentValues from, ContentValues to, String defaultValue) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java10 * Unless required by applicable law or agreed to in writing, software
123 /** Resolved canonical path to external storage. */
125 /** Resolved canonical path to cache storage. */
133 throw new RuntimeException("Unable to resolve canonical paths", e);
137 // In memory cache of path<->id mappings, to speed up inserts during media scan
185 // If this array gets changed, please update the constant below to point to the correct item.
259 // First clear the file path to disable the _DELETE_FILE database hook.
260 // We do this to avoid deleting files if the volume is remounted while
296 // set to disabl
4208 movePlaylistEntry(DatabaseHelper helper, SQLiteDatabase db, long playlist, int from, int to) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DRichInputConnection.java10 * Unless required by applicable law or agreed to in writing, software
37 * Enrichment class for InputConnection to simplify interaction and add functionality.
39 * This class serves as a wrapper to be able to simply add hooks to any calls to the underlying
40 * InputConnection. It also keeps track of a number of things to avoid having to call upon IPC
41 * all the time to find out what text is in the buffer, when we need it to determin
376 setSelection(final int from, final int to) argument
[all...]
H A DUserHistoryDictIOUtils.java10 * Unless required by applicable law or agreed to in writing, software
113 * Writes dictionary to file.
194 * Adds all unigrams and bigrams in maps to OnAddWordListener.
198 final Map<Integer, ArrayList<PendingAttribute>> bigrams, final OnAddWordListener to) {
202 to.setUnigram(word1, null, unigramFrequency);
206 to.setBigram(word1, unigrams.get(attr.mAddress),
196 addWordsFromWordMap(final Map<Integer, String> unigrams, final Map<Integer, Integer> frequencies, final Map<Integer, ArrayList<PendingAttribute>> bigrams, final OnAddWordListener to) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DResearchLogger.java10 * Unless required by applicable law or agreed to in writing, software
102 // constants related to specific log points
108 // to write to a different filename, e.g., for testing, set mFile before calling start()
113 // passwords). It is written to permanent storage only if the user explicitly commands
114 // the system to do so.
115 // LogUnits are queued in the LogBuffers and published to the ResearchLogs when words are
138 // used to check whether words are not unique
199 * Arrange for the UploaderService to be run on a regular basis.
406 // to th
1255 richInputConnection_setSelection(final int from, final int to) argument
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/
H A DOpenWnnDictionaryImplJni.c10 * Unless required by applicable law or agreed to in writing, software
50 /* convert UTF-16BE character to NJ_CHAR format */
66 /* convert UTF-8 to UTF-16BE */
142 /* convert UTF-16BE to a UTF-8 */
239 /* Retrieve data pointers of dictionary from the dictionary library, and put to internal work area */
261 /* Execute the initialize method to initialize the internal work area */
356 /* If -1 was specified to base or high, clear that dictionary information structure */
419 /* If the link search feature is specified, set the predict search information to structure */
602 work->approxSet.to[ i ] = NULL;
630 NJ_CHAR* to; local
691 NJ_CHAR* to; local
[all...]
H A DOpenWnnJni.h10 * Unless required by applicable law or agreed to in writing, software
85 NJ_UINT8* to; member in struct:__anon20
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndldic.c10 * Unless required by applicable law or agreed to in writing, software
85 #define STATE_COPY(to, from) \
86 { ((NJ_UINT8*)(to))[0] = ((NJ_UINT8*)(from))[0]; \
87 ((NJ_UINT8*)(to))[1] = ((NJ_UINT8*)(from))[1]; \
88 ((NJ_UINT8*)(to))[2] = ((NJ_UINT8*)(from))[2]; \
89 ((NJ_UINT8*)(to))[3] = ((NJ_UINT8*)(from))[3]; }
119 static NJ_INT16 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag);
120 static NJ_INT16 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *from, NJ_UINT16 *to,
122 static NJ_INT16 search_range_by_yomi_multi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 ylen, NJ_UINT16 *from, NJ_UINT16 *to);
927 NJ_UINT16 current, from, to; local
1059 NJ_UINT16 from, to, i; local
1196 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument
1395 search_range_by_yomi_multi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to) argument
1936 NJ_UINT16 from, to, i; local
2307 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnj_lib.h10 * Unless required by applicable law or agreed to in writing, software
175 NJ_CHAR *to[NJ_MAX_CHARSET]; member in struct:__anon27
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DComposingText.java10 * Unless required by applicable law or agreed to in writing, software
53 * (ex) the result of Kana-to-Kanji conversion in Japanese,
54 * Pinyin-to-Kanji conversion in Chinese, Hangul-to-Hanja conversion in Korean language.
78 * Output internal information to the log.
87 tmp += "(" + ss.string + "," + ss.from + "," + ss.to + ")";
117 * Convert the range of segments to a string.
121 * @param to Convert range to
124 public String toString(int layer, int from, int to) { argument
308 replaceStrSegment0(int layer, StrSegment[] str, int from, int to) argument
359 deleteStrSegment(int layer, int from, int to) argument
435 deleteStrSegment0(int layer, int from, int to, int diff) argument
[all...]
H A DStrSegment.java10 * Unless required by applicable law or agreed to in writing, software
23 * It is used to represent the layers of the composing text ({@link ComposingText}).
33 public int to; field in class:StrSegment
65 * @param to The end position
67 public StrSegment(String str, int from, int to) { argument
70 this.to = to;
H A DStrSegmentClause.java10 * Unless required by applicable law or agreed to in writing, software
33 * @param to The end position
35 public StrSegmentClause(WnnClause clause, int from, int to) { argument
36 super(clause.candidate, from, to);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DSuggestionCursorUtil.java10 * Unless required by applicable law or agreed to in writing, software
190 public static void addAll(ListSuggestionCursor to, SuggestionCursor from) { argument
194 to.add(new SuggestionPosition(from, i));
/packages/apps/Settings/src/com/android/settings/
H A DUserDictionarySettings.java10 * Unless required by applicable law or agreed to in writing, software
63 // Either the locale is empty (means the word is applicable to all locales)
137 // TODO: it should be easy to make this more readable by making the special values
139 // can be guaranteed not to match locales that may exist.
189 * @param editingWord the word to edit, or null if it's an add.
263 public MyAdapter(Context context, int layout, Cursor c, String[] from, int[] to, argument
265 super(context, layout, c, from, to);
/packages/apps/Phone/src/com/android/phone/
H A DAnimationUtils.java10 * Unless required by applicable law or agreed to in writing, software
62 * Sets the visibility of the specified view to View.VISIBLE and then
67 * @param view The view to be faded in
90 * Fades out the specified view and then sets its visibility to the
97 * return true (in case the UI code needs to detect this state.)
99 * @param view The view to be hidden
100 * @param visibility The value to which the view's visibility will be
109 // Use a view tag to mark this view as being in the middle
135 * method allows the UI code to detect that state.)
206 * Starts cross-fade animation using TransitionDrawable. Nothing will happen if "from" and "to"
209 startCrossFade( final ImageView imageView, final Drawable from, final Drawable to) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDragLayer.java10 * Unless required by applicable law or agreed to in writing, software
56 // Variables relating to resizing widgets
61 // Variables relating to animation of views after drop
78 * Used to create a new DragLayer from XML.
227 // in onInterceptHoverEvent. Return true to consume the event.
267 * @param descendant The descendant whose coordinates we want to find.
268 * @param r The rect into which to place the results.
269 * @return The factor by which this descendant is scaled relative to this DragLayer.
287 * Given a coordinate relative to the descendant, find the coordinate in this DragLayer's
290 * @param descendant The descendant to whic
539 animateView(final DragView view, final Rect from, final Rect to, final float finalAlpha, final float initScaleX, final float initScaleY, final float finalScaleX, final float finalScaleY, int duration, final Interpolator motionInterpolator, final Interpolator alphaInterpolator, final Runnable onCompleteRunnable, final int animationEndStyle, View anchorView) argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java10 * Unless required by applicable law or agreed to in writing, software
51 // A popup window that contains a big thumbnail and a list of apps to share.
77 int resource, String[] from, int[] to) {
78 super(context, data, resource, from, to);
214 // Inform other popup to dismiss if exit
252 // On phone UI, we have to know how many icons in the grid view before
76 MySimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMmsMessageSender.java11 * Unless required by applicable law or agreed to in writing, software
102 // message in the outbox when the user hit send), then we have to manually put an
104 // messages to send. Normally, the entry in pending_msgs is created by the trigger:
105 // insert_mms_pending_on_update, when a message is moved from drafts to the outbox.
151 public static void sendReadRec(Context context, String to, String messageId, int status) { argument
153 sender[0] = new EncodedStringValue(to);
/packages/apps/Mms/src/org/w3c/dom/smil/
H A DSMILAnimation.java106 * A <code>DOMString</code> representing the value of the to attribute.
111 public void setTo(String to) argument
H A DSMILSetElement.java24 public void setTo(String to); argument
/packages/apps/Music/src/com/android/music/
H A DAlbumBrowserActivity.java10 * Unless required by applicable law or agreed to in writing, software
149 // need to store the selected item so we don't lose it in case
151 // in the middle of specifying a playlist to add the item to.
168 // If we have an adapter and didn't send it off to another activity yet, we should
169 // close its cursor, which we do by assigning a null cursor to it. Doing this
175 // Because we pass the adapter to the next activity, we need to make
176 // sure it doesn't keep a reference to this activity. We can do this
530 int layout, Cursor cursor, String[] from, int[] to) {
529 AlbumListAdapter(Context context, AlbumBrowserActivity currentactivity, int layout, Cursor cursor, String[] from, int[] to) argument
[all...]
H A DMediaPickerActivity.java10 * Unless required by applicable law or agreed to in writing, software
122 // Need to stop the playbackservice, in case it is busy playing audio
232 PickListAdapter(Context context, int layout, Cursor cursor, String[] from, int[] to) { argument
233 super(context, layout, cursor, from, to);
H A DMediaPlaybackService.java10 * Unless required by applicable law or agreed to in writing, software
65 * user to switch between activities without stopping playback.
68 /** used to specify whether enqueue() should start playing
150 // used to track what type of audio focus loss caused the playback to pause
154 // We use this to distinguish between different cards when saving/restoring playlists.
155 // This will have to change if we want to support multiple simultaneous cards.
295 // Someone asked us to refresh a set of specific widgets, probably
320 // TODO update to ne
2133 moveQueueItem(int from, int to) argument
[all...]
H A DMusicPicker.java10 * Unless required by applicable law or agreed to in writing, software
54 * Activity allowing the user to select a music track on the device, and
55 * return it to its caller. The music picker user interface is fairly
57 * application (title, author, album, duration), as well as the ability to
71 /** Holds the previous state of the list, to restore after the async
82 /** Menu item to sort the music list by track title. */
84 /** Menu item to sort the music list by album title. */
86 /** Menu item to sort the music list by artist name. */
102 /** Formatting optimization to avoid creating many temporary objects. */
104 /** Formatting optimization to avoi
188 TrackListAdapter(Context context, ListView listView, int layout, String[] from, int[] to) argument
[all...]
H A DPlaylistBrowserActivity.java10 * Unless required by applicable law or agreed to in writing, software
166 // In order to not flash the error dialog at the user for the
196 // If we have an adapter and didn't send it off to another activity yet, we should
197 // close its cursor, which we do by assigning a null cursor to it. Doing this
203 // Because we pass the adapter to the next activity, we need to make
204 // sure it doesn't keep a reference to this activity. We can do this
568 int layout, Cursor cursor, String[] from, int[] to) {
569 super(context, layout, cursor, from, to);
567 PlaylistListAdapter(Context context, PlaylistBrowserActivity currentactivity, int layout, Cursor cursor, String[] from, int[] to) argument

Completed in 611 milliseconds

12