Home
last modified time | relevance | path

Searched refs:hasKey (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java779 final boolean hasKey = keyIndex >= 0; in removeListener()
780 if (hasKey) { in removeListener()
784 if (hasKey && mListeners.isEmpty()) { in removeListener()
790 return hasKey; in removeListener()
1172 final boolean hasKey = keyIndex >= 0; in removeOnShowModeChangedListener()
1173 if (hasKey) { in removeOnShowModeChangedListener()
1177 if (hasKey && mListeners.isEmpty()) { in removeOnShowModeChangedListener()
1183 return hasKey; in removeOnShowModeChangedListener()
/frameworks/base/core/java/android/preference/
DPreference.java860 if (mRequiresKey && !hasKey()) { in setKey()
895 public boolean hasKey() { in hasKey() method in Preference
919 return mPreferenceManager != null && isPersistent() && hasKey(); in shouldPersist()
1765 if (hasKey()) { in dispatchSaveInstanceState()
1818 if (hasKey()) { in dispatchRestoreInstanceState()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreference.java831 if (mRequiresKey && !hasKey()) { in setKey()
866 public boolean hasKey() { in hasKey() method in Preference
890 return mPreferenceManager != null && isPersistent() && hasKey(); in shouldPersist()
1645 if (hasKey()) { in dispatchSaveInstanceState()
1698 if (hasKey()) { in dispatchRestoreInstanceState()
/frameworks/native/services/inputflinger/
DInputReader.cpp1383 mHaveBtnTouch = device->hasKey(BTN_TOUCH); in configure()
1384 mHaveStylus = device->hasKey(BTN_TOOL_PEN) in configure()
1385 || device->hasKey(BTN_TOOL_RUBBER) in configure()
1386 || device->hasKey(BTN_TOOL_BRUSH) in configure()
1387 || device->hasKey(BTN_TOOL_PENCIL) in configure()
1388 || device->hasKey(BTN_TOOL_AIRBRUSH); in configure()
DInputReader.h635 bool hasKey(int32_t code) { in hasKey() function
/frameworks/support/api/
Dcurrent.txt8626 method public boolean hasKey();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22584 method public boolean hasKey();
/frameworks/base/api/
Dcurrent.txt29743 method public boolean hasKey();
Dsystem-current.txt32340 method public boolean hasKey();
Dtest-current.txt29819 method public boolean hasKey();