Searched refs:currentPosition (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CodecTest.java | 107 int currentPosition = 0; in getCurrentPosition() local 124 currentPosition = mp.getCurrentPosition(); in getCurrentPosition() 127 Log.v(TAG, "mp currentPositon = " + currentPosition + " play duration = " + (t2-t1)); in getCurrentPosition() 131 if (currentPosition < 1000 ) in getCurrentPosition() 134 if ((currentPosition < ((t2-t1) *1.2)) && (currentPosition > 0)) in getCurrentPosition() 142 int currentPosition = 0; in seekTo() local 150 currentPosition = mp.getCurrentPosition(); in seekTo() 156 Log.v(TAG, "CurrentPosition = " + currentPosition); in seekTo() 158 if ((currentPosition > MediaNames.SEEK_TIME *0.8)) in seekTo() 165 int currentPosition = 0; in setLooping() local [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediaplayback/ |
D | MediaPlayerApiTest.java | 109 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/ |
D | BlockingAudioTrack.java | 277 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/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsMessageBase.java | 362 int currentPosition, int byteLimit, CharSequence msgBody) { in findNextUnicodePosition() argument 363 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition() 380 if (breakPos > currentPosition) { in findNextUnicodePosition()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduComposer.java | 1032 public int currentPosition = 0; field in PduComposer.LengthRecordNode 1081 temp.currentPosition = mPosition; in newbuf() 1097 int currentPosition = mPosition; in pop() local 1100 mPosition = stack.currentPosition; in pop() 1109 toCopy.currentPosition = currentPosition; in pop() 1117 toCopy.currentPosition); in copy()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | FocusManager.java | 175 int currentPosition = mView.getChildAdapterPosition(view); in findTargetPosition() local 179 if (currentPosition > 0) { in findTargetPosition() 186 if (currentPosition < mAdapter.getItemCount() - 1) { in findTargetPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | DividerView.java | 194 int currentPosition = getCurrentPosition(); 215 stopDragging(currentPosition, nextTarget, 250, Interpolators.FAST_OUT_SLOW_IN);
|