Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DDisplayList.h142 [[nodiscard]] bool hasText() const { in hasText() function
143 return mImpl && mImpl->hasText(); in hasText()
166 bool hasText() const { return false; } in hasText() function
312 [[nodiscard]] bool hasText() const { in hasText() function
313 return apply([](const auto& it) -> auto { return it.hasText(); }); in hasText()
DRecordingCanvas.h76 bool hasText() const { return mHasText; } in hasText() function
DRenderNode.cpp398 if (mDisplayList.hasText()) { in handleForceDark()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java230 public boolean hasText() { in hasText() method in ActionMenuItemView
270 return hasText() && mItemData.getIcon() == null; in needsDividerBefore()
274 return hasText(); in needsDividerAfter()
279 final boolean textVisible = hasText(); in onMeasure()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h96 bool hasText() const { return mDisplayList.hasText(); } in hasText() function
/frameworks/base/core/java/android/text/
DClipboardManager.java40 public abstract boolean hasText(); in hasText() method in ClipboardManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DOverlayActionChip.java115 private void updatePadding(boolean hasText) { in updatePadding() argument
120 if (hasText) { in updatePadding()
/frameworks/layoutlib/bridge/src/android/content/
DClipboardManager.java122 public boolean hasText() { in hasText() method in ClipboardManager
/frameworks/base/core/java/android/widget/
DActionMenuView.java231 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); in onMeasureExactFormat()
411 final boolean hasText = itemView != null && itemView.hasText(); in measureChildForCells()
414 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) { in measureChildForCells()
422 if (hasText && cellsUsed < 2) cellsUsed = 2; in measureChildForCells()
425 final boolean expandable = !lp.isOverflowButton && hasText; in measureChildForCells()
DSearchView.java907 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateViewsVisibility()
910 updateSubmitButton(hasText); in updateViewsVisibility()
922 updateVoiceButton(!hasText); in updateViewsVisibility()
948 private void updateSubmitButton(boolean hasText) { in updateSubmitButton() argument
951 && (hasText || !mVoiceButtonEnabled)) { in updateSubmitButton()
969 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateCloseButton()
972 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView); in updateCloseButton()
976 closeButtonImg.setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET); in updateCloseButton()
1294 boolean hasText = !TextUtils.isEmpty(text); in onTextChanged()
1295 updateSubmitButton(hasText); in onTextChanged()
[all …]
/frameworks/base/libs/hwui/canvas/
DCanvasOpBuffer.h107 [[nodiscard]] bool hasText() const { return mHas.text; } in hasText() function
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java463 final boolean hasText = !TextUtils.isEmpty(text); in update()
464 if (hasText) { in update()
486 setTooltipText(hasText? null : tab.getContentDescription()); in update()
/frameworks/base/core/java/android/content/
DClipboardManager.java304 public boolean hasText() { in hasText() method in ClipboardManager
DClipData.java557 boolean hasText = false; in coerceToHtmlOrStyledText()
563 hasText = true; in coerceToHtmlOrStyledText()
569 if (hasHtml || hasText) { in coerceToHtmlOrStyledText()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java447 boolean hasText = !TextUtils.isEmpty(getText()); in updatePadding()
451 setPadding(0, padding, 0, hasText ? padding : 0); in updatePadding()
/frameworks/base/core/java/android/view/
DView.java10222 boolean hasText = text != null || info.getError() != null; in populateVirtualStructure()
10223 if (hasText) { in populateVirtualStructure()
10229 if (hasText) { in populateVirtualStructure()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6829 method public deprecated boolean hasText();
29560 method public abstract boolean hasText();
/frameworks/base/core/api/
Dcurrent.txt9243 method @Deprecated public boolean hasText();
44829 method @Deprecated public abstract boolean hasText();