Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
DActionMenuItemView.java236 public boolean hasText() { in hasText() method in ActionMenuItemView
259 return hasText() && mItemData.getIcon() == null; in needsDividerBefore()
264 return hasText(); in needsDividerAfter()
269 final boolean textVisible = hasText(); in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java227 public boolean hasText() { in hasText() method in ActionMenuItemView
267 return hasText() && mItemData.getIcon() == null; in needsDividerBefore()
271 return hasText(); in needsDividerAfter()
276 final boolean textVisible = hasText(); in onMeasure()
/frameworks/base/core/java/android/text/
DClipboardManager.java40 public abstract boolean hasText(); in hasText() method in ClipboardManager
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DActionMenuView.java233 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); in onMeasureExactFormat()
413 final boolean hasText = itemView != null && itemView.hasText(); in measureChildForCells()
416 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) { in measureChildForCells()
424 if (hasText && cellsUsed < 2) cellsUsed = 2; in measureChildForCells()
427 final boolean expandable = !lp.isOverflowButton && hasText; in measureChildForCells()
DSearchView.java872 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateViewsVisibility()
875 updateSubmitButton(hasText); in updateViewsVisibility()
887 updateVoiceButton(!hasText); in updateViewsVisibility()
912 private void updateSubmitButton(boolean hasText) { in updateSubmitButton() argument
915 && (hasText || !mVoiceButtonEnabled)) { in updateSubmitButton()
932 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateCloseButton()
935 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView); in updateCloseButton()
939 closeButtonImg.setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET); in updateCloseButton()
1175 boolean hasText = !TextUtils.isEmpty(text); in onTextChanged()
1176 updateSubmitButton(hasText); in onTextChanged()
[all …]
DScrollingTabContainerView.java489 final boolean hasText = !TextUtils.isEmpty(text); in update()
490 if (hasText) { in update()
512 TooltipCompat.setTooltipText(this, hasText ? null : tab.getContentDescription()); in update()
/frameworks/base/core/java/android/widget/
DActionMenuView.java229 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); in onMeasureExactFormat()
409 final boolean hasText = itemView != null && itemView.hasText(); in measureChildForCells()
412 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) { in measureChildForCells()
420 if (hasText && cellsUsed < 2) cellsUsed = 2; in measureChildForCells()
423 final boolean expandable = !lp.isOverflowButton && hasText; in measureChildForCells()
DSearchView.java861 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateViewsVisibility()
864 updateSubmitButton(hasText); in updateViewsVisibility()
876 updateVoiceButton(!hasText); in updateViewsVisibility()
901 private void updateSubmitButton(boolean hasText) { in updateSubmitButton() argument
904 && (hasText || !mVoiceButtonEnabled)) { in updateSubmitButton()
921 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateCloseButton()
924 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView); in updateCloseButton()
928 closeButtonImg.setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET); in updateCloseButton()
1244 boolean hasText = !TextUtils.isEmpty(text); in onTextChanged()
1245 updateSubmitButton(hasText); in onTextChanged()
[all …]
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DRowContent.java142 if (hasText(mTitleItem)) { in populate()
145 if (hasText(mSubtitleItem)) { in populate()
341 private static boolean hasText(SliceItem textSlice) { in hasText() method in RowContent
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java451 final boolean hasText = !TextUtils.isEmpty(text); in update()
452 if (hasText) { in update()
474 setTooltipText(hasText? null : tab.getContentDescription()); in update()
/frameworks/base/core/java/android/content/
DClipboardManager.java216 public boolean hasText() { in hasText() method in ClipboardManager
DClipData.java498 boolean hasText = false; in coerceToHtmlOrStyledText()
504 hasText = true; in coerceToHtmlOrStyledText()
510 if (hasHtml || hasText) { in coerceToHtmlOrStyledText()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java424 boolean hasText = !TextUtils.isEmpty(mOwnerInfo.getText()); in updateDark()
425 mOwnerInfo.setVisibility(hasText ? VISIBLE : GONE); in updateDark()
DKeyguardSliceView.java514 boolean hasText = !TextUtils.isEmpty(getText()); in updatePadding()
517 setPadding(horizontalPadding, 0, horizontalPadding * (hasText ? 1 : -1), 0); in updatePadding()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt8487 Lcom/android/internal/view/menu/ActionMenuItemView;->hasText()Z
Dhiddenapi-public-dex.txt6262 Landroid/content/ClipboardManager;->hasText()Z
44932 Landroid/text/ClipboardManager;->hasText()Z
Dboot-image-profile.txt10370 HPLcom/android/internal/view/menu/ActionMenuItemView;->hasText()Z
31091 HSPLandroid/text/ClipboardManager;->hasText()Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6829 method public deprecated boolean hasText();
29560 method public abstract boolean hasText();
/frameworks/base/api/
Dcurrent.txt9027 method public deprecated boolean hasText();
43140 method public abstract boolean hasText();