Home
last modified time | relevance | path

Searched refs:keyIndex (Results 1 – 22 of 22) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dproximity_info.h42 int getCodePointOf(const int keyIndex) const;
43 int getOriginalCodePointOf(const int keyIndex) const;
44 bool hasSweetSpotData(const int keyIndex) const { in hasSweetSpotData() argument
47 return mSweetSpotRadii[keyIndex] > 0.0f; in hasSweetSpotData()
49 float getSweetSpotRadiiAt(int keyIndex) const { return mSweetSpotRadii[keyIndex]; } in getSweetSpotRadiiAt() argument
50 float getSweetSpotCenterXAt(int keyIndex) const { return mSweetSpotCenterXs[keyIndex]; } in getSweetSpotCenterXAt() argument
51 float getSweetSpotCenterYAt(int keyIndex) const { return mSweetSpotCenterYs[keyIndex]; } in getSweetSpotCenterYAt() argument
Dproximity_info.cpp139 int ProximityInfo::getCodePointOf(const int keyIndex) const { in getCodePointOf()
140 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { in getCodePointOf()
143 return mKeyIndexToLowerCodePointG[keyIndex]; in getCodePointOf()
146 int ProximityInfo::getOriginalCodePointOf(const int keyIndex) const { in getOriginalCodePointOf()
147 if (keyIndex < 0 || keyIndex >= KEY_COUNT) { in getOriginalCodePointOf()
150 return mKeyIndexToOriginalCodePoint[keyIndex]; in getOriginalCodePointOf()
Dproximity_info_state.cpp37 const int keyIndex = mProximityInfo->getKeyIndexOf(primaryCodePoint); in getPrimaryOriginalCodePointAt() local
38 return mProximityInfo->getOriginalCodePointOf(keyIndex); in getPrimaryOriginalCodePointAt()
298 float ProximityInfoState::getProbability(const int index, const int keyIndex) const { in getProbability()
300 std::unordered_map<int, float>::const_iterator it = mCharProbabilities[index].find(keyIndex); in getProbability()
Dproximity_info_utils.h165 const int keyIndex = getKeyIndexOf(keyCount, c, codeToKeyMap); in calculateProximities() local
167 keyIndex, x, y); in calculateProximities()
169 keyWidths, keyHeights, keyIndex, x, y); in calculateProximities()
Dproximity_info_state_utils.cpp159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateSquaredDistanceFromSweetSpotCenter() argument
160 const float sweetSpotCenterX = proximityInfo->getSweetSpotCenterXAt(keyIndex); in calculateSquaredDistanceFromSweetSpotCenter()
161 const float sweetSpotCenterY = proximityInfo->getSweetSpotCenterYAt(keyIndex); in calculateSquaredDistanceFromSweetSpotCenter()
170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateNormalizedSquaredDistance() argument
171 if (keyIndex == NOT_AN_INDEX) { in calculateNormalizedSquaredDistance()
174 if (!proximityInfo->hasSweetSpotData(keyIndex)) { in calculateNormalizedSquaredDistance()
181 sampledInputXs, sampledInputYs, keyIndex, inputIndex); in calculateNormalizedSquaredDistance()
183 proximityInfo->getSweetSpotRadiiAt(keyIndex)); in calculateNormalizedSquaredDistance()
Dproximity_info_state_utils.h153 const std::vector<int> *const sampledInputYs, const int keyIndex,
157 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex);
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadCharMappings.java196 for (int keyIndex = 0; keyIndex < keyToChars.length; keyIndex++) { in getCharToKeyMap()
197 String chars = keyToChars[keyIndex]; in getCharToKeyMap()
202 charToKeyMap.put(Character.toLowerCase(c), getKeyChar(keyIndex)); in getCharToKeyMap()
211 private static char getKeyChar(int keyIndex) { in getKeyChar() argument
212 Assert.checkArgument(0 <= keyIndex && keyIndex <= 11); in getKeyChar()
214 switch (keyIndex) { in getKeyChar()
220 return (char) ('0' + keyIndex); in getKeyChar()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DRemoteCarTaskViewControllerWrapperImpl.java93 for (int keyIndex = 0; keyIndex < mTaskViewsMap.size(); keyIndex++) { in getRootTaskInfo()
94 int key = mTaskViewsMap.keyAt(keyIndex); in getRootTaskInfo()
157 for (int keyIndex = 0; keyIndex < mTaskViewsMap.size(); keyIndex++) { in onDestroy()
158 int key = mTaskViewsMap.keyAt(keyIndex); in onDestroy()
170 for (int keyIndex = 0; keyIndex < mTaskViewsMap.size(); keyIndex++) { in updateWindowBounds()
171 int key = mTaskViewsMap.keyAt(keyIndex); in updateWindowBounds()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardView.java261 private ImageView createKeyImageView(int keyIndex) { in createKeyImageView() argument
266 final KeyHolder keyHolder = mKeys[keyIndex]; in createKeyImageView()
352 for (int keyIndex = 0; keyIndex < totalKeys; keyIndex++) { in createKeyImageViews()
355 } else if (mKeyImageViews[keyIndex] != null) { in createKeyImageViews()
356 removeView(mKeyImageViews[keyIndex]); in createKeyImageViews()
358 mKeyImageViews[keyIndex] = createKeyImageView(keyIndex); in createKeyImageViews()
377 public void invalidateKey(int keyIndex) { in invalidateKey() argument
380 if (keyIndex < 0 || keyIndex >= mKeys.length) { in invalidateKey()
383 if (mKeyImageViews[keyIndex] != null) { in invalidateKey()
384 removeView(mKeyImageViews[keyIndex]); in invalidateKey()
[all …]
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java986 private void showPreview(int keyIndex) { in showPreview() argument
990 mCurrentKeyIndex = keyIndex; in showPreview()
1012 if (keyIndex == NOT_A_KEY) { in showPreview()
1018 if (keyIndex != NOT_A_KEY) { in showPreview()
1021 showKey(keyIndex); in showPreview()
1024 mHandler.obtainMessage(MSG_SHOW_PREVIEW, keyIndex, 0), in showPreview()
1031 private void showKey(final int keyIndex) { in showKey() argument
1034 if (keyIndex < 0 || keyIndex >= mKeys.length) return; in showKey()
1035 Key key = keys[keyIndex]; in showKey()
1126 public void invalidateKey(int keyIndex) { in invalidateKey() argument
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DProximityInfo.java159 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { in createNativeProximityInfo()
160 final Key key = sortedKeys.get(keyIndex); in createNativeProximityInfo()
183 for (int infoIndex = 0, keyIndex = 0; keyIndex < sortedKeys.size(); keyIndex++) { in createNativeProximityInfo()
184 final Key key = sortedKeys.get(keyIndex); in createNativeProximityInfo()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
Dtyping_weighting.cpp43 const int keyIndex = traverseSession->getProximityInfo()->getKeyIndexOf( in getErrorType() local
59 if (keyIndex == NOT_AN_INDEX) { in getErrorType()
70 if (keyIndex == NOT_AN_INDEX) { in getErrorType()
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DRecentNotificationsAppsPreferenceController.java183 int keyIndex = 1; in displayRecentApps() local
185 for (int i = 0; i < recentAppsCount; i++, keyIndex++) { in displayRecentApps()
196 .findPreference(KEY_PLACEHOLDER + keyIndex); in displayRecentApps()
199 pref.setKey(KEY_PLACEHOLDER + keyIndex); in displayRecentApps()
221 for (int i = keyIndex; i <= mRecentAppsMaxCount; i++) { in displayRecentApps()
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DMockSettings.java102 private Object insertObjectFromInvocation(InvocationOnMock invocation, int keyIndex, in insertObjectFromInvocation() argument
104 String key = (String) invocation.getArguments()[keyIndex]; in insertObjectFromInvocation()
120 private <T> T getAnswer(InvocationOnMock invocation, Class<T> clazz, int keyIndex, in getAnswer() argument
122 String key = (String) invocation.getArguments()[keyIndex]; in getAnswer()
/packages/modules/AdServices/adservices/framework/java/android/adservices/cobalt/
DEncryptedCobaltEnvelopeParams.java69 @Environment int environment, @NonNull int keyIndex, @NonNull byte[] cipherText) { in EncryptedCobaltEnvelopeParams() argument
71 mKeyIndex = keyIndex; in EncryptedCobaltEnvelopeParams()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/crypto/
DHpkeEncrypter.java154 int keyIndex, in encrypt() argument
182 .setKeyIndex(keyIndex) in encrypt()
/packages/services/Car/tests/BugReportApp/libs/
Dgrpc-context-1.19.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dokhttp-3.12.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/proguard/ okhttp3/ ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...