Home
last modified time | relevance | path

Searched refs:mPosition (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DDirectoryView.java27 private float mPosition = 0f; field in DirectoryView
43 setPosition(mPosition); in onSizeChanged()
47 return mPosition; in getPosition()
51 mPosition = position; in setPosition()
52 setX((mWidth > 0) ? (mPosition * mWidth) : 0); in setPosition()
54 if (mPosition != 0) { in setPosition()
DFilteringCursorWrapper.java35 private final int[] mPosition; field in FilteringCursorWrapper
51 mPosition = new int[count]; in FilteringCursorWrapper()
64 mPosition[mCount++] = cursor.getPosition(); in FilteringCursorWrapper()
84 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
DSortingCursorWrapper.java39 private final int[] mPosition; field in SortingCursorWrapper
47 mPosition = new int[count]; in SortingCursorWrapper()
65 mPosition[i] = i; in SortingCursorWrapper()
91 binarySort(mPosition, mValueString); in SortingCursorWrapper()
96 binarySort(mPosition, mValueLong); in SortingCursorWrapper()
114 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
/frameworks/support/v4/java/android/support/v4/media/session/
DPlaybackStateCompat.java210 private final long mPosition; field in PlaybackStateCompat
222 mPosition = position; in PlaybackStateCompat()
232 mPosition = in.readLong(); in PlaybackStateCompat()
244 bob.append(", position=").append(mPosition); in toString()
262 dest.writeLong(mPosition); in writeToParcel()
290 return mPosition; in getPosition()
389 mStateObj = PlaybackStateCompatApi21.newInstance(mState, mPosition, mBufferedPosition, in getPlaybackState()
412 private long mPosition; field in PlaybackStateCompat.Builder
433 mPosition = source.mPosition; in Builder()
470 this.mPosition = position; in setState()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DCompletionInfo.java53 private final int mPosition; field in CompletionInfo
68 mPosition = index; in CompletionInfo()
89 mPosition = index; in CompletionInfo()
96 mPosition = source.readInt(); in CompletionInfo()
114 return mPosition; in getPosition()
136 return "CompletionInfo{#" + mPosition + " \"" + mText in toString()
148 dest.writeInt(mPosition); in writeToParcel()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java227 private final long mPosition; field in PlaybackState
241 mPosition = position; in PlaybackState()
253 mPosition = in.readLong(); in PlaybackState()
268 bob.append(", position=").append(mPosition); in toString()
288 dest.writeLong(mPosition); in writeToParcel()
317 return mPosition; in getPosition()
733 private long mPosition;
758 mPosition = from.mPosition;
805 mPosition = position;
955 return new PlaybackState(mState, mPosition, mUpdateTime, mSpeed, mBufferedPosition,
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduComposer.java98 protected int mPosition = 0; field in PduComposer
141 mPosition = 0; in PduComposer()
189 mPosition = mPosition + length; in arraycopy()
197 mPosition ++; in append()
654 mPosition = 0; in makeReadRecInd()
702 mPosition = 0; in makeNotifyResp()
734 mPosition = 0; in makeAckInd()
763 mPosition = 0; in makeSendReqPdu()
995 mPosition += len; in makeMessageBody()
1052 return mPosition - c_pos; in getLength()
[all …]
/frameworks/av/include/media/
DAudioTimestamp.h26 AudioTimestamp() : mPosition(0) { in AudioTimestamp()
31 uint32_t mPosition; // a frame position in AudioTrack::getPosition() units variable
/frameworks/wilhelm/src/itf/
DIMIDITime.c49 thiz->mPosition = position; in IMIDITime_SetPosition()
67 SLuint32 position = thiz->mPosition; in IMIDITime_GetPosition()
133 thiz->mPosition = 0; in IMIDITime_init()
DIRecord.c102 position = thiz->mPosition; in IRecord_GetPosition()
105 position = thiz->mPosition; in IRecord_GetPosition()
317 thiz->mPosition = (SLmillisecond) 0; in IRecord_init()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java249 .getFirstFullSpanItemInRange(minPos, invalidFsi.mPosition, in checkForGaps()
252 mLazySpanLookup.forceInvalidateAfter(invalidFsi.mPosition); in checkForGaps()
254 mLazySpanLookup.forceInvalidateAfter(validFsi.mPosition + 1); in checkForGaps()
577 updateLayoutStateToFillStart(anchorInfo.mPosition, state);
580 updateLayoutStateToFillEnd(anchorInfo.mPosition, state);
585 updateLayoutStateToFillEnd(anchorInfo.mPosition, state);
588 updateLayoutStateToFillStart(anchorInfo.mPosition, state);
666 anchorInfo.mPosition = 0;
674 anchorInfo.mPosition = mLastLayoutFromEnd
700 anchorInfo.mPosition = mShouldReverseLayout ? getLastChildPosition()
[all …]
DRecyclerView.java2036 return mAdapter.hasStableIds() ? holder.getItemId() : holder.mPosition; in getChangedHolderKey()
2282 if (DEBUG && holder.mPosition == -1 && !holder.isRemoved()) { in saveOldPositions()
2318 if (holder == null || holder.mPosition < start || holder.mPosition > end) { in offsetPositionRecordsForMove()
2325 if (holder.mPosition == from) { in offsetPositionRecordsForMove()
2341 if (holder != null && !holder.shouldIgnore() && holder.mPosition >= positionStart) { in offsetPositionRecordsForInsert()
2344 holder + " now at position " + (holder.mPosition + itemCount)); in offsetPositionRecordsForInsert()
2361 if (holder.mPosition >= positionEnd) { in offsetPositionRecordsForRemove()
2365 (holder.mPosition - itemCount)); in offsetPositionRecordsForRemove()
2369 } else if (holder.mPosition >= positionStart) { in offsetPositionRecordsForRemove()
2400 if (holder.mPosition >= positionStart && holder.mPosition < positionEnd) { in viewRangeUpdate()
[all …]
DLinearLayoutManager.java463 boolean before = state.getTargetScrollPosition() < mAnchorInfo.mPosition;
655 anchorInfo.mPosition = mStackFromEnd ? state.getItemCount() - 1 : 0; in updateAnchorInfoForLayout()
724 anchorInfo.mPosition = mPendingScrollPosition;
840 updateLayoutStateToFillEnd(anchorInfo.mPosition, anchorInfo.mCoordinate); in updateLayoutStateToFillEnd()
854 updateLayoutStateToFillStart(anchorInfo.mPosition, anchorInfo.mCoordinate); in updateLayoutStateToFillStart()
1914 int mPosition; field in AnchorInfo
1918 mPosition = NO_POSITION; in reset()
1936 "mPosition=" + mPosition + in toString()
1964 mPosition = getPosition(child); in assignFromView()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DAdapterHelperTest.java81 if (vh.mPosition == position && !vh.isRemoved()) { in cleanState()
92 if (holder.mPosition >= positionEnd) { in cleanState()
94 } else if (holder.mPosition >= positionStart) { in cleanState()
105 if (holder.mPosition >= positionEnd) { in cleanState()
107 } else if (holder.mPosition >= positionStart) { in cleanState()
117 if (holder.mPosition >= positionStart && holder.mPosition < positionEnd) { in cleanState()
150 if (holder != null && holder.mPosition >= positionStart) { in cleanState()
169 if (holder == null || holder.mPosition < start || holder.mPosition > end) { in cleanState()
172 if (holder.mPosition == from) { in cleanState()
204 viewHolder.mPosition = posiiton; in addViewHolder()
DGridLayoutManagerTest.java220 glm.mAnchorInfo.mPosition = 11; in testAnchorUpdate()
224 assertEquals("gm should keep anchor in first span", 11, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
226 glm.mAnchorInfo.mPosition = 13; in testAnchorUpdate()
228 assertEquals("gm should move anchor to first span", 11, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
230 glm.mAnchorInfo.mPosition = 23; in testAnchorUpdate()
232 assertEquals("gm should move anchor to first span", 21, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
234 glm.mAnchorInfo.mPosition = 35; in testAnchorUpdate()
236 assertEquals("gm should move anchor to first span", 31, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
DBaseRecyclerViewInstrumentationTest.java172 viewHolder.mPosition = 200; in setRecyclerView()
313 testAdapter.mItems.get(vh.mPosition), item); in assertVisibleItemPositions()
612 final int mPosition; field in BaseRecyclerViewInstrumentationTest.TargetTuple
617 this.mPosition = position; in TargetTuple()
624 "mPosition=" + mPosition + in toString()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java108 protected int mPosition; field in PhotoViewFragment
198 mPosition = bundle.getInt(ARG_POSITION); in onCreate()
249 mCallback.addScreenListener(mPosition, this); in onResume()
292 mCallback.removeScreenListener(mPosition); in onPause()
390 mCallback.onNewPhotoLoaded(mPosition); in onLoadFinished()
541 if (cursor.moveToPosition(mPosition) && !isPhotoBound()) { in onCursorChanged()
569 return mPosition; in getPosition()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTouchHandler.java40 TranslateComponent mPosition; field in TouchHandler
54 mPosition = mCameraRig.addTranslate("Position", mPosValue); in init()
/frameworks/support/v4/java/android/support/v4/app/
DActionBarDrawerToggle.java505 private float mPosition; field in ActionBarDrawerToggle.SlideDrawable
518 mPosition = position; in setPosition()
523 return mPosition; in getPosition()
548 canvas.translate(-mOffset * width * mPosition * flipRtl, 0); in draw()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java1107 private int mPosition = -1; field in WindowDecorActionBar.TabImpl
1139 if (mPosition >= 0) { in setCustomView()
1140 mTabScrollView.updateTab(mPosition); in setCustomView()
1158 return mPosition; in getPosition()
1162 mPosition = position; in setPosition()
1173 if (mPosition >= 0) { in setIcon()
1174 mTabScrollView.updateTab(mPosition); in setIcon()
1187 if (mPosition >= 0) { in setText()
1188 mTabScrollView.updateTab(mPosition); in setText()
1211 if (mPosition >= 0) { in setContentDescription()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DWindowDecorActionBar.java1115 private int mPosition = -1; field in WindowDecorActionBar.TabImpl
1147 if (mPosition >= 0) { in setCustomView()
1148 mTabScrollView.updateTab(mPosition); in setCustomView()
1166 return mPosition; in getPosition()
1170 mPosition = position; in setPosition()
1181 if (mPosition >= 0) { in setIcon()
1182 mTabScrollView.updateTab(mPosition); in setIcon()
1195 if (mPosition >= 0) { in setText()
1196 mTabScrollView.updateTab(mPosition); in setText()
1219 if (mPosition >= 0) { in setContentDescription()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStreamingTextView.java230 private final int mPosition; field in StreamingTextView.DottySpan
234 mPosition = pos; in DottySpan()
254 if (mPosition + i >= mStreamPosition) break; in draw()
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp713 mObserver(&cblk->u.mStatic.mSingleStateQueue), mPosition(0), in StaticAudioTrackServerProxy()
733 size_t position = mPosition; in framesReady()
746 size_t position = mPosition; in pollPosition()
757 mPosition = position = loopStart; in pollPosition()
765 mPosition = position = loopStart; in pollPosition()
833 size_t position = mPosition; in releaseBuffer()
851 mPosition = newPosition; in releaseBuffer()
DAudioTrack.cpp434 mPosition = 0; in set()
466 mPosition = 0; in start()
477 mNewPosition = mPosition + mUpdatePeriod; in start()
1848 mPosition = mReleased; in restoreTrack_l()
1902 return mPosition += (uint32_t) delta; in updateAndGetPosition_l()
1947 timestamp.mPosition = mPausedPosition; in getTimestamp()
1966 const int64_t deltaPositionByUs = timestamp.mPosition * 1000000LL / mSampleRate; in getTimestamp()
1975 timestamp.mPosition); in getTimestamp()
1990 if ((uint32_t) (mServer - timestamp.mPosition) > mPosition) { in getTimestamp()
1998 timestamp.mPosition += mPosition - mServer; in getTimestamp()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h185 uint32_t position() const { return mPosition; } in position()
186 void setPosition(uint32_t pos) { mPosition = pos; } in setPosition()
190 uint32_t mPosition; variable

12