/libcore/luni/src/main/java/java/text/ |
ParsePosition.java | 27 private int currentPosition, errorIndex = -1; 36 currentPosition = index; 57 return currentPosition == pos.currentPosition 76 return currentPosition; 81 return currentPosition + errorIndex; 101 currentPosition = index; 111 return getClass().getName() + "[index=" + currentPosition
|
/external/smack/src/org/jivesoftware/smackx/workgroup/user/ |
QueueListener.java | 43 * @param currentPosition the user's current position in the queue.
45 public void queuePositionUpdated(int currentPosition);
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
MemoryDeferredOutputStream.java | 18 private int currentPosition; 32 if (currentPosition > 0) { 33 output.write(currentBuffer, 0, currentPosition); 36 currentPosition = 0; 43 currentPosition = 0; 45 currentBuffer[currentPosition++] = (byte)i; 57 System.arraycopy(bytes, offset + written, currentBuffer, currentPosition, toWrite); 59 currentPosition += toWrite; 65 currentPosition = 0; 72 return currentBuffer.length - currentPosition; [all...] |
/developers/build/prebuilts/gradle/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
SampleTests.java | 93 int currentPosition = spinner2.getSelectedItemPosition(); 94 assertEquals(TEST_SPINNER_POSITION_1, currentPosition); 119 currentPosition = spinner3.getSelectedItemPosition(); 120 assertEquals(TEST_SPINNER_POSITION_2, currentPosition);
|
/developers/samples/android/testing/ActivityInstrumentation/Application/tests/src/com/example/android/activityinstrumentation/ |
SampleTests.java | 93 int currentPosition = spinner2.getSelectedItemPosition(); 94 assertEquals(TEST_SPINNER_POSITION_1, currentPosition); 119 currentPosition = spinner3.getSelectedItemPosition(); 120 assertEquals(TEST_SPINNER_POSITION_2, currentPosition);
|
/external/easymock/src/org/easymock/internal/ |
Results.java | 46 int currentPosition = 0;
53 currentPosition += interval.getMaximum();
54 if (currentPosition > callCount) {
|
/external/replicaisland/src/com/replica/replicaisland/ |
SelectDialogComponent.java | 43 final Vector2 currentPosition = parentObject.getPosition(); 45 mLastPosition.set(currentPosition); 47 final int hitSpot = hotSpot.getHotSpot(parentObject.getCenteredPositionX(), currentPosition.y + 10);
|
BackgroundCollisionComponent.java | 324 protected boolean sweepHorizontal(Vector2 previousPosition, Vector2 currentPosition, Vector2 delta, 346 mTestPointEnd.set(currentPosition); 351 currentPosition.x = (hitPoint.x + offset); 359 protected boolean sweepVertical(Vector2 previousPosition, Vector2 currentPosition, Vector2 delta, 378 mTestPointEnd.set(currentPosition); 384 currentPosition.y = (hitPoint.y + offset);
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
ObjectCursor.java | 61 final int currentPosition = c.getPosition(); 63 final T prev = mCache.get(currentPosition); 69 mCache.put(currentPosition, model);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 106 int currentPosition = 0; 123 currentPosition = mp.getCurrentPosition(); 126 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); 127 //The currentposition should be within 10% of the sleep time 130 if (currentPosition < 1000 ) 133 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) 141 int currentPosition = 0; 149 currentPosition = mp.getCurrentPosition(); 155 Log.v(TAG, "CurrentPosition = " + currentPosition) [all...] |
/development/samples/SpinnerTest/src/com/android/example/spinner/test/ |
SpinnerActivityTest.java | 269 int currentPosition = mActivity.getSpinnerPosition(); 274 assertEquals(TEST_STATE_DESTROY_POSITION, currentPosition); 335 int currentPosition = mActivity.getSpinnerPosition(); 339 assertEquals(TEST_STATE_PAUSE_POSITION,currentPosition);
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
CodecTest.java | 98 int currentPosition = 0; 115 currentPosition = mp.getCurrentPosition(); 118 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); 120 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) 128 int currentPosition = 0; 136 currentPosition = mp.getCurrentPosition(); 142 Log.v(TAG, "CurrentPosition = " + currentPosition); 143 //The currentposition should be at least greater than the 80% of seek tim [all...] |
/external/chromium_org/third_party/skia/tests/ |
FrontBufferedStreamTest.cpp | 220 size_t currentPosition = bufferedStream->getPosition(); 221 REPORTER_ASSERT(reporter, 0 == currentPosition); 223 // Read the stream in chunks. After each read, the position must match currentPosition, 225 // Importantly, the end should not have been reached until currentPosition == bufferedLength. 226 while (currentPosition < bufferedLength) { 228 test_read(reporter, bufferedStream, gAbcs + arbitraryOffset + currentPosition, 230 currentPosition = SkTMin(currentPosition + amountToRead, bufferedLength); 231 REPORTER_ASSERT(reporter, bufferedStream->getPosition() == currentPosition); 234 REPORTER_ASSERT(reporter, bufferedLength == currentPosition); [all...] |
/external/skia/tests/ |
FrontBufferedStreamTest.cpp | 220 size_t currentPosition = bufferedStream->getPosition(); 221 REPORTER_ASSERT(reporter, 0 == currentPosition); 223 // Read the stream in chunks. After each read, the position must match currentPosition, 225 // Importantly, the end should not have been reached until currentPosition == bufferedLength. 226 while (currentPosition < bufferedLength) { 228 test_read(reporter, bufferedStream, gAbcs + arbitraryOffset + currentPosition, 230 currentPosition = SkTMin(currentPosition + amountToRead, bufferedLength); 231 REPORTER_ASSERT(reporter, bufferedStream->getPosition() == currentPosition); 234 REPORTER_ASSERT(reporter, bufferedLength == currentPosition); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMediaPlayer.java | 23 private int currentPosition; 119 return currentPosition; 123 currentPosition = position;
|
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
ScrollAnimator.h | 74 FloatPoint currentPosition() const;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/ |
MediaPlayerApiTest.java | 109 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3CBR); 110 assertTrue("MP3CBR GetCurrentPosition", currentPosition); 115 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3VBR); 116 assertTrue("MP3VBR GetCurrentPosition", currentPosition); 121 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MIDI); 122 assertTrue("MIDI GetCurrentPosition", currentPosition); 127 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.AMR); 128 assertTrue("AMR GetCurrentPosition", currentPosition); 133 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.OGG); 134 assertTrue("OGG GetCurrentPosition", currentPosition); [all...] |
/frameworks/base/core/java/android/speech/tts/ |
BlockingAudioTrack.java | 278 int currentPosition = 0; 281 while ((currentPosition = audioTrack.getPlaybackHeadPosition()) < lengthInFrames && 284 final long estimatedTimeMs = ((lengthInFrames - currentPosition) * 1000) / 291 if (currentPosition == previousPosition) { 304 previousPosition = currentPosition; 308 " Playback position : " + currentPosition + ", Length in frames : "
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterEditScrollListener.java | 114 float currentPosition = position + mainPosition; 230 if (currentPosition > mLastPosition) { 248 } else if (mStartScrolling && currentPosition > mLastPosition) { 266 } else if (mStartScrolling && currentPosition < mLastPosition) { 287 mLastPosition = currentPosition;
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLConstructionSite.cpp | 198 static unsigned findBreakIndexBetween(const StringBuilder& string, unsigned currentPosition, unsigned proposedBreakIndex) 200 ASSERT(currentPosition < proposedBreakIndex); 210 const UChar* breakSearchCharacters = string.characters16() + currentPosition; 212 unsigned breakSearchLength = std::min(proposedBreakIndex - currentPosition + 2, string.length() - currentPosition); 215 if (it.isBreak(proposedBreakIndex - currentPosition)) 218 int adjustedBreakIndexInSubstring = it.preceding(proposedBreakIndex - currentPosition); 220 return currentPosition + adjustedBreakIndexInSubstring; 252 unsigned currentPosition = 0; 254 while (currentPosition < string.length()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMediaControls.cpp | 220 int currentPosition = int(currentTime * rect.width() / duration); 225 int addWidth = thumbCenter * (1.0 - 2.0 * currentPosition / rect.width()); 226 currentPosition += addWidth; 231 if (currentPosition > startPosition) 232 paintSliderRangeHighlight(rect, style, context, startPosition, currentPosition, startColor, endColor); 238 if (endPosition > currentPosition) 239 paintSliderRangeHighlight(rect, style, context, currentPosition, endPosition, startColor, endColor);
|
/cts/tests/tests/media/src/android/media/cts/ |
VisualizerTest.java | 319 int currentPosition = mp.getCurrentPosition(); 322 while (currentPosition < 200 && tryCount < maxTry) { 324 currentPosition = mp.getCurrentPosition(); 388 int currentPosition = mp.getCurrentPosition(); 391 while (currentPosition < 400 && tryCount < maxTry) { 393 currentPosition = mp.getCurrentPosition();
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
SliderThumbElement.cpp | 129 LayoutUnit currentPosition; 130 // We need to calculate currentPosition from absolute points becaue the 141 currentPosition = absoluteThumbOrigin.y() - absoluteSliderContentOrigin.y(); 146 currentPosition = absoluteThumbOrigin.x() - absoluteSliderContentOrigin.x();
|
/external/apache-xml/src/main/java/org/apache/xalan/templates/ |
ElemNumber.java | [all...] |
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
PduComposer.java | [all...] |