Home
last modified time | relevance | path

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

123

/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/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/support/v4/java/android/support/v4/media/session/
DPlaybackStateCompat.java211 private final long mPosition; field in PlaybackStateCompat
223 mPosition = position; in PlaybackStateCompat()
233 mPosition = in.readLong(); in PlaybackStateCompat()
245 bob.append(", position=").append(mPosition); in toString()
263 dest.writeLong(mPosition); in writeToParcel()
291 return mPosition; in getPosition()
390 mStateObj = PlaybackStateCompatApi21.newInstance(mState, mPosition, mBufferedPosition, in getPlaybackState()
583 private long mPosition; field in PlaybackStateCompat.Builder
604 mPosition = source.mPosition; in Builder()
675 mPosition = position; in setState()
[all …]
/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/base/media/java/android/media/session/
DPlaybackState.java228 private final long mPosition; field in PlaybackState
243 mPosition = position; in PlaybackState()
256 mPosition = in.readLong(); in PlaybackState()
271 bob.append(", position=").append(mPosition); in toString()
291 dest.writeLong(mPosition); in writeToParcel()
322 return mPosition; in getPosition()
747 private long mPosition;
773 mPosition = from.mPosition;
821 mPosition = position;
983 return new PlaybackState(mState, mPosition, mUpdateTime, mSpeed, mBufferedPosition,
/frameworks/av/include/media/
DAudioTimestamp.h26 AudioTimestamp() : mPosition(0) { in AudioTimestamp()
31 uint32_t mPosition; // a frame position in AudioTrack::getPosition() units variable
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java250 .getFirstFullSpanItemInRange(minPos, invalidFsi.mPosition, in checkForGaps()
253 mLazySpanLookup.forceInvalidateAfter(invalidFsi.mPosition); in checkForGaps()
255 mLazySpanLookup.forceInvalidateAfter(validFsi.mPosition + 1); in checkForGaps()
576 updateLayoutStateToFillStart(anchorInfo.mPosition, state);
579 updateLayoutStateToFillEnd(anchorInfo.mPosition, state);
584 updateLayoutStateToFillEnd(anchorInfo.mPosition, state);
587 updateLayoutStateToFillStart(anchorInfo.mPosition, state);
665 anchorInfo.mPosition = 0;
673 anchorInfo.mPosition = mLastLayoutFromEnd
699 anchorInfo.mPosition = mShouldReverseLayout ? getLastChildPosition()
[all …]
DRecyclerView.java2297 return mAdapter.hasStableIds() ? holder.getItemId() : holder.mPosition; in getChangedHolderKey()
2542 if (DEBUG && holder.mPosition == -1 && !holder.isRemoved()) { in saveOldPositions()
2578 if (holder == null || holder.mPosition < start || holder.mPosition > end) { in offsetPositionRecordsForMove()
2585 if (holder.mPosition == from) { in offsetPositionRecordsForMove()
2601 if (holder != null && !holder.shouldIgnore() && holder.mPosition >= positionStart) { in offsetPositionRecordsForInsert()
2604 holder + " now at position " + (holder.mPosition + itemCount)); in offsetPositionRecordsForInsert()
2621 if (holder.mPosition >= positionEnd) { in offsetPositionRecordsForRemove()
2625 (holder.mPosition - itemCount)); in offsetPositionRecordsForRemove()
2629 } else if (holder.mPosition >= positionStart) { in offsetPositionRecordsForRemove()
2660 if (holder.mPosition >= positionStart && holder.mPosition < positionEnd) { in viewRangeUpdate()
[all …]
/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/tests/src/android/support/v7/widget/
DAdapterHelperTest.java82 if (vh.mPosition == position && !vh.isRemoved()) { in cleanState()
93 if (holder.mPosition >= positionEnd) { in cleanState()
95 } else if (holder.mPosition >= positionStart) { in cleanState()
106 if (holder.mPosition >= positionEnd) { in cleanState()
108 } else if (holder.mPosition >= positionStart) { in cleanState()
118 if (holder.mPosition >= positionStart && holder.mPosition < positionEnd) { in cleanState()
151 if (holder != null && holder.mPosition >= positionStart) { in cleanState()
170 if (holder == null || holder.mPosition < start || holder.mPosition > end) { in cleanState()
173 if (holder.mPosition == from) { in cleanState()
205 viewHolder.mPosition = position; in addViewHolder()
[all …]
DGridLayoutManagerTest.java271 glm.mAnchorInfo.mPosition = 11; in testAnchorUpdate()
275 assertEquals("gm should keep anchor in first span", 11, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
277 glm.mAnchorInfo.mPosition = 13; in testAnchorUpdate()
279 assertEquals("gm should move anchor to first span", 11, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
281 glm.mAnchorInfo.mPosition = 23; in testAnchorUpdate()
283 assertEquals("gm should move anchor to first span", 21, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
285 glm.mAnchorInfo.mPosition = 35; in testAnchorUpdate()
287 assertEquals("gm should move anchor to first span", 31, glm.mAnchorInfo.mPosition); in testAnchorUpdate()
/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()
542 if (cursor.moveToPosition(mPosition) && !isPhotoBound()) { in onCursorChanged()
570 return mPosition; in getPosition()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DDetailsSupportFragment.java42 int mPosition; field in DetailsSupportFragment.SetSelectionRunnable
46 mRowsSupportFragment.setSelectedPosition(mPosition, mSmooth); in run()
202 mSetSelectionRunnable.mPosition = position; in setSelectedPosition()
DDetailsFragment.java40 int mPosition; field in DetailsFragment.SetSelectionRunnable
44 mRowsFragment.setSelectedPosition(mPosition, mSmooth); in run()
200 mSetSelectionRunnable.mPosition = position; in setSelectedPosition()
/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/support/v7/appcompat/src/android/support/v7/internal/app/
DWindowDecorActionBar.java1118 private int mPosition = -1; field in WindowDecorActionBar.TabImpl
1150 if (mPosition >= 0) { in setCustomView()
1151 mTabScrollView.updateTab(mPosition); in setCustomView()
1169 return mPosition; in getPosition()
1173 mPosition = position; in setPosition()
1184 if (mPosition >= 0) { in setIcon()
1185 mTabScrollView.updateTab(mPosition); in setIcon()
1198 if (mPosition >= 0) { in setText()
1199 mTabScrollView.updateTab(mPosition); in setText()
1222 if (mPosition >= 0) { in setContentDescription()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java1117 private int mPosition = -1; field in WindowDecorActionBar.TabImpl
1149 if (mPosition >= 0) { in setCustomView()
1150 mTabScrollView.updateTab(mPosition); in setCustomView()
1168 return mPosition; in getPosition()
1172 mPosition = position; in setPosition()
1183 if (mPosition >= 0) { in setIcon()
1184 mTabScrollView.updateTab(mPosition); in setIcon()
1197 if (mPosition >= 0) { in setText()
1198 mTabScrollView.updateTab(mPosition); in setText()
1221 if (mPosition >= 0) { in setContentDescription()
[all …]
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp742 mObserver(&cblk->u.mStatic.mSingleStateQueue), mPosition(0), in StaticAudioTrackServerProxy()
767 size_t position = mPosition; in pollPosition()
778 mPosition = position = loopStart; in pollPosition()
779 mFramesReady = mFrameCount - mPosition; in pollPosition()
788 mPosition = position = loopStart; in pollPosition()
798 + mFrameCount - mPosition; in pollPosition()
804 if (!valid || mPosition > mFrameCount) { in pollPosition()
871 size_t position = mPosition; in releaseBuffer()
888 mPosition = newPosition; in releaseBuffer()
DAudioTrack.cpp429 mPosition = 0; in set()
461 mPosition = 0; in start()
472 mNewPosition = mPosition + mUpdatePeriod; in start()
1869 mPosition = mReleased; in restoreTrack_l()
1923 return mPosition += (uint32_t) delta; in updateAndGetPosition_l()
1972 timestamp.mPosition = mPausedPosition; in getTimestamp()
1991 const int64_t deltaPositionByUs = timestamp.mPosition * 1000000LL / mSampleRate; in getTimestamp()
2000 timestamp.mPosition); in getTimestamp()
2015 if ((uint32_t) (mServer - timestamp.mPosition) > mPosition) { in getTimestamp()
2023 timestamp.mPosition += mPosition - mServer; in getTimestamp()
/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/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

123