Home
last modified time | relevance | path

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

/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramItemViewTest.java161 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/
DSliceTester.java242 assertThat(hasText(sliceItems, title, HINT_TITLE)).isTrue(); in assertAnySliceItemContainsTitle()
254 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isTrue(); in assertAnySliceItemContainsSubtitle()
266 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isFalse(); in assertNoSliceItemContainsSubtitle()
269 private static boolean hasText(List<SliceItem> sliceItems, String text, String hints) { in hasText() method in SliceTester
270 boolean hasText = false; in hasText()
280 hasText = true; in hasText()
285 return hasText; in hasText()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DSmartActionsHelperTest.java211 MessageSubject.assertThat(messages.get(0)).hasText(MESSAGE); in testSuggest_nonMessageStyleMessageNotification()
245 MessageSubject.assertThat(firstMessage).hasText("firstMessage"); in testSuggest_messageStyle()
252 MessageSubject.assertThat(secondMessage).hasText("secondMessage"); in testSuggest_messageStyle()
259 MessageSubject.assertThat(thirdMessage).hasText("thirdMessage"); in testSuggest_messageStyle()
265 MessageSubject.assertThat(fourthMessage).hasText("fourthMessage"); in testSuggest_messageStyle()
523 private void hasText(String text) { in hasText() method in SmartActionsHelperTest.MessageSubject
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/
DMenuItemRenderer.java121 boolean hasText = !TextUtils.isEmpty(mMenuItem.getTitle()); in updateView()
127 || (!checkable && !hasIcon && !hasText)) { in updateView()
141 } else if (hasText && hasIcon && textAndIcon) { in updateView()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java328 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/
DConversationMessageData.java359 public boolean hasText() {
585 return (hasText() && in getCanCopyMessageToClipboard()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java649 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/
DConversationMessageView.java298 if (mData.hasText()) { in shouldShowMessageTextBubble()
467 || mData.hasText() || metadataVisible; in updateViewContent()
DConversationFragment.java347 Assert.isTrue(data.hasText());