OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:caretDelta
(Results
1 - 4
of
4
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RefactoringAssistantTest.java
62
int
caretDelta
= caretLocation.indexOf("^");
63
assertTrue(caretLocation,
caretDelta
!= -1);
64
String caretContext = caretLocation.substring(0,
caretDelta
)
65
+ caretLocation.substring(
caretDelta
+ "^".length());
69
final int offset = caretContextIndex +
caretDelta
;
AdtProjectTest.java
349
int
caretDelta
= caretLocation.indexOf("^"); //$NON-NLS-1$
350
assertTrue(caretLocation,
caretDelta
!= -1);
359
caretDelta
--;
360
assertTrue(caretLocation, caretLocation.startsWith("[^",
caretDelta
)); //$NON-NLS-1$
362
int caretRangeEnd = caretLocation.indexOf(']',
caretDelta
+ 2);
364
length = caretRangeEnd -
caretDelta
- 2;
366
caretContext = caretLocation.substring(0,
caretDelta
)
367
+ caretLocation.substring(
caretDelta
+ 2, caretRangeEnd)
370
caretContext = caretLocation.substring(0,
caretDelta
)
371
+ caretLocation.substring(
caretDelta
+ 1); // +1: skip "^
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/formatting/
EclipseXmlPrettyPrinterTest.java
104
int
caretDelta
= caretLocation.indexOf("^"); //$NON-NLS-1$
105
assertTrue(caretLocation,
caretDelta
!= -1);
107
String caretContext = caretLocation.substring(0,
caretDelta
)
108
+ caretLocation.substring(
caretDelta
+ 1); // +1: skip "^"
112
return caretContextIndex +
caretDelta
;
[
all
...]
/prebuilts/devtools/adt/lib/
sdktestutils.jar
Completed in 34 milliseconds