/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
H A D | AndroidWordLevelSpellCheckerSession.java | 10 * Unless required by applicable law or agreed to in writing, software 139 * of the SCRIPT_* constants defined above, to rule out quickly characters from very 142 * @param text the string to evaluate. 164 // words or a URI - in either case we don't want to spell check that 169 // to return suggestions for everything up to the period only and to ignore the 184 * Helper method to test valid capitalizations of a word. 206 // that we have an all-caps version of a word that needs to be capitalized 207 // according to th [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
H A D | trie_map.h | 10 * Unless required by applicable law or agreed to in writing, software 50 * Struct to record iteration state in a table. 141 * Class to support iterating entries in TrieMap by range base for loops. 170 void dump(const int from = 0, const int to = 0) const; 219 * 1. bitmap entry. bitmap entry contains bitmap and the link to hash table. 222 * entry have terminal link when the value is not fit to FIELD_1 or there is a next level map
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_lib.h | 10 * Unless required by applicable law or agreed to in writing, software 175 NJ_CHAR *to[NJ_MAX_CHARSET]; member in struct:__anon103
|
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | PowerHalService.java | 10 * Unless required by applicable law or agreed to in writing, software 205 mHal.set(VehicleProperty.AP_POWER_STATE).to(values); 207 Log.e(CarLog.TAG_POWER, "cannot set to AP_POWER_STATE", e);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | UpdateHandler.java | 10 * Unless required by applicable law or agreed to in writing, software 75 // Used to prevent trying to read the id of the downloaded file before it is written 78 // Value used to mean this is not a real DownloadManager downloaded file id 104 * An interface for UIs or services that want to know when something happened. 121 * Register a new listener to be notified of updates. 123 * Don't forget to call unregisterUpdateEventListener when done with it, or 140 * Write the DownloadManager ID of the currently downloading metadata to permanent storage. 142 * @param context to open shared prefs 206 // It should not be possible to com 746 compareMetadataForUpgrade(final Context context, final String clientId, @Nullable final List<WordListMetadata> from, @Nullable final List<WordListMetadata> to) argument [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
H A D | ContactListItemView.java | 10 * Unless required by applicable law or agreed to in writing, software 74 * to the left of the photo, the text lines are aligned to the left and the presence icon (if 75 * present) is set to the left of the status line. 97 /** A helper used to highlight a prefix in a text field. */ 146 * Can be effective even when {@link #mPhotoView} is null, as we want to have horizontal padding 147 * to align other data in this View. 151 * Can be effective even when {@link #mPhotoView} is null, as we want to have vertical padding. 298 * @param content Content to split. 319 * Sets whether the call to actio [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastAlertAudio.java | 10 * Unless required by applicable law or agreed to in writing, software 50 * Manages alert audio and vibration and text-to-speech. Runs as a service so that 51 * it can continue to play if another activity overrides the CellBroadcastListActivity. 57 /** Action to start playing alert audio/vibration/speech. */ 60 /** Extra for message body to speak (if speech enabled in settings). */ 64 /** Extra for text-to-speech preferred language (if speech enabled in settings). */ 68 /** Extra for text-to-speech default language when preferred language is 155 // This is for emergency so we want to kill all other TTS sessions. 193 // try to set the TTS language to matc [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | Folder.java | 10 * Unless required by applicable law or agreed to in writing, software 162 @ViewDebug.IntToString(from = STATE_NONE, to = "STATE_NONE"), 163 @ViewDebug.IntToString(from = STATE_SMALL, to = "STATE_SMALL"), 164 @ViewDebug.IntToString(from = STATE_ANIMATING, to = "STATE_ANIMATING"), 165 @ViewDebug.IntToString(from = STATE_OPEN, to = "STATE_OPEN"), 195 * Used to inflate the Workspace from XML. 215 // We need this view to be focusable in touch mode so that when text editing of the folder 216 // name is complete, we have something to focus on, thus hiding the cursor and giving 262 // We find out how tall footer wants to be (it is set to wrap_conten [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AutoInstallsLayout.java | 10 * Unless required by applicable law or agreed to in writing, software 55 /** Marker action used to discover a package which defines launcher customization */ 278 // Keep track of the set of screens which need to be added to the db. 323 * Parses the tag and adds to the db 371 * Helper method to allow extending the parser capabilities 460 * It adds a pending widget which allows the widget to come later. If there are extras, those 461 * are passed to widget options during bind. 556 if (LOGD) Log.e(TAG, "Unable to add folder"); 589 // We can only have folders with >= 2 items, so we need to remov 677 copyInteger(ContentValues from, ContentValues to, String key) argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | AlbumBrowserActivity.java | 10 * Unless required by applicable law or agreed to in writing, software 140 // need to store the selected item so we don't lose it in case 142 // in the middle of specifying a playlist to add the item to. 159 // If we have an adapter and didn't send it off to another activity yet, we should 160 // close its cursor, which we do by assigning a null cursor to it. Doing this 166 // Because we pass the adapter to the next activity, we need to make 167 // sure it doesn't keep a reference to this activity. We can do this 516 Cursor cursor, String[] from, int[] to) { 515 AlbumListAdapter(Context context, AlbumBrowserActivity currentactivity, int layout, Cursor cursor, String[] from, int[] to) argument [all...] |
H A D | MediaPlaybackService.java | 10 * 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 148 // used to track what type of audio focus loss caused the playback to pause 152 // We use this to distinguish between different cards when saving/restoring playlists. 153 // 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 339 // Needs to b 2129 moveQueueItem(int from, int to) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | AnimatedAdapter.java | 3 * Licensed to The Android Open Source Project. 11 * Unless required by applicable law or agreed to in writing, software 146 * The next action to perform. Do not read or write this. All accesses should 179 * an arrow ( › ) by messages sent to my address (not a mailing list), 180 * and a double arrow ( » ) by messages sent only to me. 202 * Temporary views insert at specific positions relative to conversations. These can be 203 * related to showing new features (on-boarding) or showing information about new mailboxes 320 // If we have no content, the only possible thing to show is custom footer (e.g. loading) 331 * Add a conversation to the undo set, but only if its deletion is still cached. If the 333 * handle it here, and should instead rely on the cursor refresh to restor 1104 changeCursorAndColumns(final Cursor c, final String[] from, final int[] to) argument [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | InputLogicTests.java | 10 * Unless required by applicable law or agreed to in writing, software 116 // Send once to simulate the cursor actually responding to the move caused by typing. 117 // This is necessary because LatinIME is bookkeeping to avoid confusing a real cursor 137 // Send once to simulate the cursor actually responding to the move caused by typing. 138 // This is necessary because LatinIME is bookkeeping to avoid confusing a real cursor 182 // Backspacing to cancel the "tgis"->"this" autocorrection should result in 285 assertEquals("double-space-to-period with specific settings " 305 // Reset settings to defaul 695 ensureComposingSpanPos(final String message, final int from, final int to) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListItemView.java | 10 * Unless required by applicable law or agreed to in writing, software 80 * to the left of the photo, the text lines are aligned to the left and the presence icon (if 81 * present) is set to the left of the status line. 140 * Used to notify listeners when a video call icon is clicked. 145 * Indicates whether to show the "video call" icon, used to initiate a video call. 155 * Where to put contact photo. This affects the other Views' layout or look-and-feel. 202 * Can be effective even when {@link #mPhotoView} is null, as we want to have horizontal padding 203 * to alig [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
H A D | PduPersister.java | 11 * Unless required by applicable law or agreed to in writing, software 81 * Indicate that we transiently failed to process a MM. 86 * Indicate that we permanently failed to process a MM. 382 LogUtil.v(TAG, "loadParts(" + msgId + "): no part to load."); 473 Log.e(TAG, "Failed to load part data", e); 481 Log.e(TAG, "Failed to close stream", e); 558 * @param uri The Uri of the PDU to be loaded. 559 * @return A generic PDU object, it may be cast to dedicated PDU. 560 * @throws MmsException Failed to load some fields of a PDU. 586 // Tell the cache to indicat 1607 move(final Uri from, final Uri to) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/ |
H A D | InCallActivity.java | 10 * Unless required by applicable law or agreed to in writing, software 169 /** onPause is guaranteed to be called when the InCallActivity goes in the background. */ 196 // When user select incall ui from recents after the call is disconnected, it tries to launch 200 // InCallActivity is cleared completely. So system won't try to create a new InCallActivity in 206 // only instance of activity in the task. So it should be safe to also remove task when 209 // finishes, the task should also be removed since it doesn't make sense to go back to it in 219 "allowing activity to be closed because it's not visible"); 239 "activity is visible and has no dialogs, allowing activity to close"); 247 // If the screen is off, we need to mak [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PhotoView.java | 10 * Unless required by applicable law or agreed to in writing, software 74 // This amends the getScreenNail() method of TileImageView.Model to get 79 // Set this to true if we need the model to provide full images. 104 // When data change happens, we need to decide which MediaItem to focus 107 // 1. If focus hint path != null, we try to focus on it if we can find 111 // 2. Otherwise try to focus on the MediaItem that is currently focused, 114 // 3. Otherwise try to focus on the previous MediaItem or the next 138 // (1) We need to loc 1792 interpolate(float ratio, float from, float to) argument [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
H A D | DvrDataManagerImpl.java | 10 * Unless required by applicable law or agreed to in writing, software 78 * DVR Data manager to handle recordings and schedules. 157 private static <T> List<T> moveElements(HashMap<Long, T> from, HashMap<Long, T> to, argument 164 to.put(entry.getKey(), entry.getValue()); 382 if (DEBUG) Log.d(TAG, "changed recorded program #" + id + " to " + recordedPrograms); 598 SoftPreconditions.checkArgument(previousSeries == null, TAG, "Attempt to add series" 628 // If it belongs to the series recording and it's not started yet, just mark delete 689 // No need to update DB. It's handled in database automatically when the series 969 Log.e(TAG, "Failed to delete recorded programs for inputId: " + inputId, e);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 10 * Unless required by applicable law or agreed to in writing, software 131 /** Resolved canonical path to external storage. */ 133 /** Resolved canonical path to cache storage. */ 135 /** Resolved canonical path to legacy storage. */ 149 throw new RuntimeException("Unable to resolve canonical paths", e); 156 // In memory cache of path<->id mappings, to speed up inserts during media scan 203 // If this array gets changed, please update the constant below to point to the correct item. 279 // This synchronized block is limited to avoid a potential deadlock 295 // First clear the file path to disabl 3760 movePlaylistEntry(DatabaseHelper helper, SQLiteDatabase db, long playlist, int from, int to) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
H A D | AnswerFragment.java | 10 * Unless required by applicable law or agreed to in writing, software 140 // Use these flags to prevent user from clicking accept/reject buttons multiple times. 141 // We use separate flags because in some rare cases accepting a call may fail to join the room, 143 // the user a chance to get out of the CallActivity. 526 // Hide the avatar to make room for location 625 // Add prompt of how to accept/decline call with swipe gesture. 831 public void onAnswerProgressUpdate(@FloatRange(from = -1f, to = 1f) float answerProgress) { 833 // shows the system wallpaper which looks bad because on reject we switch to another call. 873 "Not currently added to Activity. Will not start entry animation."); 1046 // TODO (keyboardr): Change this back to bein [all...] |
/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndbdic.c | 10 * Unless required by applicable law or agreed to in writing, software 1682 nj_strcpy(char_tmp, condition->charset->to[l]); 1817 nj_strcpy(char_tmp, condition->charset->to[l]);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallsManager.java | 10 * Unless required by applicable law or agreed to in writing, software 92 * NOTE: by design most APIs are package private, use the relevant adapter/s to allow 127 * {@link #getNumCallsWithState(int, Call, PhoneAccountHandle, int...)} to indicate only 134 * {@link #getNumCallsWithState(int, Call, PhoneAccountHandle, int...)} to indicate only 141 * {@link #getNumCallsWithState(int, Call, PhoneAccountHandle, int...)} to indicate both managed 163 * These states are used by {@link #makeRoomForOutgoingCall(Call, boolean)} to determine which 164 * call should be ended first to make room for a new outgoing call. 172 * {@link TelecomManager#isInManagedCall()} to return true. 188 // Maps call technologies in PhoneConstants to those in Analytics. 202 * calls are added to th 3195 isHandoverToPhoneAccountSupported(PhoneAccountHandle to) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
H A D | FlingUpDownMethod.java | 10 * Unless required by applicable law or agreed to in writing, software 67 /** Answer method that swipes up to answer or down to reject. */ 107 int SETTLE = 4; // A short animation to reset from swipe and prepare for hint or bounce 108 int HINT = 5; // Jump animation to suggest what to do 264 public void onProgressChanged(@FloatRange(from = -1f, to = 1f) float progress) { 408 // Cancel view property animators on views we're about to mutate 413 // spec timeline can be divided into 9 slots. Each slot is equivalent to 83ms in the spec. 414 // Therefore, we use 9 slots of 83ms to ma [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnJAJP.java | 10 * Unless required by applicable law or agreed to in writing, software 85 * Use with {@code OpenWnn.CHANGE_MODE} event to change ambiguous searching pattern. 91 * Use with {@code OpenWnn.CHANGE_MODE} event to change ambiguous searching pattern. 95 /** Never move cursor in to the composing text (adapting to IMF's specification change) */ 148 /** Delay time(msec.) to start prediction after key input when the candidates view is not shown. */ 151 /** Delay time(msec.) to start prediction after key input when the candidates view is shown. */ 193 /** Definition for {@code EngineState.temporaryMode} (change back to the normal dictionary) */ 196 /** Definition for {@code EngineState.temporaryMode} (change to the symbol dictionary) */ 199 /** Definition for {@code EngineState.temporaryMode} (change to th [all...] |