/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RefactoringUtil.java | 134 text = document.get(region.getStartOffset(), 135 region.getEndOffset() - region.getStartOffset()); 142 return region.getStartOffset() + index; 162 text = document.get(region.getStartOffset(), 163 region.getEndOffset() - region.getStartOffset()); 169 return region.getStartOffset() + index;
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
LayoutAnimationControllerTest.java | 88 assertEquals(0, childAnimation1.getStartOffset()); 89 assertEquals(500, childAnimation2.getStartOffset()); 90 assertEquals(1000, childAnimation3.getStartOffset()); 133 assertEquals(1000, childAnimation1.getStartOffset()); 134 assertEquals(500, childAnimation2.getStartOffset()); 135 assertEquals(0, childAnimation3.getStartOffset()); 176 long offsetTime1 = childAnimation1.getStartOffset(); 177 long offsetTime2 = childAnimation2.getStartOffset(); 178 long offsetTime3 = childAnimation3.getStartOffset(); 274 long baseTime = animation.getStartTime() + animation.getStartOffset(); [all...] |
GridLayoutAnimationControllerTest.java | 122 long offsetTime1 = child1.getStartOffset(); 123 long offsetTime2 = child2.getStartOffset(); 124 long offsetTime3 = child3.getStartOffset(); 190 assertEquals(1000, childAnimation1.getStartOffset()); 191 assertEquals(500, childAnimation4.getStartOffset()); 192 assertEquals(0, childAnimation7.getStartOffset()); 238 assertEquals(0, childAnimation1.getStartOffset()); 239 assertEquals(500, childAnimation4.getStartOffset()); 240 assertEquals(1000, childAnimation7.getStartOffset()); 352 assertEquals(500, childAnimation2.getStartOffset()); [all...] |
AnimationSetTest.java | 180 assertEquals(restrictDuration, children.get(0).getStartOffset()); 238 assertEquals(0, animationSet.getStartOffset()); 242 originStartOffset[i] = children.get(i).getStartOffset(); 247 assertEquals(100, animationSet.getStartOffset()); 250 assertEquals(originStartOffset[i] + animationSet.getStartOffset(), 251 children.get(i).getStartOffset()); 259 assertEquals(originStartOffset[i], children.get(i).getStartOffset());
|
AnimationTest.java | 332 assertEquals(0, animation.getStartOffset()); 343 assertEquals(startOffset, animation.getStartOffset()); 510 assertEquals(500, animation.getStartOffset()); 642 assertEquals(myAnimation.getStartOffset(), cloneAnimation.getStartOffset());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidDoubleClickStrategy.java | 45 int cursor = fCaretPosition - fStructuredDocumentRegion.getStartOffset(fTextRegion); 49 fTextViewer.setSelectedRange(fStructuredDocumentRegion.getStartOffset(fTextRegion)
|
AndroidXmlCharacterMatcher.java | 86 (subRegion.getStart() + region.getStartOffset() == offset)) { 121 int target = findTagForwards(doc, subRegion.getStart() + region.getStartOffset(), 0); 129 int target = findTagBackwards(doc, subRegion.getStart() + region.getStartOffset(), -1); 154 int regionStart = region.getStartOffset(); 205 int regionStart = region.getStartOffset();
|
AndroidXmlAutoEditStrategy.java | 199 int regionStart = region.getStartOffset(); 232 previous.getStartOffset() + last.getStart(), 0); 409 while (region != null && region.getStartOffset() < end) { 410 int regionStart = region.getStartOffset();
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptorTest.java | 157 // test getStartOffset() 158 assertEquals(START_OFFSET, mAssetFileDes.getStartOffset()); 171 assertEquals(out.getStartOffset(), mAssetFileDes.getStartOffset());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
EclipseXmlFormatPreferences.java | 81 return region1.getStartOffset() - region2.getStartOffset();
|
AndroidXmlFormattingStrategy.java | 195 int startOffset = startRegion.getStartOffset(); 208 int endOffset = Math.max(endRegion.getStartOffset(), 218 && currentIndexedRegion.getStartOffset() == end && end > 0) { 222 currentIndexedRegion.getStartOffset()); 259 openTagEnd = subRegion.getEnd() + endRegion.getStartOffset(); 298 replaceStart = ((IndexedRegion) startNode).getStartOffset(); 715 int lineStart = findLineStart(mDocument, region.getStartOffset()); 721 if (textStart == region.getStartOffset()) { [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerSurfaceStubActivity.java | 46 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
|
MediaMuxerTest.java | 166 extractor.setDataSource(srcFd.getFileDescriptor(), srcFd.getStartOffset(), 281 testFd.getStartOffset(), testFd.getLength()); 327 testFd.getStartOffset(), testFd.getLength());
|
MediaPlayerTestBase.java | 148 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), 167 mMediaPlayer.addTimedTextSource(afd.getFileDescriptor(), afd.getStartOffset(),
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
VariableSpeedNative.java | 48 VariableSpeedNative.playFileDescriptor(fd, afd.getStartOffset(), afd.getLength());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AnimationTest.java | 115 assertThat(animation.getStartOffset(), not(equalTo(500l))); 117 assertThat(animation.getStartOffset(), equalTo(500l));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
TimerRingService.java | 136 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 179 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(),
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadataTest.java | 71 int length = region.getEndOffset() - region.getStartOffset(); 72 return document.get(region.getStartOffset(), length);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAnimation.java | 103 public long getStartOffset() {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeViewRefactoring.java | 172 String text = getText(region.getStartOffset(), region.getEndOffset()); 182 rootEdit.addChild(new ReplaceEdit(region.getStartOffset() + open, 187 rootEdit.addChild(new ReplaceEdit(region.getStartOffset() + close, oldLength, 201 int skipStart = range.getStartOffset();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
ObsoleteLayoutParamsFix.java | 61 if (region.getStartOffset() == start) {
|
TypographyFix.java | 72 document.replace(edit.offset + region.getStartOffset(),
|
/frameworks/base/core/java/android/content/res/ |
AssetFileDescriptor.java | 108 public long getStartOffset() { 206 super.skip(fd.getStartOffset()); 293 if (fd.getParcelFileDescriptor().seekTo(fd.getStartOffset()) < 0) {
|
/frameworks/base/core/java/android/view/animation/ |
AnimationSet.java | 237 mDuration = a.getStartOffset() + a.getDuration(); 240 mLastEnd = Math.max(mLastEnd, a.getStartOffset() + a.getDuration()); 351 if (!a.isFillEnabled() || a.getFillBefore() || a.getStartOffset() == 0) { 478 long offset = a.getStartOffset();
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
PinyinDecoderService.java | 136 .i("foo", "Dict: start=" + afd.getStartOffset() 142 .getStartOffset(), afd.getLength(), usr_dict);
|