Searched defs:hasText (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/text/
H A DClipboardManager.java40 public abstract boolean hasText(); method in class:ClipboardManager
/frameworks/base/core/java/android/content/
H A DClipboardManager.java210 public boolean hasText() { method in class:ClipboardManager
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java143 public boolean hasText() { method in class:ActionMenuItemView
184 return hasText() && mItemData.getIcon() == null;
188 return hasText();
193 if (hasText()) {
224 final boolean textVisible = hasText();
/frameworks/base/core/java/android/widget/
H A DSearchView.java753 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
756 updateSubmitButton(hasText);
760 updateVoiceButton(!hasText);
785 private void updateSubmitButton(boolean hasText) { argument
788 && (hasText || !mVoiceButtonEnabled)) {
805 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
808 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView);
810 mCloseButton.getDrawable().setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET);
1148 boolean hasText = !TextUtils.isEmpty(text);
1149 updateSubmitButton(hasText);
[all...]

Completed in 126 milliseconds