/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info.cpp | 130 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 …]
|
D | proximity_info_utils.h | 133 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 …]
|
D | proximity_info_state.cpp | 171 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()
|
D | proximity_info.h | 41 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;
|
D | proximity_info_state_utils.cpp | 449 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()
|
D | proximity_info_state.h | 147 float getPointToKeyByIdLength(const int inputIndex, const int keyId) const; 186 bool isKeyInSerchKeysAfterIndex(const int index, const int keyId) const;
|
D | proximity_info_state_utils.h | 84 const int inputIndex, const int keyId);
|
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeKeyIdIdentification.java | 38 @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/ |
D | TestTable.java | 42 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/ |
D | TableView.java | 103 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()
|
D | InspectorController.java | 392 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/ |
D | WifiConfigurationTest.java | 285 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/ |
D | SharedPreferencesLiveData.java | 47 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/ |
D | PinPadView.java | 142 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/ |
D | WifiKeyStore.java | 268 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/ |
D | IkeIdentificationTest.java | 67 assertArrayEquals(LOCAL_KEY_ID, ikeId.keyId); in testIkeKeyIdIdentification()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeIdPayloadTest.java | 166 assertArrayEquals(KEY_ID, ikeId.keyId); in testDecodeKeyIdPayload()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiConfiguration.java | 3240 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/ |
D | current.txt | 126 field @NonNull public final byte[] keyId;
|