/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/ |
D | AppListTest.kt | 26 import androidx.compose.ui.test.hasText in <lambda>() 59 matcher = hasText(OPTION_0), in <lambda>() 70 matcher = hasText(OPTION_0), in <lambda>() 85 matcher = hasText(context.getString(R.string.no_applications)), in <lambda>() 95 matcher = hasText(APP_ENTRY_A.label), in <lambda>() 105 matcher = hasText(HEADER), in <lambda>() 123 matcher = hasText(GROUP_A), in <lambda>()
|
D | AppInfoTest.kt | 26 import androidx.compose.ui.test.hasText 56 composeTestRule.waitUntilExists(hasText(LABEL)) in appInfoLabel_isDisplayed()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/lifecycle/ |
D | FlowExtTest.kt | 20 import androidx.compose.ui.test.hasText 44 composeTestRule.waitUntilExists(hasText(TEXT)) in collectAsCallbackWithLifecycle() 57 composeTestRule.waitUntilExists(hasText(NEW_TEXT)) in collectAsCallbackWithLifecycle_changed()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/compose/ |
D | NavControllerWrapperTest.kt | 24 import androidx.compose.ui.test.hasText 66 composeTestRule.waitUntilExists(hasText(ROUTE_A)) in navigate_canNavigateBack() 84 composeTestRule.waitUntilExists(hasText(ROUTE_A)) in navigate_canNavigateAndPopUpCurrent()
|
D | OnBackEffectTest.kt | 23 import androidx.compose.ui.test.hasText 56 composeTestRule.waitUntilExists(hasText(ROUTE_A)) in onBackEffect()
|
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/ |
D | MovableElementTest.kt | 38 import androidx.compose.ui.test.hasText 105 hasText("count: 3") and in modifierElementIsDuplicatedDuringTransitions() 113 hasText("count: 0") and in modifierElementIsDuplicatedDuringTransitions() 209 hasText("count: 3") and in movableElementIsMovedAndComposedOnlyOnce() 230 hasText("count: 3") and in movableElementIsMovedAndComposedOnlyOnce()
|
D | ElementTest.kt | 56 import androidx.compose.ui.test.hasText in <lambda>() 1609 rule.onNode(hasText(fooInA)).assertIsDisplayed() in <lambda>() 1610 rule.onNode(hasText(fooInB)).assertDoesNotExist() in <lambda>() 1620 rule.onNode(hasText(fooInA)).assertDoesNotExist() in <lambda>() 1621 rule.onNode(hasText(fooInB)).assertIsDisplayed() in <lambda>() 1628 rule.onNode(hasText(fooInA)).assertIsDisplayed() in <lambda>() 1629 rule.onNode(hasText(fooInB)).assertDoesNotExist() in <lambda>()
|
/frameworks/base/libs/hwui/ |
D | DisplayList.h | 144 [[nodiscard]] bool hasText() const { in hasText() function 145 return mImpl && mImpl->hasText(); in hasText() 170 bool hasText() const { return false; } in hasText() function 316 [[nodiscard]] bool hasText() const { in hasText() function 317 return apply([](const auto& it) -> auto { return it.hasText(); }); in hasText()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/editor/ |
D | SettingsDropdownCheckBoxTest.kt | 23 import androidx.compose.ui.test.hasText 142 onNode(hasRole(Role.DropdownList) and hasText(text)) 145 onNode(hasAnyAncestor(isPopup()) and hasText(option.text))
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuItemView.java | 235 public boolean hasText() { in hasText() method in ActionMenuItemView 275 return hasText() && mItemData.getIcon() == null; in needsDividerBefore() 279 return hasText(); in needsDividerAfter() 284 final boolean textVisible = hasText(); in onMeasure()
|
/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/ |
D | ComposeContentTestRuleExt.kt | 30 import androidx.compose.ui.test.hasText 56 onNode(hasAnyAncestor(isDialog()) and hasText(text)) in ComposeContentTestRule()
|
/frameworks/base/core/java/android/text/ |
D | ClipboardManager.java | 40 public abstract boolean hasText(); in hasText() method in ClipboardManager
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaDisplayList.h | 98 bool hasText() const { return mDisplayList.hasText(); } in hasText() function
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/ |
D | ActionButtonViewBinder.kt | 65 private fun setMargins(iconView: View, textView: View, hasText: Boolean) { in setMargins() 68 if (hasText) { in setMargins()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | OverlayActionChip.java | 120 private void updatePadding(boolean hasText) { in updatePadding() argument 125 if (hasText) { in updatePadding()
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 231 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()
|
D | SearchView.java | 907 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/layoutlib/bridge/src/android/content/ |
D | ClipboardManager.java | 122 public boolean hasText() { in hasText() method in ClipboardManager
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/ |
D | BrowseActivityTest.kt | 21 import androidx.compose.ui.test.hasText 132 composeTestRule.waitUntilExists(hasText(SppDialog.CONTENT)) in browseContent_dialog()
|
/frameworks/base/libs/hwui/canvas/ |
D | CanvasOpBuffer.h | 107 [[nodiscard]] bool hasText() const { return mHas.text; } in hasText() function
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollingTabContainerView.java | 463 final boolean hasText = !TextUtils.isEmpty(text); in update() 464 if (hasText) { in update() 486 setTooltipText(hasText? null : tab.getContentDescription()); in update()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | RenderNodeTests.cpp | 346 EXPECT_FALSE(rootNode.get()->getDisplayList().hasText()); in TEST() 360 EXPECT_FALSE(rootNode.get()->getDisplayList().hasText()); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSliceView.java | 447 boolean hasText = !TextUtils.isEmpty(getText()); in updatePadding() 451 setPadding(0, padding, 0, hasText ? padding : 0); in updatePadding()
|
/frameworks/base/core/java/android/content/ |
D | ClipboardManager.java | 365 public boolean hasText() { in hasText() method in ClipboardManager
|
D | ClipData.java | 659 boolean hasText = false; in coerceToHtmlOrStyledText() 665 hasText = true; in coerceToHtmlOrStyledText() 671 if (hasHtml || hasText) { in coerceToHtmlOrStyledText()
|