Home
last modified time | relevance | path

Searched refs:keyId (Results 1 – 19 of 19) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.cpp130 const int keyId, const int x, const int y, const bool isGeometric) const { in getNormalizedSquaredDistanceFromCenterFloatG() argument
131 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric)); in getNormalizedSquaredDistanceFromCenterFloatG()
132 const float centerY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId, y, isGeometric)); in getNormalizedSquaredDistanceFromCenterFloatG()
196 const int keyId, const int referencePointX, const bool isGeometric) const { in getKeyCenterXOfKeyIdG() argument
197 if (keyId < 0) { in getKeyCenterXOfKeyIdG()
200 int centerX = (hasTouchPositionCorrectionData()) ? static_cast<int>(mSweetSpotCenterXs[keyId]) in getKeyCenterXOfKeyIdG()
201 : mCenterXsG[keyId]; in getKeyCenterXOfKeyIdG()
202 const int keyWidth = mKeyWidths[keyId]; in getKeyCenterXOfKeyIdG()
222 const int keyId, const int referencePointY, const bool isGeometric) const { in getKeyCenterYOfKeyIdG() argument
224 if (keyId < 0) { in getKeyCenterYOfKeyIdG()
[all …]
Dproximity_info_utils.h133 const int *const keyWidths, const int *keyHeights, const int keyId, const int x, in isOnKey() argument
135 if (keyId < 0) return true; // NOT_A_ID is -1, but return whenever < 0 just in case in isOnKey()
136 const int left = keyXCoordinates[keyId]; in isOnKey()
137 const int top = keyYCoordinates[keyId]; in isOnKey()
138 const int right = left + keyWidths[keyId] + 1; in isOnKey()
139 const int bottom = top + keyHeights[keyId]; in isOnKey()
222 const int keyId, const int x, const int y) { in squaredLengthToEdge() argument
224 if (keyId < 0) return MAX_VALUE_FOR_WEIGHTING; in squaredLengthToEdge()
225 const int left = keyXCoordinates[keyId]; in squaredLengthToEdge()
226 const int top = keyYCoordinates[keyId]; in squaredLengthToEdge()
[all …]
Dproximity_info_state.cpp171 const int keyId = mProximityInfo->getKeyIndexOf(codePoint); in getPointToKeyLength() local
172 if (keyId != NOT_AN_INDEX) { in getPointToKeyLength()
173 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId; in getPointToKeyLength()
184 const int inputIndex, const int keyId) const { in getPointToKeyByIdLength()
187 keyId); in getPointToKeyByIdLength()
277 bool ProximityInfoState::isKeyInSerchKeysAfterIndex(const int index, const int keyId) const { in isKeyInSerchKeysAfterIndex()
278 ASSERT(keyId >= 0 && index >= 0 && index < mSampledInputSize); in isKeyInSerchKeysAfterIndex()
279 return mSampledSearchKeySets[index].test(keyId); in isKeyInSerchKeysAfterIndex()
Dproximity_info.h41 const int keyId, const int x, const int y, const bool isGeometric) const;
68 const int keyId, const int referencePointX, const bool isGeometric) const;
70 const int keyId, const int referencePointY, const bool isGeometric) const;
Dproximity_info_state_utils.cpp449 const int keyId = proximityInfo->getKeyIndexOf(nodeCodePoint); in pushTouchPoint() local
450 if (keyId >= 0) { in pushTouchPoint()
451 x = proximityInfo->getKeyCenterXOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric); in pushTouchPoint()
452 y = proximityInfo->getKeyCenterYOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric); in pushTouchPoint()
605 const int inputIndex, const int keyId) { in getPointToKeyByIdLength() argument
606 if (keyId != NOT_AN_INDEX) { in getPointToKeyByIdLength()
607 const int index = inputIndex * keyCount + keyId; in getPointToKeyByIdLength()
Dproximity_info_state.h147 float getPointToKeyByIdLength(const int inputIndex, const int keyId) const;
186 bool isKeyInSerchKeysAfterIndex(const int index, const int keyId) const;
Dproximity_info_state_utils.h84 const int inputIndex, const int keyId);
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeKeyIdIdentification.java38 @NonNull public final byte[] keyId; field in IkeKeyIdIdentification
45 public IkeKeyIdIdentification(@NonNull byte[] keyId) { in IkeKeyIdIdentification() argument
47 this.keyId = keyId; in IkeKeyIdIdentification()
73 result.putPersistableBundle(KEY_ID_KEY, PersistableBundleUtils.fromByteArray(keyId)); in toPersistableBundle()
81 return Objects.hash(idType, Arrays.hashCode(keyId)); in hashCode()
90 return Arrays.equals(keyId, ((IkeKeyIdIdentification) o).keyId); in equals()
115 return keyId; in getEncodedIdData()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
DTestTable.java42 public void assertHasRow(int keyId, CharSequence expected) { in assertHasRow() argument
43 assertEquals(expected, mRows.get(keyId)); in assertHasRow()
46 public void assertNotInTable (int keyId) { in assertNotInTable() argument
47 assertNull(mRows.get(keyId)); in assertNotInTable()
51 public void put(int keyId, CharSequence value) { in put() argument
52 mRows.put(keyId, value); in put()
56 public void put(int keyId, CharSequence value, OnClickListener callback) { in put() argument
57 mRows.put(keyId, value); in put()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DTableView.java103 public void put(@StringRes int keyId, CharSequence value) { in put() argument
104 put(mRes.getString(keyId), value); in put()
127 public void put(@StringRes int keyId, CharSequence value, OnClickListener callback) { in put() argument
128 put(keyId, value); in put()
129 mRows.get(mRes.getString(keyId)).setOnClickListener(callback); in put()
DInspectorController.java392 void put(@StringRes int keyId, CharSequence value); in put() argument
397 void put(@StringRes int keyId, CharSequence value, OnClickListener callback); in put() argument
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java285 String keyId = config.getKeyIdForCredentials(config); in testGetKeyIdForCredentials() local
286 assertEquals(keyId, mSsid + "_WPA_EAP_TLS_NULL"); in testGetKeyIdForCredentials()
292 keyId = config.getKeyIdForCredentials(config); in testGetKeyIdForCredentials()
293 assertEquals(keyId, mSsid + "_WPA_EAP_TTLS_MSCHAPV2"); in testGetKeyIdForCredentials()
300 keyId = config.getKeyIdForCredentials(config); in testGetKeyIdForCredentials()
301 assertEquals(keyId, mSsid + "_SUITE_B_192_PWD_GTC"); in testGetKeyIdForCredentials()
308 keyId = config.getKeyIdForCredentials(config); in testGetKeyIdForCredentials()
309 assertEquals(keyId, mSsid + "_IEEE8021X_SIM_NULL"); in testGetKeyIdForCredentials()
317 keyId = config.getKeyIdForCredentials(config); in testGetKeyIdForCredentials()
346 String keyId = config.getKeyIdForCredentials(config); in testGetKeyIdForCredentialsForSuggestion() local
[all …]
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DSharedPreferencesLiveData.java47 SharedPreferences sharedPreferences, @Assisted @StringRes int keyId) { in SharedPreferencesLiveData() argument
49 mKey = context.getString(keyId); in SharedPreferencesLiveData()
90 SharedPreferencesLiveData create(@StringRes int keyId); in create() argument
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DPinPadView.java142 for (int keyId : PIN_PAD_DIGIT_KEYS) { in init()
143 TextView key = findViewById(keyId); in init()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiKeyStore.java268 String keyId = config.getKeyIdForCredentials(existingConfig); in updateNetworkKeys() local
298 if (!installKeys(existingEnterpriseConfig, enterpriseConfig, existingKeyId, keyId)) { in updateNetworkKeys()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeIdentificationTest.java67 assertArrayEquals(LOCAL_KEY_ID, ikeId.keyId); in testIkeKeyIdIdentification()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java166 assertArrayEquals(KEY_ID, ikeId.keyId); in testDecodeKeyIdPayload()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiConfiguration.java3240 String keyId = trimStringForKeyId(SSID) + "_" + keyMgmt + "_" in getKeyIdForCredentials() local
3245 return keyId; in getKeyIdForCredentials()
3247 return keyId + "_" + trimStringForKeyId(BSSID) + "_" + trimStringForKeyId(creatorName); in getKeyIdForCredentials()
/packages/modules/IPsec/api/
Dcurrent.txt126 field @NonNull public final byte[] keyId;