/frameworks/base/core/tests/coretests/src/android/widget/ |
SuggestionsPopupWindowTest.java | 93 setSuggestionSpan(suggestionSpan, text.indexOf('d'), text.indexOf('f') + 1); 111 setSuggestionSpan(suggestionSpan, text.indexOf('d'), text.indexOf('f') + 1); 113 onView(withId(R.id.textview)).perform(longPressOnTextAtIndex(text.indexOf('e'))); 133 setSuggestionSpan(suggestionSpan, text.indexOf('d'), text.indexOf('f') + 1); 135 onView(withId(R.id.textview)).perform(clickOnTextAtIndex(text.indexOf('e'))); 162 setSuggestionSpan(suggestionSpan, text.indexOf('d'), text.indexOf('f') + 1) [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
android-developer-docs.js | 30 if ((agent.indexOf("mobile") != -1) || // android, iphone, ipod 31 (agent.indexOf("blackberry") != -1) || 32 (agent.indexOf("webos") != -1) || 33 (agent.indexOf("mini") != -1)) { // opera mini browsers 37 } else if (agent.indexOf("msie 6") != -1) { 106 var index = document.cookie.indexOf(myCookie); 109 var valEnd = document.cookie.indexOf(";", valStart); 140 if (location.href.indexOf("/reference/") != -1) { 142 } else if (location.href.indexOf("/guide/") != -1) { 144 } else if (location.href.indexOf("/sdk/") != -1) [all...] |
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/ |
Os.java | 261 boolean isWindows = OS_NAME.indexOf(FAMILY_WINDOWS) > -1; 266 is9x = (OS_NAME.indexOf("95") >= 0 267 || OS_NAME.indexOf("98") >= 0 268 || OS_NAME.indexOf("me") >= 0 271 || OS_NAME.indexOf("ce") >= 0); 281 isFamily = OS_NAME.indexOf(FAMILY_OS2) > -1; 283 isFamily = OS_NAME.indexOf(FAMILY_NETWARE) > -1; 287 isFamily = OS_NAME.indexOf(FAMILY_MAC) > -1 288 || OS_NAME.indexOf(DARWIN) > -1; 290 isFamily = OS_NAME.indexOf("nonstop_kernel") > -1 [all...] |
/external/chromium-trace/catapult/tracing/tracing/extras/chrome/cc/ |
raster_task.html | 53 if (knownRasterTaskNames.indexOf(slice.title) !== -1) 59 if (knownAnalysisTaskNames.indexOf(slice.title) !== -1)
|
/external/chromium-trace/catapult/tracing/tracing/model/helpers/ |
chrome_renderer_helper.html | 23 if (t.name.indexOf('CompositorTileWorker') === 0) 25 if (t.name.indexOf('CompositorRasterWorker') === 0)
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSortedAsList.java | 45 // Override indexOf() and lastIndexOf() to be O(log N) instead of O(N). 50 return indexOf(target) >= 0;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/ |
ControllersTest.java | 109 public int indexOf (Controller controller) { 110 return Controllers.getControllers().indexOf(controller, true); 134 print("#" + indexOf(controller) + ", button " + buttonIndex + " down"); 140 print("#" + indexOf(controller) + ", button " + buttonIndex + " up"); 146 print("#" + indexOf(controller) + ", axis " + axisIndex + ": " + value); 152 print("#" + indexOf(controller) + ", pov " + povIndex + ": " + value); 158 print("#" + indexOf(controller) + ", x slider " + sliderIndex + ": " + value); 164 print("#" + indexOf(controller) + ", y slider " + sliderIndex + ": " + value);
|
/external/proguard/src/proguard/obfuscate/ |
MappingReader.java | 113 int arrowIndex = line.indexOf("->"); 119 int colonIndex = line.indexOf(':', arrowIndex + 2); 148 int colonIndex1 = line.indexOf(':'); 149 int colonIndex2 = colonIndex1 < 0 ? -1 : line.indexOf(':', colonIndex1 + 1); 150 int spaceIndex = line.indexOf(' ', colonIndex2 + 2); 151 int argumentIndex1 = line.indexOf('(', spaceIndex + 1); 152 int argumentIndex2 = argumentIndex1 < 0 ? -1 : line.indexOf(')', argumentIndex1 + 1); 153 int arrowIndex = line.indexOf("->", Math.max(spaceIndex, argumentIndex2) + 1);
|
/external/smali/util/src/main/java/org/jf/util/ |
NumberUtils.java | 85 int decimalPoint = asFloat.indexOf('.'); 86 int exponent = asFloat.indexOf("E"); 87 int zeros = asFloat.indexOf("000"); 91 int nines = asFloat.indexOf("999"); 127 int decimalPoint = asDouble.indexOf('.'); 128 int exponent = asDouble.indexOf("E"); 129 int zeros = asDouble.indexOf("000"); 133 int nines = asDouble.indexOf("999");
|
/frameworks/base/core/java/com/android/internal/alsa/ |
LineTokenizer.java | 36 if (mDelimiters.indexOf(line.charAt(offset)) == -1) { 49 if (mDelimiters.indexOf(line.charAt(offset)) != -1) {
|
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
CompilationResult.java | 38 return resultCode == 0 && output.indexOf(text) > 0; 42 return resultCode != 0 && error.indexOf(text) > 0;
|
/frameworks/support/documents-archive/src/android/support/provider/ |
ParsedDocumentId.java | 32 final int delimiterPosition = documentId.indexOf(idDelimiter); 42 return documentId.indexOf(idDelimiter) != -1;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
ArrayUtils.java | 31 return indexOf(array, value) != -1; 38 public static <T> int indexOf(T[] array, T value) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RenameResourceXmlTextActionTest.java | 82 int cursor = contents.indexOf('^'); 85 assertEquals(-1, contents.indexOf('^')); 86 assertEquals(-1, contents.indexOf('[')); 87 assertEquals(-1, contents.indexOf(']')); 98 int cursor = contents.indexOf('^'); 101 assertEquals(-1, contents.indexOf('^')); 102 assertEquals(-1, contents.indexOf('[')); 103 assertEquals(-1, contents.indexOf(']'));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
IPAddress.java | 57 && (pos = temp.indexOf('.', start)) > start) 85 int index = address.indexOf("/"); 95 int index = address.indexOf("/"); 139 && (pos = temp.indexOf(':', start)) >= start) 150 if (pos == (temp.length() - 1) && value.indexOf('.') > 0)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleDataTest.java | 54 if(fullLoc.toString().indexOf("_BZ") >= 0 || fullLoc.toString().indexOf("_CA") >= 0 || 55 fullLoc.toString().indexOf("_CL") >= 0 || fullLoc.toString().indexOf("_CO") >= 0 || 56 fullLoc.toString().indexOf("_CR") >= 0 || fullLoc.toString().indexOf("_GT") >= 0 || 57 fullLoc.toString().indexOf("_MX") >= 0 || fullLoc.toString().indexOf("_NI") >= 0 || 58 fullLoc.toString().indexOf("_PA") >= 0 || fullLoc.toString().indexOf("_PH") >= 0 | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleDataTest.java | 50 if(fullLoc.toString().indexOf("_BZ") >= 0 || fullLoc.toString().indexOf("_CA") >= 0 || 51 fullLoc.toString().indexOf("_CL") >= 0 || fullLoc.toString().indexOf("_CO") >= 0 || 52 fullLoc.toString().indexOf("_CR") >= 0 || fullLoc.toString().indexOf("_GT") >= 0 || 53 fullLoc.toString().indexOf("_MX") >= 0 || fullLoc.toString().indexOf("_NI") >= 0 || 54 fullLoc.toString().indexOf("_PA") >= 0 || fullLoc.toString().indexOf("_PH") >= 0 | [all...] |
/external/proguard/src/proguard/ |
ClassMemberChecker.java | 136 (string.indexOf('!') >= 0 || 137 string.indexOf('*') >= 0 || 138 string.indexOf('?') >= 0 || 139 string.indexOf(',') >= 0 || 140 string.indexOf("///") >= 0);
|
FullyQualifiedClassNameChecker.java | 185 (string.indexOf('!') >= 0 || 186 string.indexOf('*') >= 0 || 187 string.indexOf('?') >= 0 || 188 string.indexOf(',') >= 0 || 189 string.indexOf("///") >= 0);
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtilsTest.java | 80 return re.substring(0, re.indexOf("x")); [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
WriteIndicCharts.java | 106 if(UCharacter.getExtendedName(UTF16.charAt(temp[k],0)).indexOf("unassigned")<0 || 107 temp[k].indexOf(":UNASSIGNED")<0){ 121 if(temp[j].indexOf(":FALLBACK")>=0){ 122 str = temp[j].substring(0,temp[j].indexOf(":")); 126 if(temp[j].indexOf(":UNASSIGNED")>=0){ 127 str = temp[j].substring(0,temp[j].indexOf(":")); 131 if(temp[j].indexOf(":UNMAPPED")>=0){ 132 str = temp[j].substring(0,temp[j].indexOf(":")); 135 if(temp[j].indexOf(":CONSUMED")>=0){ 136 str = temp[j].substring(0,temp[j].indexOf(":")) [all...] |
/external/okhttp/okio/okio/src/test/java/okio/ |
BufferedSourceTest.java | 429 @Test public void indexOf() throws Exception { 431 assertEquals(-1, source.indexOf((byte) 'a')); 435 assertEquals(0, source.indexOf((byte) 'a')); 436 assertEquals(-1, source.indexOf((byte) 'b')); 440 assertEquals(0, source.indexOf((byte) 'a')); 441 assertEquals(1, source.indexOf((byte) 'b')); 442 assertEquals(-1, source.indexOf((byte) 'c')); 446 assertEquals(-1, source.indexOf((byte) 'a')); 447 assertEquals(0, source.indexOf((byte) 'b')); 448 assertEquals(-1, source.indexOf((byte) 'c')) [all...] |
/external/opencv3/modules/videostab/src/ |
fast_marching.cpp | 87 std::swap(indexOf(narrowBand_[p]), indexOf(narrowBand_[idx])); 111 std::swap(indexOf(narrowBand_[idx]), indexOf(narrowBand_[smallest])); 124 indexOf(dxy) = size_++; 134 std::swap(indexOf(narrowBand_[0]), indexOf(narrowBand_[size_]));
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/ |
ScopedException.java | 107 int msgStart = output.indexOf(MSG_KEY); 111 int fileStart = output.indexOf(FILE_KEY, msgStart + MSG_KEY.length()); 116 int locStart = output.indexOf(LOCATION_KEY, fileStart + FILE_KEY.length()); 123 nextLoc = output.indexOf(LOCATION_KEY, locStart + LOCATION_KEY.length()); 146 int index = output.indexOf(ERROR_LOG_PREFIX); 149 int end = output.indexOf(ERROR_LOG_SUFFIX, index + ERROR_LOG_PREFIX.length()); 156 index = output.indexOf(ERROR_LOG_PREFIX, end + ERROR_LOG_SUFFIX.length());
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t017parser.html | 46 assertEquals(parser.reportedErrors[0].indexOf("line 1:16"), 0); 57 assertEquals(parser.reportedErrors[0].indexOf("line 1:14"), 0); 58 assertEquals(parser.reportedErrors[1].indexOf("line 1:20"), 0);
|