/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TextUtilsTest.java | 3 import android.text.TextUtils; 18 (String) TextUtils.expandTemplate("a^1b^2c^3d", "A", "B", "C", "D"), in testExpandTemplate() 24 assertThat(TextUtils.isEmpty(null), equalTo(true)); in testIsEmpty() 25 assertThat(TextUtils.isEmpty(""), equalTo(true)); in testIsEmpty() 26 assertThat(TextUtils.isEmpty(" "), equalTo(false)); in testIsEmpty() 27 assertThat(TextUtils.isEmpty("123"), equalTo(false)); in testIsEmpty() 31 assertThat(TextUtils.join(",", new String[] { "1" }), equalTo("1")); in testJoin() 32 assertThat(TextUtils.join(",", new String[] { "1", "2", "3" }), equalTo("1,2,3")); in testJoin() 33 assertThat(TextUtils.join(",", Arrays.asList("1", "2", "3")), equalTo("1,2,3")); in testJoin() 38 assertThat(TextUtils.isDigitsOnly("123456"), equalTo(true)); in testIsDigitsOnly() [all …]
|
/external/smali/util/src/test/java/org/jf/util/ |
D | TextUtilsTest.java | 40 Assert.assertEquals("", TextUtils.stripComments("#world")); in testStripComments() 41 Assert.assertEquals("hello", TextUtils.stripComments("hello#world")); in testStripComments() 42 … Assert.assertEquals("multi\nline", TextUtils.stripComments("multi#hello world\nline#world")); in testStripComments() 47 Assert.assertEquals("", TextUtils.normalizeWhitespace(" ")); in testNormalizeWhitespace() 48 Assert.assertEquals("hello", TextUtils.normalizeWhitespace("hello ")); in testNormalizeWhitespace() 49 Assert.assertEquals("hello", TextUtils.normalizeWhitespace(" hello")); in testNormalizeWhitespace() 50 Assert.assertEquals("hello", TextUtils.normalizeWhitespace(" hello ")); in testNormalizeWhitespace() 51 Assert.assertEquals("hello\nworld", TextUtils.normalizeWhitespace("hello \n \n world")); in testNormalizeWhitespace()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
D | GlideUrl.java | 4 import android.text.TextUtils; 39 if (TextUtils.isEmpty(url)) { in GlideUrl() 67 if (TextUtils.isEmpty(stringUrl)) { in toString()
|
/external/droiddriver/src/io/appium/droiddriver/validators/ |
D | DefaultAccessibilityValidator.java | 20 import android.text.TextUtils; 88 return !TextUtils.isEmpty(element.getContentDescription()) in hasContentDescriptionOrText() 89 || !TextUtils.isEmpty(element.getText()); in hasContentDescriptionOrText()
|
D | ExemptedClassesValidator.java | 19 import android.text.TextUtils; 37 if (TextUtils.isEmpty(className)) { in isApplicable()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowSmsManager.java | 5 import android.text.TextUtils; 30 if (TextUtils.isEmpty(destinationAddress)) in sendTextMessage() 33 if (TextUtils.isEmpty(text)) in sendTextMessage()
|
D | ShadowAccount.java | 6 import android.text.TextUtils; 54 … if (TextUtils.isEmpty(name) || TextUtils.isEmpty(type)) throw new IllegalArgumentException(); in set()
|
D | ShadowEditText.java | 5 import android.text.TextUtils; 33 if ( !TextUtils.isEmpty(str) && str.length() > maxLength) { in setText()
|
D | ShadowPreferenceGroup.java | 7 import android.text.TextUtils; 67 if (TextUtils.equals(getKey(), key)) { in findPreference()
|
D | ShadowTextUtils.java | 3 import android.text.TextUtils; 11 @Implements(TextUtils.class)
|
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
D | AnalysisTest.java | 43 import org.jf.util.TextUtils; 109 Assert.assertEquals(TextUtils.normalizeWhitespace(smaliContents), in runTest() 110 TextUtils.normalizeWhitespace((stringWriter.toString()))); in runTest()
|
D | BaksmaliTestUtils.java | 42 import org.jf.util.TextUtils; 78 smaliText = TextUtils.stripComments(smaliText); in normalizeSmali() 80 return TextUtils.normalizeWhitespace(smaliText); in normalizeSmali()
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | XPaths.java | 19 import android.text.TextUtils; 134 sb.append(TextUtils.join("\",'\"',\"", value.split("\""))); in quoteXPathLiteral()
|
D | Predicates.java | 19 import android.text.TextUtils; 115 return "allOf(" + TextUtils.join(", ", components) + ")"; 141 return "anyOf(" + TextUtils.join(", ", components) + ")";
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | Logs.java | 19 import android.text.TextUtils; 37 TextUtils.join(", ", args))); in call()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
D | BaseGlideUrlLoader.java | 4 import android.text.TextUtils; 50 if (TextUtils.isEmpty(stringURL)) { in getResourceFetcher()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | HttpUrlFetcher.java | 3 import android.text.TextUtils; 74 if (TextUtils.isEmpty(redirectUrlString)) { in loadDataWithRedirects()
|
D | MediaStoreThumbFetcher.java | 8 import android.text.TextUtils; 139 if (!TextUtils.isEmpty(path)) { in open()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/ |
D | TelephonyTestProvider.java | 24 import android.text.TextUtils; 88 int mode = (TextUtils.equals(fileMode, "r") ? ParcelFileDescriptor.MODE_READ_ONLY : in openFile()
|
/external/opencv3/platforms/android/service/engine/src/org/opencv/engine/ |
D | HardwareDetector.java | 12 import android.text.TextUtils; 36 return Arrays.asList(TextUtils.split(f, " ")); in getFlags()
|
D | OpenCVEngineService.java | 10 import android.text.TextUtils; 85 return TextUtils.join(";", files); in getFileList()
|
/external/opencv3/platforms/android/service/engine/src/org/opencv/engine/manager/ |
D | ManagerActivity.java | 16 import android.text.TextUtils; 64 + TextUtils.join(";", HardwareDetector.getFlags()) in onCreate()
|
/external/droiddriver/src/io/appium/droiddriver/base/ |
D | BaseUiElement.java | 21 import android.text.TextUtils; 216 if (TextUtils.isEmpty(text)) { in setText() 225 if (TextUtils.isEmpty(text)) { in clearText()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/ |
D | MenuLoader.java | 15 import android.text.TextUtils; 87 return TextUtils.isEmpty(nodei.getNodeName()) in childToIgnore()
|
/external/smali/util/src/main/java/org/jf/util/ |
D | TextUtils.java | 38 public class TextUtils { class
|