HomeSort by relevance Sort by last modified time
    Searched refs:mCurrentPosition (Results 1 - 10 of 10) sorted by null

  /development/samples/training/basic/FragmentBasics/src/com/example/fragments/
ArticleFragment.java 27 int mCurrentPosition = -1;
37 mCurrentPosition = savedInstanceState.getInt(ARG_POSITION);
56 } else if (mCurrentPosition != -1) {
58 updateArticleView(mCurrentPosition);
65 mCurrentPosition = position;
73 outState.putInt(ARG_POSITION, mCurrentPosition);
  /external/replicaisland/src/com/replica/replicaisland/
BackgroundCollisionComponent.java 34 private Vector2 mCurrentPosition;
65 mCurrentPosition = new Vector2();
84 mCurrentPosition = new Vector2();
149 mCurrentPosition.set(parentObject.getPosition());
150 mDelta.set(mCurrentPosition);
169 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left,
172 verticalHit = sweepVertical(mPreviousCenter, mCurrentPosition, mDelta, bottom,
177 verticalHit = sweepVertical(mPreviousCenter, mCurrentPosition, mDelta, bottom,
180 horizontalHit = sweepHorizontal(mPreviousCenter, mCurrentPosition, mDelta, left,
188 if (mCurrentPosition.x + left < 0.0f)
    [all...]
SimpleCollisionComponent.java 22 private Vector2 mCurrentPosition;
31 mCurrentPosition = new Vector2();
40 mCurrentPosition.zero();
51 mCurrentPosition.set(parentObject.getCenteredPositionX(), parentObject.getCenteredPositionY());
52 mMovementDirection.set(mCurrentPosition);
57 final boolean hit = collision.castRay(mPreviousPosition, mCurrentPosition,
  /cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
ImeEventStream.java 48 private int mCurrentPosition;
56 mCurrentPosition = position;
66 return new ImeEventStream(mEventSupplier, mCurrentPosition);
79 mCurrentPosition += length;
86 mCurrentPosition = mEventSupplier.get().mLength;
105 int index = mCurrentPosition;
134 if (mCurrentPosition >= latest.mLength) {
137 if (condition.test(latest.mArray[mCurrentPosition])) {
138 return Optional.of(latest.mArray[mCurrentPosition]);
140 ++mCurrentPosition;
    [all...]
  /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
Playback.java 70 private volatile int mCurrentPosition;
113 mCurrentPosition = getCurrentStreamPosition();
142 mMediaPlayer.getCurrentPosition() : mCurrentPosition;
152 mCurrentPosition = 0;
204 mCurrentPosition = mMediaPlayer.getCurrentPosition();
222 mCurrentPosition = position;
293 mCurrentPosition);
294 if (mCurrentPosition == mMediaPlayer.getCurrentPosition()) {
298 mMediaPlayer.seekTo(mCurrentPosition);
350 mCurrentPosition = mp.getCurrentPosition()
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/
BluetoothMediaPlayback.java 58 private long mCurrentPosition = 0;
80 mCurrentPosition = 0;
118 Log.d(TAG + " Update Playback Status Curr Posn: " + mCurrentPosition);
119 stateBuilder.setState(state, mCurrentPosition, 1.0f, SystemClock.elapsedRealtime());
219 mCurrentPosition = mMediaPlayer.getCurrentPosition();
239 mCurrentPosition = 0;
261 mCurrentPosition = 0;
  /frameworks/av/media/libmedia/
mediaplayer.cpp 60 mCurrentPosition = -1;
107 mCurrentPosition = -1;
499 if (mCurrentPosition >= 0) {
500 ALOGV("Using cached seek position: %d", mCurrentPosition);
501 *msec = mCurrentPosition;
568 mCurrentPosition = msec;
923 if (mSeekPosition != mCurrentPosition || (mSeekMode != mCurrentSeekMode)) {
924 ALOGV("Executing queued seekTo(%d, %d)", mCurrentPosition, mCurrentSeekMode);
927 seekTo_l(mCurrentPosition, mCurrentSeekMode);
931 mCurrentPosition = mSeekPosition = -1
    [all...]
  /frameworks/av/media/libmediaplayer2/
mediaplayer2.cpp 239 mCurrentPosition = -1;
289 mCurrentPosition = -1;
702 if (mCurrentPosition >= 0) {
703 ALOGV("Using cached seek position: %lld", (long long)mCurrentPosition);
704 *msec = mCurrentPosition;
779 mCurrentPosition = msec;
    [all...]
  /frameworks/av/media/libmedia/include/media/
mediaplayer.h 294 int mCurrentPosition;
  /frameworks/av/media/libmediaplayer2/include/mediaplayer2/
mediaplayer2.h 147 int64_t mCurrentPosition;

Completed in 261 milliseconds