/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | Constants.java | 18 public class Constants { class 19 private Constants() {} method in class:Constants
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardCodesSet.java | 19 import com.android.inputmethod.latin.Constants; 59 Constants.CODE_TAB, 60 Constants.CODE_ENTER, 61 Constants.CODE_SPACE, 62 Constants.CODE_SHIFT, 63 Constants.CODE_CAPSLOCK, 64 Constants.CODE_SWITCH_ALPHA_SYMBOL, 65 Constants.CODE_OUTPUT_TEXT, 66 Constants.CODE_DELETE, 67 Constants [all...] |
H A D | CodesArrayParser.java | 19 import com.android.inputmethod.latin.Constants; 38 // Constants for parsing. 39 private static final char COMMA = Constants.CODE_COMMA; 42 new String(new char[] { Constants.CODE_BACKSLASH, Constants.CODE_VERTICAL_BAR }); 92 return Constants.CODE_OUTPUT_TEXT;
|
H A D | KeyboardState.java | 22 import com.android.inputmethod.latin.Constants; 348 Log.d(TAG, "onPressKey: code=" + Constants.printableCode(code) + " single=" 351 if (code != Constants.CODE_SHIFT) { 356 if (code == Constants.CODE_SHIFT) { 358 } else if (code == Constants.CODE_CAPSLOCK) { 360 } else if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) { 387 Log.d(TAG, "onReleaseKey: code=" + Constants.printableCode(code) 390 if (code == Constants.CODE_SHIFT) { 392 } else if (code == Constants.CODE_CAPSLOCK) { 394 } else if (code == Constants [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | Constants.java | 23 * the com.android.phone package should be defined here. (Constants that 26 public class Constants { class
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | Constants.java | 19 public class Constants { class
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
H A D | DownloadList.java | 24 import com.android.providers.downloads.Constants; 34 Constants.STORAGE_AUTHORITY, Constants.STORAGE_ROOT_ID));
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | Constants.java | 23 * the com.android.phone package should be defined here. (Constants that 26 public class Constants { class
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
H A D | Event.java | 19 import com.android.inputmethod.latin.Constants; 145 Constants.EXTERNAL_KEYBOARD_COORDINATE, Constants.EXTERNAL_KEYBOARD_COORDINATE, 153 Constants.EXTERNAL_KEYBOARD_COORDINATE, Constants.EXTERNAL_KEYBOARD_COORDINATE, 167 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, 193 Constants.SUGGESTION_STRIP_COORDINATE, Constants.SUGGESTION_STRIP_COORDINATE, 207 Constants [all...] |
H A D | HardwareKeyboardEventDecoder.java | 22 import com.android.inputmethod.latin.Constants; 51 return Event.createHardwareKeypressEvent(Event.NOT_A_CODE_POINT, Constants.CODE_DELETE, 69 Constants.CODE_SHIFT_ENTER, null /* next */, isKeyRepeat); 71 return Event.createHardwareKeypressEvent(Constants.CODE_ENTER, keyCode,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CapsModeUtils.java | 22 import com.android.inputmethod.latin.Constants; 74 return (codePoint == Constants.CODE_DOUBLE_QUOTE || codePoint == Constants.CODE_SINGLE_QUOTE 75 || codePoint == Constants.CODE_INVERTED_QUESTION_MARK 76 || codePoint == Constants.CODE_INVERTED_EXCLAMATION_MARK 149 char prevChar = Constants.CODE_SPACE; 153 if (!Character.isSpaceChar(prevChar) && prevChar != Constants.CODE_TAB) break; 162 if (Constants.CODE_ENTER == prevChar) { 167 if (Constants.CODE_COMMA == prevChar && hasNewLine) { 205 if (c != Constants [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppHandoverReceiver.java | 30 private static final boolean D = Constants.DEBUG; 31 private static final boolean V = Constants.VERBOSE; 37 if (action.equals(Constants.ACTION_HANDOVER_SEND) || 38 action.equals(Constants.ACTION_HANDOVER_SEND_MULTIPLE)) { 46 if (action.equals(Constants.ACTION_HANDOVER_SEND)) { 57 } else if (action.equals(Constants.ACTION_HANDOVER_SEND_MULTIPLE)) { 71 } else if (action.equals(Constants.ACTION_WHITELIST_DEVICE)) { 77 } else if (action.equals(Constants.ACTION_STOP_HANDOVER)) { 78 int id = intent.getIntExtra(Constants.EXTRA_BT_OPP_TRANSFER_ID, -1);
|
H A D | BluetoothOppReceiver.java | 57 private static final boolean D = Constants.DEBUG; 58 private static final boolean V = Constants.VERBOSE; 83 Constants.THIS_PACKAGE_NAME); 113 } else if (action.equals(Constants.ACTION_INCOMING_FILE_CONFIRM)) { 134 } else if (action.equals(Constants.ACTION_OPEN) || action.equals(Constants.ACTION_LIST)) { 136 if (action.equals(Constants.ACTION_OPEN)) { 170 } else if (action.equals(Constants.ACTION_OPEN_OUTBOUND_TRANSFER)) { 177 } else if (action.equals(Constants.ACTION_OPEN_INBOUND_TRANSFER)) { 184 } else if (action.equals(Constants [all...] |
H A D | BluetoothOppReceiveFileInfo.java | 56 private static final boolean D = Constants.DEBUG; 57 private static final boolean V = Constants.VERBOSE; 116 base = new File(root + Constants.DEFAULT_STORE_SUBDIR); 118 if (D) Log.d(Constants.TAG, "Receive File aborted - can't create base directory " 124 if (D) Log.d(Constants.TAG, "Receive File aborted - no external storage"); 134 if (D) Log.d(Constants.TAG, "Receive File aborted - not enough free space"); 164 if (V) Log.v(Constants.TAG, "Generated received filename " + fullfilename); 173 if (V) Log.v(Constants.TAG, "New display name " + displayName); 182 if (D) Log.e(Constants.TAG, "Error when creating file " + fullfilename); 196 Constants [all...] |
H A D | BluetoothOppNotification.java | 57 private static final boolean V = Constants.VERBOSE; 300 Intent intent = new Intent(Constants.ACTION_BT_OPP_TRANSFER_PROGRESS); 302 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_DIRECTION, 303 Constants.DIRECTION_BLUETOOTH_INCOMING); 305 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_DIRECTION, 306 Constants.DIRECTION_BLUETOOTH_OUTGOING); 308 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_ID, item.id); 309 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_PROGRESS, progress); 310 intent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, item.destination); 311 mContext.sendBroadcast(intent, Constants [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | RealSystemFacade.java | 45 Log.w(Constants.TAG, "couldn't get connectivity manager"); 50 if (activeInfo == null && Constants.LOGVV) { 51 Log.v(Constants.TAG, "network is not available"); 67 Log.w(Constants.TAG, "couldn't get connectivity manager"); 74 if (Constants.LOGVV && isRoaming) { 75 Log.v(Constants.TAG, "network is roaming");
|
H A D | Helpers.java | 19 import static com.android.providers.downloads.Constants.TAG; 149 if (Constants.LOGVV) { 150 Log.v(Constants.TAG, "getting filename from hint"); 164 if (Constants.LOGVV) { 165 Log.v(Constants.TAG, "getting filename from content-disposition"); 180 if (Constants.LOGVV) { 181 Log.v(Constants.TAG, "getting filename from content-location"); 199 if (Constants.LOGVV) { 200 Log.v(Constants.TAG, "getting filename from uri"); 209 if (Constants [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
H A D | Constants.java | 27 public class Constants { class
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | DicTraverseSession.java | 30 public final int[] mInputCodePoints = new int[Constants.DICTIONARY_MAX_WORD_LENGTH]; 32 new int[Constants.MAX_PREV_WORD_COUNT_FOR_N_GRAM][]; 34 new boolean[Constants.MAX_PREV_WORD_COUNT_FOR_N_GRAM]; 37 new int[Constants.DICTIONARY_MAX_WORD_LENGTH * MAX_RESULTS];
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeySpecParserTests.java | 20 import static com.android.inputmethod.latin.Constants.CODE_UNSPECIFIED; 24 import com.android.inputmethod.latin.Constants; 43 Constants.printableCode(expectedCode), 44 Constants.printableCode(actualCode));
|
H A D | MockKeyboardSwitcher.java | 21 import com.android.inputmethod.latin.Constants; 32 public static final int CAP_MODE_OFF = Constants.TextUtils.CAP_MODE_OFF; 36 public static final int CODE_SHIFT = Constants.CODE_SHIFT; 37 public static final int CODE_SYMBOL = Constants.CODE_SWITCH_ALPHA_SYMBOL; 38 public static final int CODE_SPACE = Constants.CODE_SPACE; 39 public static final int CODE_AUTO_CAPS_TRIGGER = Constants.CODE_SPACE; 179 if (Constants.isLetterCode(code)) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | KeyCodeDescriptionMapper.java | 29 import com.android.inputmethod.latin.Constants; 55 mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space); 56 mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete); 57 mKeyCodeMap.put(Constants.CODE_ENTER, R.string.spoken_description_return); 58 mKeyCodeMap.put(Constants.CODE_SETTINGS, R.string.spoken_description_settings); 59 mKeyCodeMap.put(Constants.CODE_SHIFT, R.string.spoken_description_shift); 60 mKeyCodeMap.put(Constants.CODE_SHORTCUT, R.string.spoken_description_mic); 61 mKeyCodeMap.put(Constants.CODE_SWITCH_ALPHA_SYMBOL, R.string.spoken_description_to_symbol); 62 mKeyCodeMap.put(Constants.CODE_TAB, R.string.spoken_description_tab); 63 mKeyCodeMap.put(Constants [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
H A D | LayoutBase.java | 24 import com.android.inputmethod.latin.Constants; 290 public static final ExpectedKey DELETE_KEY = key(ICON_DELETE, Constants.CODE_DELETE); 291 public static final ExpectedKey TAB_KEY = key(ICON_TAB, Constants.CODE_TAB); 292 public static final ExpectedKey SHORTCUT_KEY = key(ICON_SHORTCUT, Constants.CODE_SHORTCUT); 293 public static final ExpectedKey SETTINGS_KEY = key(ICON_SETTINGS, Constants.CODE_SETTINGS); 295 ICON_LANGUAGE_SWITCH, Constants.CODE_LANGUAGE_SWITCH); 296 public static final ExpectedKey ENTER_KEY = key(ICON_ENTER, Constants.CODE_ENTER); 297 public static final ExpectedKey EMOJI_ACTION_KEY = key(ICON_EMOJI_ACTION, Constants.CODE_EMOJI); 298 public static final ExpectedKey EMOJI_NORMAL_KEY = key(ICON_EMOJI_NORMAL, Constants.CODE_EMOJI); 299 public static final ExpectedKey SPACE_KEY = key(ICON_SPACE, Constants [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | ShiftModeTests.java | 24 import com.android.inputmethod.latin.Constants; 62 type(Constants.CODE_DELETE); 73 type(Constants.CODE_DELETE); 75 repeatKey(Constants.CODE_DELETE);
|
H A D | InputLogicTests.java | 40 type(Constants.CODE_DELETE); 55 type(Constants.CODE_DELETE); 69 type(Constants.CODE_DELETE); 84 type(Constants.CODE_DELETE); 105 type(Constants.CODE_DELETE); 125 type(Constants.CODE_DELETE); 126 type(Constants.CODE_DELETE); 156 type(Constants.CODE_DELETE); 166 type(Constants.CODE_DELETE); 176 type(Constants [all...] |