Home
last modified time | relevance | path

Searched refs:currentPosition (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCodecTest.java114 int currentPosition = 0; in getCurrentPosition() local
131 currentPosition = mp.getCurrentPosition(); in getCurrentPosition()
134 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition()
138 if (currentPosition < 1000 ) in getCurrentPosition()
141 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition()
149 int currentPosition = 0; in seekTo() local
157 currentPosition = mp.getCurrentPosition(); in seekTo()
163 Log.v(TAG, "CurrentPosition = " + currentPosition); in seekTo()
165 if ((currentPosition > MediaNames.SEEK_TIME *0.8)) in seekTo()
172 int currentPosition = 0; in setLooping() local
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/
DMediaPlayerApiTest.java109 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3CBR); in testMP3CBRGetCurrentPosition()
110 assertTrue("MP3CBR GetCurrentPosition", currentPosition); in testMP3CBRGetCurrentPosition()
115 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MP3VBR); in testMP3VBRGetCurrentPosition()
116 assertTrue("MP3VBR GetCurrentPosition", currentPosition); in testMP3VBRGetCurrentPosition()
121 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.MIDI); in testMIDIGetCurrentPosition()
122 assertTrue("MIDI GetCurrentPosition", currentPosition); in testMIDIGetCurrentPosition()
127 boolean currentPosition = CodecTest.getCurrentPosition(MediaNames.AMR); in testAMRGetCurrentPosition()
128 assertTrue("AMR GetCurrentPosition", currentPosition); in testAMRGetCurrentPosition()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java277 int currentPosition = 0; in blockUntilCompletion() local
280 while ((currentPosition = audioTrack.getPlaybackHeadPosition()) < lengthInFrames && in blockUntilCompletion()
283 final long estimatedTimeMs = ((lengthInFrames - currentPosition) * 1000) / in blockUntilCompletion()
290 if (currentPosition == previousPosition) { in blockUntilCompletion()
303 previousPosition = currentPosition; in blockUntilCompletion()
307 " Playback position : " + currentPosition + ", Length in frames : " in blockUntilCompletion()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsMessageBase.java392 int currentPosition, int byteLimit, CharSequence msgBody) { in findNextUnicodePosition() argument
393 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition()
410 if (breakPos > currentPosition) { in findNextUnicodePosition()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduComposer.java1048 public int currentPosition = 0; field in PduComposer.LengthRecordNode
1097 temp.currentPosition = mPosition; in newbuf()
1113 int currentPosition = mPosition; in pop() local
1116 mPosition = stack.currentPosition; in pop()
1125 toCopy.currentPosition = currentPosition; in pop()
1133 toCopy.currentPosition); in copy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerView.java226 int currentPosition = getCurrentPosition();
241 stopDragging(currentPosition, nextTarget, 250, Interpolators.FAST_OUT_SLOW_IN);
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java4270 final int currentPosition = mChildren.indexOf(child); in positionChildAt() local
4271 super.positionChildAt(currentPosition, child, false /* includingParents */); in positionChildAt()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt119288 Ljava/util/StringTokenizer;->currentPosition:I