Home
last modified time | relevance | path

Searched refs:mVoiceButtonEnabled (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DSearchView.java136 private boolean mVoiceButtonEnabled; field in SearchView
391 mVoiceButtonEnabled = hasVoiceSearch(); in setSearchableInfo()
393 if (mVoiceButtonEnabled) { in setSearchableInfo()
821 return (mSubmitButtonEnabled || mVoiceButtonEnabled) && !isIconified(); in isSubmitAreaEnabled()
827 && (hasText || !mVoiceButtonEnabled)) { in updateSubmitButton()
1162 if (mVoiceButtonEnabled && !isIconified() && empty) { in updateVoiceButton()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java149 private boolean mVoiceButtonEnabled; field in SearchView
421 mVoiceButtonEnabled = IS_AT_LEAST_FROYO && hasVoiceSearch(); in setSearchableInfo()
423 if (mVoiceButtonEnabled) { in setSearchableInfo()
833 return (mSubmitButtonEnabled || mVoiceButtonEnabled) && !isIconified(); in isSubmitAreaEnabled()
839 && (hasText || !mVoiceButtonEnabled)) { in updateSubmitButton()
1096 if (mVoiceButtonEnabled && !isIconified() && empty) { in updateVoiceButton()