HomeSort by relevance Sort by last modified time
    Searched refs:hasText (Results 1 - 25 of 54) sorted by null

1 2 3

  /frameworks/base/core/java/android/text/
ClipboardManager.java 40 public abstract boolean hasText();
  /cts/tests/tests/text/src/android/text/cts/
ClipboardManagerTest.java 45 assertFalse(mClipboardManager.hasText());
48 assertTrue(mClipboardManager.hasText());
51 assertFalse(mClipboardManager.hasText());
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/text/
TestClipboardManager.java 18 public boolean hasText() {
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ClipboardManagerTest.java 34 assertFalse(clipboardManager.hasText());
40 assertFalse(clipboardManager.hasText());
46 assertTrue(clipboardManager.hasText());
52 assertTrue(clipboardManager.hasText());
AdapterViewBehavior.java 12 import static com.xtremelabs.robolectric.matchers.TextViewHasTextMatcher.hasText;
67 assertThat((TextView) adapterView.getChildAt(0), hasText("Item 0"));
68 assertThat((TextView) adapterView.getChildAt(1), hasText("Item 1"));
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowClipboardManager.java 22 public boolean hasText() {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
ViewHasTextMatcher.java 54 public static <T extends View> Matcher<T> hasText(String expectedTextViewText) {
59 public static <T extends View> Matcher<T> hasText(int expectedTextViewResourceId) {
TextViewHasTextMatcher.java 39 public static <T extends TextView> Matcher<T> hasText(String expectedTextViewText) {
  /external/webkit/Source/WebCore/platform/qt/
DragDataQt.cpp 81 return m_platformDragData->hasText() || m_platformDragData->hasUrls();
107 return containsColor() || containsURL(0) || m_platformDragData->hasHtml() || m_platformDragData->hasText();
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java 174 public boolean hasText() {
215 return hasText() && mItemData.getIcon() == null;
219 return hasText();
224 if (hasText()) {
260 final boolean textVisible = hasText();
ActionMenuView.java 183 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
364 final boolean hasText = itemView != null && itemView.hasText();
367 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) {
375 if (hasText && cellsUsed < 2) cellsUsed = 2;
378 final boolean expandable = !lp.isOverflowButton && hasText;
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuItemView.java 149 public boolean hasText() {
169 return hasText() && mItemData.getIcon() == null;
173 return hasText();
178 if (hasText()) {
209 final boolean textVisible = hasText();
ActionMenuView.java 185 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText();
386 final boolean hasText = itemView != null && itemView.hasText();
389 if (cellsRemaining > 0 && (!hasText || cellsRemaining >= 2)) {
399 if (hasText && cellsUsed < 2) {
404 final boolean expandable = !lp.isOverflowButton && hasText;
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
InspectorCanvas.h 52 bool hasText() {return m_hasText;}
  /external/webkit/Source/WebCore/platform/gtk/
DataObjectGtk.h 47 bool hasText() { return m_range || !m_text.isEmpty(); }
DragDataGtk.cpp 51 return m_platformDragData->hasText();
DataObjectGtk.cpp 137 if (hasText())
  /libcore/luni/src/main/java/java/text/
RuleBasedBreakIterator.java 48 if (!wrapped.hasText()) {
  /external/webkit/Source/WebCore/platform/graphics/android/layers/
PictureLayerContent.cpp 71 m_hasText = checker.hasText();
  /frameworks/base/core/java/android/content/
ClipboardManager.java 214 public boolean hasText() {
  /packages/apps/Mms/src/com/android/mms/model/
SmilHelper.java 203 boolean hasText = false;
207 if ((par == null) || (hasMedia && hasText)) {
209 hasText = false;
226 hasText = true;
  /frameworks/base/core/java/android/widget/
SearchView.java 752 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
755 updateSubmitButton(hasText);
759 updateVoiceButton(!hasText);
784 private void updateSubmitButton(boolean hasText) {
787 && (hasText || !mVoiceButtonEnabled)) {
804 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
807 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView);
809 mCloseButton.getDrawable().setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET);
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
SearchView.java 776 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
779 updateSubmitButton(hasText);
783 updateVoiceButton(!hasText);
808 private void updateSubmitButton(boolean hasText) {
811 && (hasText || !mVoiceButtonEnabled)) {
828 final boolean hasText = !TextUtils.isEmpty(mQueryTextView.getText());
831 final boolean showClose = hasText || (mIconifiedByDefault && !mExpandedInActionView);
833 mCloseButton.getDrawable().setState(hasText ? ENABLED_STATE_SET : EMPTY_STATE_SET);
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ClipboardManagerTest.java 144 assertTrue(mClipboardManager.hasText());
146 assertFalse(mClipboardManager.hasText());
  /external/skia/include/pdf/
SkPDFDevice.h 242 bool hasText,
252 bool hasText,

Completed in 2143 milliseconds

1 2 3