/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/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | Constants.java | 19 public class Constants { class
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardCodesSet.java | 19 import com.android.inputmethod.latin.Constants; 79 Constants.CODE_TAB, 80 Constants.CODE_ENTER, 81 Constants.CODE_SPACE, 82 Constants.CODE_SHIFT, 83 Constants.CODE_CAPSLOCK, 84 Constants.CODE_SWITCH_ALPHA_SYMBOL, 85 Constants.CODE_OUTPUT_TEXT, 86 Constants.CODE_DELETE, 87 Constants [all...] |
H A D | MoreKeySpec.java | 21 import com.android.inputmethod.latin.Constants; 38 if (code == Constants.CODE_UNSPECIFIED) { 41 mCode = Constants.CODE_OUTPUT_TEXT; 78 final String output = (mCode == Constants.CODE_OUTPUT_TEXT ? mOutputText 79 : Constants.printableCode(mCode));
|
H A D | KeyboardState.java | 22 import com.android.inputmethod.latin.Constants; 335 Log.d(TAG, "onPressKey: code=" + Constants.printableCode(code) 338 if (code != Constants.CODE_SHIFT) { 343 if (code == Constants.CODE_SHIFT) { 345 } else if (code == Constants.CODE_CAPSLOCK) { 347 } else if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) { 372 Log.d(TAG, "onReleaseKey: code=" + Constants.printableCode(code) 375 if (code == Constants.CODE_SHIFT) { 377 } else if (code == Constants.CODE_CAPSLOCK) { 379 } else if (code == Constants [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
H A D | HardwareKeyboardEventDecoder.java | 22 import com.android.inputmethod.latin.Constants; 50 return Event.createCommittableEvent(Constants.CODE_DELETE, null /* next */); 65 ? Constants.CODE_SHIFT_ENTER : Constants.CODE_ENTER,
|
H A D | DeadKeyCombiner.java | 22 import com.android.inputmethod.latin.Constants; 53 Constants.CODE_SPACE == event.mCodePoint ? null : event /* next */);
|
H A D | EventInterpreter.java | 22 import com.android.inputmethod.latin.Constants; 123 Constants.EXTERNAL_KEYBOARD_COORDINATE, 124 Constants.EXTERNAL_KEYBOARD_COORDINATE);
|
/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...] |
H A D | BluetoothOppRfcommListener.java | 53 private static final boolean V = Constants.VERBOSE; 83 if (Constants.USE_TCP_DEBUG) { 86 mTcpServerSocket = new ServerSocket(Constants.TCP_DEBUG_PORT, 1); 88 Log.e(TAG, "Error listing on port" + Constants.TCP_DEBUG_PORT); 181 if(!Constants.USE_TCP_SIMPLE_SERVER) { 193 if (Constants.USE_TCP_DEBUG) {
|
/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; 127 boolean recoveryDir = Constants.RECOVERY_DIRECTORY.equalsIgnoreCase(filename + extension); 133 if (Constants.LOGVV) { 134 Log.v(Constants.TAG, "target file: " + filename + extension); 159 if (Constants.LOGVV) { 160 Log.v(Constants.TAG, "getting filename from hint"); 174 if (Constants.LOGVV) { 175 Log.v(Constants.TAG, "getting filename from content-disposition"); 190 if (Constants.LOGVV) { 191 Log.v(Constants [all...] |
H A D | StorageManager.java | 19 import static com.android.providers.downloads.Constants.LOGV; 20 import static com.android.providers.downloads.Constants.TAG; 132 if (Constants.LOGV) { 133 Log.i(Constants.TAG, "in verifySpace, destination: " + destination + 205 Log.w(Constants.TAG, "System cache dir ('/cache') is running low on space." + 219 Log.w(Constants.TAG, "Downloads data dir: " + root + 250 if (Constants.LOGV) { 251 Log.i(Constants.TAG, "available space (in bytes) in downloads data dir: " + space); 261 if (Constants.LOGV) { 262 Log.i(Constants [all...] |
H A D | DownloadReceiver.java | 66 if (Constants.LOGVV) { 67 Log.v(Constants.TAG, "Received broadcast intent for " + 72 if (Constants.LOGVV) { 73 Log.v(Constants.TAG, "Received broadcast intent for " + 84 } else if (action.equals(Constants.ACTION_RETRY)) { 86 } else if (action.equals(Constants.ACTION_OPEN) 87 || action.equals(Constants.ACTION_LIST) 88 || action.equals(Constants.ACTION_HIDE)) { 111 if (Constants.ACTION_LIST.equals(action)) { 116 } else if (Constants [all...] |
H A D | DownloadThread.java | 28 import static com.android.providers.downloads.Constants.TAG; 110 userAgent = Constants.DEFAULT_USER_AGENT; 192 wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, Constants.TAG); 199 Log.i(Constants.TAG, "Download " + mInfo.mId + " starting"); 228 Log.w(Constants.TAG, msg); 229 if (Constants.LOGV) { 230 Log.w(Constants.TAG, msg, error); 248 if (numFailed < Constants.MAX_RETRIES) { 265 Log.w(Constants.TAG, msg, ex); 279 Log.i(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/accessibility/ |
H A D | KeyCodeDescriptionMapper.java | 28 import com.android.inputmethod.latin.Constants; 65 mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space); 66 mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete); 67 mKeyCodeMap.put(Constants.CODE_ENTER, R.string.spoken_description_return); 68 mKeyCodeMap.put(Constants.CODE_SETTINGS, R.string.spoken_description_settings); 69 mKeyCodeMap.put(Constants.CODE_SHIFT, R.string.spoken_description_shift); 70 mKeyCodeMap.put(Constants.CODE_SHORTCUT, R.string.spoken_description_mic); 71 mKeyCodeMap.put(Constants.CODE_SWITCH_ALPHA_SYMBOL, R.string.spoken_description_to_symbol); 72 mKeyCodeMap.put(Constants.CODE_TAB, R.string.spoken_description_tab); 73 mKeyCodeMap.put(Constants [all...] |
/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/tests/src/com/android/inputmethod/keyboard/internal/ |
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; 172 if (Constants.isLetterCode(code)) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CapsModeUtils.java | 22 import com.android.inputmethod.latin.Constants; 118 if (c != Constants.CODE_DOUBLE_QUOTE && c != Constants.CODE_SINGLE_QUOTE 134 char prevChar = Constants.CODE_SPACE; 138 if (!Character.isSpaceChar(prevChar) && prevChar != Constants.CODE_TAB) break; 177 if (c != Constants.CODE_DOUBLE_QUOTE && c != Constants.CODE_SINGLE_QUOTE 191 if (c == Constants.CODE_QUESTION_MARK || c == Constants.CODE_EXCLAMATION_MARK) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyDetector.java | 19 import com.android.inputmethod.latin.Constants; 122 return key != null ? Constants.printableCode(key.getCode()) : "none"; 129 if (code == Constants.NOT_A_CODE) break; 131 sb.append(Constants.printableCode(code));
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | InputLogicTests.java | 37 type(Constants.CODE_DELETE); 53 type(Constants.CODE_DELETE); 68 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...] |