Searched refs:hasText (Results 1 - 10 of 10) 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/com/android/internal/view/menu/
H A DActionMenuItemView.java174 public boolean hasText() { method in class:ActionMenuItemView
215 return hasText() && mItemData.getIcon() == null;
219 return hasText();
224 if (hasText()) {
260 final boolean textVisible = hasText();
H A DActionMenuView.java182 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
363 final boolean hasText = itemView != null && itemView.hasText();
366 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) {
374 if (hasText && cellsUsed < 2) cellsUsed = 2;
377 final boolean expandable = !lp.isOverflowButton && hasText;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuItemView.java149 public boolean hasText() { method in class:ActionMenuItemView
169 return hasText() && mItemData.getIcon() == null;
173 return hasText();
178 if (hasText()) {
209 final boolean textVisible = hasText();
H A DActionMenuView.java185 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
386 final boolean hasText = itemView != null && itemView.hasText();
389 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) {
399 if (hasText && cellsUsed < 2) {
404 final boolean expandable = !lp.isOverflowButton && hasText;
/frameworks/base/core/java/android/content/
H A DClipboardManager.java214 public boolean hasText() { method in class:ClipboardManager
H A DClipData.java465 boolean hasText = false;
471 hasText = true;
477 if (hasHtml || hasText) {
/frameworks/base/core/java/android/widget/
H A DSearchView.java752 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
755 updateSubmitButton(hasText);
759 updateVoiceButton(!hasText);
784 private void updateSubmitButton(boolean hasText) { argument
787 && (hasText || !mVoiceButtonEnabled)) {
804 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
807 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView);
809 mCloseButton.getDrawable().setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET);
1147 boolean hasText = !TextUtils.isEmpty(text);
1148 updateSubmitButton(hasText);
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java783 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
786 updateSubmitButton(hasText);
790 updateVoiceButton(!hasText);
815 private void updateSubmitButton(boolean hasText) { argument
818 && (hasText || !mVoiceButtonEnabled)) {
835 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
838 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView);
840 mCloseButton.getDrawable().setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET);
1112 boolean hasText = !TextUtils.isEmpty(text);
1113 updateSubmitButton(hasText);
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java460 final boolean hasText = !TextUtils.isEmpty(text);
461 if (hasText) {
484 if (!hasText && !TextUtils.isEmpty(tab.getContentDescription())) {

Completed in 174 milliseconds