Searched refs:hasText (Results 1 - 11 of 11) 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.java204 public boolean hasText() { method in class:ActionMenuItemView
245 return hasText() && mItemData.getIcon() == null;
249 return hasText();
254 if (hasText()) {
287 final boolean textVisible = hasText();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuItemView.java208 public boolean hasText() { method in class:ActionMenuItemView
228 return hasText() && mItemData.getIcon() == null;
232 return hasText();
237 if (hasText()) {
270 final boolean textVisible = hasText();
/frameworks/base/core/java/android/widget/
H A DActionMenuView.java220 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
400 final boolean hasText = itemView != null && itemView.hasText();
403 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) {
411 if (hasText && cellsUsed < 2) cellsUsed = 2;
414 final boolean expandable = !lp.isOverflowButton && hasText;
H A DSearchView.java803 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText());
806 updateSubmitButton(hasText);
810 updateVoiceButton(!hasText);
835 private void updateSubmitButton(boolean hasText) { argument
838 && (hasText || !mVoiceButtonEnabled)) {
855 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText());
858 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView);
862 closeButtonImg.setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET);
1204 boolean hasText = !TextUtils.isEmpty(text);
1205 updateSubmitButton(hasText);
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java230 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
410 final boolean hasText = itemView != null && itemView.hasText();
413 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) {
421 if (hasText && cellsUsed < 2) cellsUsed = 2;
424 final boolean expandable = !lp.isOverflowButton && hasText;
H A DSearchView.java803 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
806 updateSubmitButton(hasText);
810 updateVoiceButton(!hasText);
837 private void updateSubmitButton(boolean hasText) { argument
840 && (hasText || !mVoiceButtonEnabled)) {
857 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
860 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView);
862 mCloseButton.getDrawable().setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET);
1118 boolean hasText = !TextUtils.isEmpty(text);
1119 updateSubmitButton(hasText);
[all...]
/frameworks/base/core/java/android/content/
H A DClipboardManager.java212 public boolean hasText() { method in class:ClipboardManager
H A DClipData.java466 boolean hasText = false;
472 hasText = true;
478 if (hasHtml || hasText) {
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java459 final boolean hasText = !TextUtils.isEmpty(text);
460 if (hasText) {
483 if (!hasText && !TextUtils.isEmpty(tab.getContentDescription())) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DScrollingTabContainerView.java482 final boolean hasText = !TextUtils.isEmpty(text);
483 if (hasText) {
506 if (!hasText && !TextUtils.isEmpty(tab.getContentDescription())) {

Completed in 951 milliseconds