Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java229 public boolean hasText() { in hasText() method in ActionMenuItemView
269 return hasText() && mItemData.getIcon() == null; in needsDividerBefore()
273 return hasText(); in needsDividerAfter()
278 final boolean textVisible = hasText(); in onMeasure()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h91 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/core/java/android/widget/
DActionMenuView.java230 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); in onMeasureExactFormat()
410 final boolean hasText = itemView != null && itemView.hasText(); in measureChildForCells()
413 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) { in measureChildForCells()
421 if (hasText && cellsUsed < 2) cellsUsed = 2; in measureChildForCells()
424 final boolean expandable = !lp.isOverflowButton && hasText; in measureChildForCells()
DSearchView.java900 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateViewsVisibility()
903 updateSubmitButton(hasText); in updateViewsVisibility()
915 updateVoiceButton(!hasText); in updateViewsVisibility()
941 private void updateSubmitButton(boolean hasText) { in updateSubmitButton() argument
944 && (hasText || !mVoiceButtonEnabled)) { in updateSubmitButton()
962 final boolean hasText = !TextUtils.isEmpty(mSearchSrcTextView.getText()); in updateCloseButton()
965 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView); in updateCloseButton()
969 closeButtonImg.setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET); in updateCloseButton()
1286 boolean hasText = !TextUtils.isEmpty(text); in onTextChanged()
1287 updateSubmitButton(hasText); in onTextChanged()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DScrollingTabContainerView.java462 final boolean hasText = !TextUtils.isEmpty(text); in update()
463 if (hasText) { in update()
485 setTooltipText(hasText? null : tab.getContentDescription()); in update()
/frameworks/base/core/java/android/content/
DClipboardManager.java230 public boolean hasText() { in hasText() method in ClipboardManager
DClipData.java511 boolean hasText = false; in coerceToHtmlOrStyledText()
517 hasText = true; in coerceToHtmlOrStyledText()
523 if (hasHtml || hasText) { in coerceToHtmlOrStyledText()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardStatusView.java406 boolean hasText = !TextUtils.isEmpty(mOwnerInfo.getText()); in updateDark()
407 mOwnerInfo.setVisibility(hasText ? VISIBLE : GONE); in updateDark()
DKeyguardSliceView.java562 boolean hasText = !TextUtils.isEmpty(getText()); in updatePadding()
565 setPadding(horizontalPadding, 0, horizontalPadding * (hasText ? 1 : -1), 0); in updatePadding()
/frameworks/base/libs/hwui/
DRecordingCanvas.h67 bool hasText() const { return mHasText; } in hasText() function
DRenderNode.cpp318 if (mDisplayList->hasText()) { in handleForceDark()
/frameworks/base/core/java/android/view/
DView.java9686 boolean hasText = text != null || info.getError() != null;
9687 if (hasText) {
9693 if (hasText) {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6829 method public deprecated boolean hasText();
29560 method public abstract boolean hasText();
/frameworks/base/non-updatable-api/
Dcurrent.txt9332 method @Deprecated public boolean hasText();
47029 method @Deprecated public abstract boolean hasText();
/frameworks/base/api/
Dcurrent.txt9332 method @Deprecated public boolean hasText();
47173 method @Deprecated public abstract boolean hasText();
/frameworks/base/config/
Dboot-image-profile.txt24548 HSPLcom/android/internal/view/menu/ActionMenuItemView;->hasText()Z