Searched refs:hasText (Results 1 – 10 of 10) sorted by relevance
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/ |
D | ProgramItemViewTest.java | 161 assertThat(mPprogramItemView).hasText("a gap"); in setValue_noProgram() 170 assertThat(mPprogramItemView).hasText("No information"); in setValue_programNoTitle() 180 assertThat(mPprogramItemView).hasText("A good program"); in setValue_programTitle() 193 assertThat(mPprogramItemView).hasText("A good program"); in setValue_programDescriptionBlocked() 207 assertThat(mPprogramItemView).hasText("A good program\n\u200DThe one with an episode"); in setValue_programEpisode() 222 assertThat(mPprogramItemView).hasText("A good program\n\u200DThe one with an episode"); in setValue_programEpisodeAndDescrition() 239 assertThat(mPprogramItemView).hasText("A good program"); in setValue_scheduledConflict() 256 assertThat(mPprogramItemView).hasText("A good program"); in setValue_scheduled() 273 assertThat(mPprogramItemView).hasText("A good program"); in setValue_recordingInProgress()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | SliceTester.java | 245 assertThat(hasText(sliceItems, title, HINT_TITLE)).isTrue(); in assertAnySliceItemContainsTitle() 257 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isTrue(); in assertAnySliceItemContainsSubtitle() 269 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isFalse(); in assertNoSliceItemContainsSubtitle() 272 private static boolean hasText(List<SliceItem> sliceItems, String text, String hints) { in hasText() method in SliceTester 273 boolean hasText = false; in hasText() 283 hasText = true; in hasText() 288 return hasText; in hasText()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | SliceTester.java | 244 assertThat(hasText(sliceItems, title, HINT_TITLE)).isTrue(); in assertAnySliceItemContainsTitle() 256 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isTrue(); in assertAnySliceItemContainsSubtitle() 268 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isFalse(); in assertNoSliceItemContainsSubtitle() 271 private static boolean hasText(List<SliceItem> sliceItems, String text, String hints) { in hasText() method in SliceTester 272 boolean hasText = false; in hasText() 282 hasText = true; in hasText() 287 return hasText; in hasText()
|
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/ |
D | MenuItemView.java | 76 boolean hasText = !TextUtils.isEmpty(mMenuItem.getTitle()); in onMenuItemUpdated() 80 if (!mMenuItem.isVisible() || (!checkable && !hasIcon && !hasText)) { in onMenuItemUpdated() 91 } else if (hasText && hasIcon && textAndIcon) { in onMenuItemUpdated()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | MenuItemRenderer.java | 110 boolean hasText = !TextUtils.isEmpty(mMenuItem.getTitle()); in updateView() 116 || (!checkable && !hasIcon && !hasText)) { in updateView() 127 } else if (hasText && hasIcon && textAndIcon) { in updateView()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 328 boolean hasText = false; in makePduBody() 380 hasText = true; in makePduBody() 384 if (hasText) { in makePduBody() 394 hasNonVisualAttachment, hasText); in makePduBody() 601 final boolean hasNonVisualAttachments, final boolean hasText) { in getSmilTemplate() argument 603 return hasText ? sSmilVisualAttachmentsWithText : sSmilVisualAttachmentsOnly; in getSmilTemplate() 606 return hasText ? sSmilNonVisualAttachmentsWithText : sSmilNonVisualAttachmentsOnly; in getSmilTemplate()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationMessageData.java | 359 public boolean hasText() { 585 return (hasText() && in getCanCopyMessageToClipboard()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 649 String hasText = ""; in setText() local 651 hasText = "yes"; in setText() 655 hasText = "yes"; in setText() 660 hasText = "yes"; in setText() 662 hasText = "no"; in setText() 666 hasText = "yes"; in setText() 669 Log.d(TAG, "setText: " + hasText); in setText() 671 e.setText(hasText); in setText()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 298 if (mData.hasText()) { in shouldShowMessageTextBubble() 467 || mData.hasText() || metadataVisible; in updateViewContent()
|
D | ConversationFragment.java | 347 Assert.isTrue(data.hasText());
|