Searched refs:mCurrentKey (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/homepage/ |
D | TopLevelHighlightMixin.java | 39 private String mCurrentKey; field in TopLevelHighlightMixin 53 mCurrentKey = source.readString(); in TopLevelHighlightMixin() 61 dest.writeString(mCurrentKey); in writeToParcel() 98 mCurrentKey = mPreviousKey; in onCancel() 100 mTopLevelAdapter.highlightPreference(mCurrentKey, /* scrollNeeded= */ false); in onCancel() 114 if (TextUtils.isEmpty(mCurrentKey)) { in onCreateAdapter() 115 mCurrentKey = getHighlightPrefKeyFromArguments(topLevelSettings.getArguments()); in onCreateAdapter() 118 Log.d(TAG, "onCreateAdapter, pref key: " + mCurrentKey); in onCreateAdapter() 126 recyclerView, mCurrentKey, scrollNeeded); in onCreateAdapter() 136 mCurrentKey = getHighlightPrefKeyFromArguments(arguments); in reloadHighlightMenuKey() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | MoreKeysKeyboardView.java | 49 private Key mCurrentKey; field in MoreKeysKeyboardView 161 mCurrentKey = detectKey(x, y); in onDownEvent() 169 final boolean hasOldKey = (mCurrentKey != null); in onMoveEvent() 170 mCurrentKey = detectKey(x, y); in onMoveEvent() 171 if (hasOldKey && mCurrentKey == null) { in onMoveEvent() 184 mCurrentKey = detectKey(x, y); in onUpEvent() 185 if (mCurrentKey != null) { in onUpEvent() 186 updateReleaseKeyGraphics(mCurrentKey); in onUpEvent() 187 onKeyInput(mCurrentKey, x, y); in onUpEvent() 188 mCurrentKey = null; in onUpEvent() [all …]
|
D | PointerTracker.java | 122 private Key mCurrentKey = null; field in PointerTracker 373 return mCurrentKey; in getKey() 378 return mCurrentKey != null && mCurrentKey.isModifier(); in isModifier() 495 mCurrentKey = newKey; in onMoveToNewKey() 894 final Key oldKey = mCurrentKey; in onMoveEventInternal() 901 mCurrentKey = null; in onMoveEventInternal() 932 if (mCurrentKey != null && mCurrentKey.isModifier()) { in onUpEvent() 962 final Key currentKey = mCurrentKey; in onUpEventInternal() 963 mCurrentKey = null; in onUpEventInternal() 1058 setReleasedKeyGraphics(mCurrentKey, true /* withAnimation */); in cancelKeyTracking() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiPageKeyboardView.java | 123 if (key != null && key != mCurrentKey) { in onTouchEvent() 130 private Key mCurrentKey; field in EmojiPageKeyboardView 159 final Key currentKey = mCurrentKey; in releaseCurrentKey() 164 mCurrentKey = null; in releaseCurrentKey() 171 mCurrentKey = key; in onDown() 195 final Key currentKey = mCurrentKey; in onSingleTapUp()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 222 private int mCurrentKey = NOT_A_KEY; field in KeyboardView 1142 if (mPopupKeyboardView == null || mCurrentKey < 0 || mCurrentKey >= mKeys.length) { in openPopupIfRequired() 1146 Key popupKey = mKeys[mCurrentKey]; in openPopupIfRequired() 1298 mCurrentKey = keyIndex; in onModifiedTouchEvent() 1306 if (mCurrentKey >= 0 && mKeys[mCurrentKey].repeatable) { in onModifiedTouchEvent() 1307 mRepeatKeyIndex = mCurrentKey; in onModifiedTouchEvent() 1317 if (mCurrentKey != NOT_A_KEY) { in onModifiedTouchEvent() 1327 if (mCurrentKey == NOT_A_KEY) { in onModifiedTouchEvent() 1328 mCurrentKey = keyIndex; in onModifiedTouchEvent() 1331 if (keyIndex == mCurrentKey) { in onModifiedTouchEvent() [all …]
|