Searched refs:hasText (Results 1 – 11 of 11) sorted by relevance
149 public boolean hasText() { in hasText() method in ActionMenuItemView169 return hasText() && mItemData.getIcon() == null; in needsDividerBefore()173 return hasText(); in needsDividerAfter()178 if (hasText()) { in onLongClick()209 final boolean textVisible = hasText(); in onMeasure()
185 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()
174 public boolean hasText() { in hasText() method in ActionMenuItemView215 return hasText() && mItemData.getIcon() == null; in needsDividerBefore()219 return hasText(); in needsDividerAfter()224 if (hasText()) { in onLongClick()260 final boolean textVisible = hasText(); in onMeasure()
182 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()
40 public abstract boolean hasText(); in hasText() method in ClipboardManager
783 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() argument818 && (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 …]
752 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() argument787 && (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 …]
465 boolean hasText = false; in coerceToHtmlOrStyledText()471 hasText = true; in coerceToHtmlOrStyledText()477 if (hasHtml || hasText) { in coerceToHtmlOrStyledText()
214 public boolean hasText() { in hasText() method in ClipboardManager
460 final boolean hasText = !TextUtils.isEmpty(text); in update()461 if (hasText) { in update()484 if (!hasText && !TextUtils.isEmpty(tab.getContentDescription())) { in update()
5580 method public deprecated boolean hasText();24268 method public abstract boolean hasText();