Home
last modified time | relevance | path

Searched refs:hasText (Results 1 – 11 of 11) sorted by relevance

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