Home
last modified time | relevance | path

Searched refs:Constants (Results 1 – 25 of 234) sorted by relevance

12345678910

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardCodesSet.java19 import com.android.inputmethod.latin.common.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.CODE_SETTINGS,
[all …]
DKeyboardState.java23 import com.android.inputmethod.latin.common.Constants;
356 Log.d(TAG, "onPressKey: code=" + Constants.printableCode(code) in onPressKey()
360 if (code != Constants.CODE_SHIFT) { in onPressKey()
365 if (code == Constants.CODE_SHIFT) { in onPressKey()
367 } else if (code == Constants.CODE_CAPSLOCK) { in onPressKey()
369 } else if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) { in onPressKey()
396 Log.d(TAG, "onReleaseKey: code=" + Constants.printableCode(code) in onReleaseKey()
400 if (code == Constants.CODE_SHIFT) { in onReleaseKey()
402 } else if (code == Constants.CODE_CAPSLOCK) { in onReleaseKey()
404 } else if (code == Constants.CODE_SWITCH_ALPHA_SYMBOL) { in onReleaseKey()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppReceiver.java55 private static final boolean D = Constants.DEBUG;
56 private static final boolean V = Constants.VERBOSE;
89 } else if (action.equals(Constants.ACTION_INCOMING_FILE_CONFIRM)) { in onReceive()
100 } else if (action.equals(Constants.ACTION_DECLINE)) { in onReceive()
111 } else if (action.equals(Constants.ACTION_ACCEPT)) { in onReceive()
121 } else if (action.equals(Constants.ACTION_OPEN) || action.equals(Constants.ACTION_LIST)) { in onReceive()
123 if (action.equals(Constants.ACTION_OPEN)) { in onReceive()
151 } else if (action.equals(Constants.ACTION_OPEN_OUTBOUND_TRANSFER)) { in onReceive()
160 } else if (action.equals(Constants.ACTION_OPEN_INBOUND_TRANSFER)) { in onReceive()
169 } else if (action.equals(Constants.ACTION_OPEN_RECEIVED_FILES)) { in onReceive()
[all …]
DBluetoothOppReceiveFileInfo.java57 private static final boolean D = Constants.DEBUG;
58 private static final boolean V = Constants.VERBOSE;
121 base = new File(root + Constants.DEFAULT_STORE_SUBDIR); in generateFileInfo()
124 Log.d(Constants.TAG, in generateFileInfo()
132 Log.d(Constants.TAG, "Receive File aborted - no external storage"); in generateFileInfo()
144 Log.d(Constants.TAG, "Receive File aborted - not enough free space"); in generateFileInfo()
168 Log.d(Constants.TAG, " File Name " + filename); in generateFileInfo()
179 Log.i(Constants.TAG, " File Name Length :" + filename.length()); in generateFileInfo()
180 Log.i(Constants.TAG, " File Name Length in Bytes:" + filename.getBytes().length); in generateFileInfo()
188 Log.e(Constants.TAG, "Exception: " + e); in generateFileInfo()
[all …]
DBluetoothOppNotification.java61 private static final boolean V = Constants.VERBOSE;
340 Intent intent = new Intent(Constants.ACTION_BT_OPP_TRANSFER_PROGRESS); in updateActiveNotification()
342 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_DIRECTION, in updateActiveNotification()
343 Constants.DIRECTION_BLUETOOTH_INCOMING); in updateActiveNotification()
345 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_DIRECTION, in updateActiveNotification()
346 Constants.DIRECTION_BLUETOOTH_OUTGOING); in updateActiveNotification()
348 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_ID, item.id); in updateActiveNotification()
349 intent.putExtra(Constants.EXTRA_BT_OPP_TRANSFER_PROGRESS, progress); in updateActiveNotification()
350 intent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, item.destination); in updateActiveNotification()
351 mContext.sendBroadcast(intent, Constants.HANDOVER_STATUS_PERMISSION); in updateActiveNotification()
[all …]
DBluetoothOppObexServerSession.java71 private static final boolean D = Constants.DEBUG;
72 private static final boolean V = Constants.VERBOSE;
210 Constants.logHeader(request); in onPut()
263 if (mimeType == null || (!isWhitelisted && !Constants.mimeTypeMatches(mimeType, in onPut()
264 Constants.ACCEPTABLE_SHARE_INBOUND_TYPES))) { in onPut()
359 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut()
379 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut()
416 Constants.updateShareStatus(mContext, mInfo.mId, status); in onPut()
498 || currentTime - prevTimestamp > Constants.NFC_ALIVE_CHECK_MS) { in receiveFile()
572 Constants.logHeader(request); in onConnect()
[all …]
DBluetoothOppHandoverReceiver.java30 private static final boolean D = Constants.DEBUG;
36 if (action.equals(Constants.ACTION_HANDOVER_SEND) || action.equals( in onReceive()
37 Constants.ACTION_HANDOVER_SEND_MULTIPLE)) { in onReceive()
49 if (action.equals(Constants.ACTION_HANDOVER_SEND)) { in onReceive()
54 } else if (action.equals(Constants.ACTION_HANDOVER_SEND_MULTIPLE)) { in onReceive()
77 } else if (action.equals(Constants.ACTION_WHITELIST_DEVICE)) { in onReceive()
87 } else if (action.equals(Constants.ACTION_STOP_HANDOVER)) { in onReceive()
88 int id = intent.getIntExtra(Constants.EXTRA_BT_OPP_TRANSFER_ID, -1); in onReceive()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java29 import static com.android.providers.downloads.Constants.TAG;
305 if (Constants.LOGVV) {
306 Log.v(Constants.TAG, "getting filename from hint");
320 if (Constants.LOGVV) {
321 Log.v(Constants.TAG, "getting filename from content-disposition");
336 if (Constants.LOGVV) {
337 Log.v(Constants.TAG, "getting filename from content-location");
355 if (Constants.LOGVV) {
356 Log.v(Constants.TAG, "getting filename from uri");
365 if (Constants.LOGVV) {
[all …]
DDownloadProvider.java246 addMapping(map, Constants.ETAG); in addMapping()
247 addMapping(map, Constants.RETRY_AFTER_X_REDIRECT_COUNT); in addMapping()
248 addMapping(map, Constants.UID); in addMapping()
288 if (Constants.LOGVV) { in onCreate()
289 Log.v(Constants.TAG, "populating new database"); in onCreate()
309 Log.i(Constants.TAG, "Upgrading downloads database from version " + oldV in onUpgrade()
315 Log.i(Constants.TAG, "Downgrading downloads database from version " + oldV in onUpgrade()
469 Log.e(Constants.TAG, "Error getting media content values from " + info, e); in addMediaStoreUris()
528 Log.e(Constants.TAG, "Found invalid path='" + filePath + "' for id=" + id); in canonicalizeDataPaths()
561 Constants.RETRY_AFTER_X_REDIRECT_COUNT + " INTEGER, " + in createDownloadsTable()
[all …]
DDownloadReceiver.java24 import static com.android.providers.downloads.Constants.TAG;
96 } else if (Constants.ACTION_OPEN.equals(action) in onReceive()
97 || Constants.ACTION_LIST.equals(action) in onReceive()
98 || Constants.ACTION_HIDE.equals(action)) { in onReceive()
113 } else if (Constants.ACTION_CANCEL.equals(action)) { in onReceive()
155 new String[] { Downloads.Impl._ID, Constants.UID, COLUMN_DESTINATION, _DATA }, in handleUidRemoved()
156 Constants.UID + "=" + uid, null, null)) { in handleUidRemoved()
161 Log.i(Constants.TAG, "Orphaning downloads with ids " in handleUidRemoved()
164 values.putNull(Constants.UID); in handleUidRemoved()
169 Log.i(Constants.TAG, "Deleting downloads with ids " in handleUidRemoved()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractLayoutBase.java21 import com.android.inputmethod.latin.common.Constants;
137 protected static final ExpectedKey DELETE_KEY = key(ICON_DELETE, Constants.CODE_DELETE);
138 protected static final ExpectedKey TAB_KEY = key(ICON_TAB, Constants.CODE_TAB);
139 protected static final ExpectedKey SHORTCUT_KEY = key(ICON_SHORTCUT, Constants.CODE_SHORTCUT);
140 protected static final ExpectedKey SETTINGS_KEY = key(ICON_SETTINGS, Constants.CODE_SETTINGS);
142 ICON_LANGUAGE_SWITCH, Constants.CODE_LANGUAGE_SWITCH);
143 protected static final ExpectedKey ENTER_KEY = key(ICON_ENTER, Constants.CODE_ENTER);
144 …protected static final ExpectedKey EMOJI_ACTION_KEY = key(ICON_EMOJI_ACTION, Constants.CODE_EMOJI);
145 …protected static final ExpectedKey EMOJI_NORMAL_KEY = key(ICON_EMOJI_NORMAL, Constants.CODE_EMOJI);
146 protected static final ExpectedKey SPACE_KEY = key(ICON_SPACE, Constants.CODE_SPACE);
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java48 import com.android.inputmethod.latin.common.Constants;
445 if (processedEvent.mKeyCode != Constants.CODE_DELETE in onCodeInput()
446 || inputTransaction.mTimestamp > mLastKeyTime + Constants.LONG_PRESS_MILLISECONDS) { in onCodeInput()
458 if (processedEvent.mCodePoint != Constants.CODE_SPACE) { in onCodeInput()
478 processedEvent.mKeyCode == Constants.CODE_DELETE)) { in onCodeInput()
482 if (!inputTransaction.didAutoCorrect() && processedEvent.mKeyCode != Constants.CODE_SHIFT in onCodeInput()
483 && processedEvent.mKeyCode != Constants.CODE_CAPSLOCK in onCodeInput()
484 && processedEvent.mKeyCode != Constants.CODE_SWITCH_ALPHA_SYMBOL) in onCodeInput()
486 if (Constants.CODE_DELETE != processedEvent.mKeyCode) { in onCodeInput()
508 Constants.EVENT_BACKSPACE); in onStartBatchInput()
[all …]
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/dvr/
DDvrLibraryTest.java29 import com.android.tv.testing.uihelper.Constants;
84 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testCancel()
86 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testCancel()
87 controller.assertHas(Constants.MENU, false); in testCancel()
94 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testEmptyLibrary()
104 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testEmptyLibrary()
107 controller.assertHas(Constants.DVR_SCHEDULES, true); in testEmptyLibrary()
115 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testEmptyLibrary()
117 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testEmptyLibrary()
173 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testScheduleRecordings()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java21 import com.android.inputmethod.latin.common.Constants;
152 Constants.EXTERNAL_KEYBOARD_COORDINATE, Constants.EXTERNAL_KEYBOARD_COORDINATE, in createHardwareKeypressEvent()
162 Constants.EXTERNAL_KEYBOARD_COORDINATE, Constants.EXTERNAL_KEYBOARD_COORDINATE, in createDeadEvent()
177 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, in createEventForCodePointFromUnknownSource()
205 Constants.SUGGESTION_STRIP_COORDINATE, Constants.SUGGESTION_STRIP_COORDINATE, in createSuggestionPickedEvent()
220 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, in createSoftwareTextEvent()
233 NOT_A_KEY_CODE, Constants.SUGGESTION_STRIP_COORDINATE, in createPunctuationSuggestionPickedEvent()
234 Constants.SUGGESTION_STRIP_COORDINATE, suggestedWordInfo, FLAG_NONE, in createPunctuationSuggestionPickedEvent()
247 moveAmount, Constants.NOT_A_COORDINATE, null, FLAG_NONE, null); in createCursorMovedEvent()
266 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, in createNotHandledEvent()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTests.java25 import com.android.inputmethod.latin.common.Constants;
58 type(Constants.CODE_DELETE); in testPickSuggestionThenBackspace()
73 type(Constants.CODE_DELETE); in testPickAutoCorrectionThenBackspace()
87 type(Constants.CODE_DELETE); in testPickTypedWordOverAutoCorrectionThenBackspace()
102 type(Constants.CODE_DELETE); in testPickDifferentSuggestionThenBackspace()
124 type(Constants.CODE_DELETE); in testDeleteSelection()
145 type(Constants.CODE_DELETE); in testDeleteSelectionTwice()
146 type(Constants.CODE_DELETE); in testDeleteSelectionTwice()
176 type(Constants.CODE_DELETE); in testAutoCorrectWithPeriodThenRevert()
189 type(Constants.CODE_DELETE); in testAutoCorrectWithSpaceThenRevert()
[all …]
DInputLogicTestsDeadKeys.java22 import com.android.inputmethod.latin.common.Constants;
36 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, in addCodePoint()
45 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, in addKey()
70 .addKey(Constants.CODE_DELETE) in testDeadCircumflexBackspace()
97 .addCodePoint(Constants.CODE_SPACE, false) in testDeadDiaeresisSpace()
100 .addCodePoint(Constants.CODE_ENTER, false) in testDeadDiaeresisSpace()
122 Constants.CODE_DELETE, Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, in testDeadAcuteLetterBackspace()
157 .addKey(Constants.CODE_DELETE) in testDoubleDeadOgonek()
190 .addKey(Constants.CODE_DELETE) in testDeadCircumflexDeadDiaeresisBackspace()
208 .addKey(Constants.CODE_DELETE) in testDeadCircumflexDoubleDeadDiaeresisBackspace()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java30 import com.android.inputmethod.latin.common.Constants;
57 mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space); in KeyCodeDescriptionMapper()
58 mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete); in KeyCodeDescriptionMapper()
59 mKeyCodeMap.put(Constants.CODE_ENTER, R.string.spoken_description_return); in KeyCodeDescriptionMapper()
60 mKeyCodeMap.put(Constants.CODE_SETTINGS, R.string.spoken_description_settings); in KeyCodeDescriptionMapper()
61 mKeyCodeMap.put(Constants.CODE_SHIFT, R.string.spoken_description_shift); in KeyCodeDescriptionMapper()
62 mKeyCodeMap.put(Constants.CODE_SHORTCUT, R.string.spoken_description_mic); in KeyCodeDescriptionMapper()
63 mKeyCodeMap.put(Constants.CODE_SWITCH_ALPHA_SYMBOL, R.string.spoken_description_to_symbol); in KeyCodeDescriptionMapper()
64 mKeyCodeMap.put(Constants.CODE_TAB, R.string.spoken_description_tab); in KeyCodeDescriptionMapper()
65 mKeyCodeMap.put(Constants.CODE_LANGUAGE_SWITCH, in KeyCodeDescriptionMapper()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/compat/internal/
DSessionCompatProcessor.java42 case Constants.ACTION_GET_VERSION: in handleAppPrivateCommand()
44 response.putInt(Constants.EVENT_GET_VERSION, Constants.TIF_COMPAT_VERSION); in handleAppPrivateCommand()
45 mSessionEventNotifier.notifySessionEvent(Constants.EVENT_GET_VERSION, response); in handleAppPrivateCommand()
47 case Constants.ACTION_COMPAT_ON: in handleAppPrivateCommand()
48 byte[] bytes = data.getByteArray(Constants.ACTION_COMPAT_ON); in handleAppPrivateCommand()
68 response.putByteArray(Constants.EVENT_COMPAT_NOTIFY, bytes); in notifyCompat()
71 response.putString(Constants.EVENT_COMPAT_NOTIFY_ERROR, e.getMessage()); in notifyCompat()
73 mSessionEventNotifier.notifySessionEvent(Constants.EVENT_COMPAT_NOTIFY, response); in notifyCompat()
DViewCompatProcessor.java46 byte[] protoBytes = eventArgs.getByteArray(Constants.EVENT_COMPAT_NOTIFY); in sessionEventFromBundle()
55 data.putByteArray(Constants.ACTION_COMPAT_ON, privateCommand.toByteArray()); in sendCompatCommand()
56 mCommandSender.sendAppPrivateCommand(Constants.ACTION_COMPAT_ON, data); in sendCompatCommand()
64 case Constants.EVENT_GET_VERSION: in handleEvent()
65 int version = eventArgs.getInt(Constants.EVENT_GET_VERSION, 0); in handleEvent()
68 case Constants.EVENT_COMPAT_NOTIFY: in handleEvent()
75 eventArgs.getString(Constants.EVENT_COMPAT_NOTIFY_ERROR); in handleEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCapsModeUtils.java23 import com.android.inputmethod.latin.common.Constants;
76 return (codePoint == Constants.CODE_DOUBLE_QUOTE || codePoint == Constants.CODE_SINGLE_QUOTE in isStartPunctuation()
77 || codePoint == Constants.CODE_INVERTED_QUESTION_MARK in isStartPunctuation()
78 || codePoint == Constants.CODE_INVERTED_EXCLAMATION_MARK in isStartPunctuation()
151 char prevChar = Constants.CODE_SPACE; in getCapsMode()
155 if (!Character.isSpaceChar(prevChar) && prevChar != Constants.CODE_TAB) break; in getCapsMode()
164 if (Constants.CODE_ENTER == prevChar) { in getCapsMode()
169 if (Constants.CODE_COMMA == prevChar && hasNewLine) { in getCapsMode()
207 if (c != Constants.CODE_DOUBLE_QUOTE && c != Constants.CODE_SINGLE_QUOTE in getCapsMode()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsAppTest.java25 import com.android.tv.testing.uihelper.Constants;
60 controller.assertHas(Constants.MENU, false); in testSettingsCancel()
72 controller.assertHas(Constants.MENU, false); in testClosedCaptionsCancel()
78 data.mTvTrackInfos.add(com.android.tv.testing.constants.Constants.SVGA_VIDEO_TRACK); in testDisplayModeCancel()
80 com.android.tv.testing.constants.Constants.SVGA_VIDEO_TRACK.getId(); in testDisplayModeCancel()
90 controller.assertHas(Constants.MENU, false); in testDisplayModeCancel()
97 controller.assertWaitForCondition(Until.hasObject(Constants.MENU)); in testMenu()
104 data.mTvTrackInfos.add(com.android.tv.testing.constants.Constants.GENERIC_AUDIO_TRACK); in testMultiAudioCancel()
113 controller.assertHas(Constants.MENU, false); in testMultiAudioCancel()
129 controller.assertHas(Constants.MENU, false); in testPinCancel()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMockKeyboardSwitcher.java22 import com.android.inputmethod.latin.common.Constants;
33 public static final int CAP_MODE_OFF = Constants.TextUtils.CAP_MODE_OFF;
37 public static final int CODE_SHIFT = Constants.CODE_SHIFT;
38 public static final int CODE_SYMBOL = Constants.CODE_SWITCH_ALPHA_SYMBOL;
39 public static final int CODE_SPACE = Constants.CODE_SPACE;
40 public static final int CODE_AUTO_CAPS_TRIGGER = Constants.CODE_SPACE;
180 if (Constants.isLetterCode(code)) { in onCodeInput()
189 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, in onCodeInput()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java27 import com.android.inputmethod.latin.common.Constants;
289 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey()
292 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey()
295 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey()
298 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_PHONE, in testMoreKeysOfEnterKey()
301 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey()
304 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey()
307 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey()
310 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey()
315 doTestNavigationWithEmojiMoreKeysOf(Constants.CODE_ENTER, subtype, in testMoreKeysOfEnterKey()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java206 private static class Constants { class in WifiDetailPreferenceControllerTest
753 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR); in ipAddressPref_shouldHaveDetailTextSetForConnectedNetwork()
757 verify(mockIpAddressPref).setSummary(Constants.IPV4_ADDR.getAddress().getHostAddress()); in ipAddressPref_shouldHaveDetailTextSetForConnectedNetwork()
773 mLinkProperties.addLinkAddress(Constants.IPV4_ADDR); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork()
774 mLinkProperties.addRoute(Constants.IPV4_DEFAULT); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork()
775 mLinkProperties.addRoute(Constants.IPV4_SUBNET); in gatewayAndSubnet_shouldHaveDetailTextSetForConnectedNetwork()
799 mLinkProperties.addDnsServer(Constants.IPV6_DNS); in dnsServersPref_shouldHaveDetailTextSetForConnectedNetwork()
806 Constants.IPV6_DNS.getHostAddress()); in dnsServersPref_shouldHaveDetailTextSetForConnectedNetwork()
908 lp.addLinkAddress(Constants.IPV6_LINKLOCAL); in onLinkPropertiesChanged_updatesFields()
910 verifyDisplayedIpv6Addresses(inOrder, Constants.IPV6_LINKLOCAL); in onLinkPropertiesChanged_updatesFields()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java37 import com.android.inputmethod.latin.common.Constants;
147 private int mCurrentRepeatingKeyCode = Constants.NOT_A_CODE;
256 (key == null ? "none" : Constants.printableCode(key.getCode())), in callListenerOnPressAndCheckKeyboardLayoutChange()
282 final String output = code == Constants.CODE_OUTPUT_TEXT in callListenerOnCodeInput()
283 ? key.getOutputText() : Constants.printableCode(code); in callListenerOnCodeInput()
294 if (code == Constants.CODE_OUTPUT_TEXT) { in callListenerOnCodeInput()
296 } else if (code != Constants.CODE_UNSPECIFIED) { in callListenerOnCodeInput()
301 Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE, isKeyRepeat); in callListenerOnCodeInput()
318 Constants.printableCode(primaryCode), in callListenerOnRelease()
799 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack()
[all …]

12345678910