/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DirectoryView.java | 27 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()
|
D | FilteringCursorWrapper.java | 35 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()
|
D | SortingCursorWrapper.java | 39 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/ |
D | PlaybackStateCompat.java | 210 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/ |
D | CompletionInfo.java | 53 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/ |
D | PlaybackState.java | 227 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/ |
D | PduComposer.java | 98 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/ |
D | AudioTimestamp.h | 26 AudioTimestamp() : mPosition(0) { in AudioTimestamp() 31 uint32_t mPosition; // a frame position in AudioTrack::getPosition() units variable
|
/frameworks/wilhelm/src/itf/ |
D | IMIDITime.c | 49 thiz->mPosition = position; in IMIDITime_SetPosition() 67 SLuint32 position = thiz->mPosition; in IMIDITime_GetPosition() 133 thiz->mPosition = 0; in IMIDITime_init()
|
D | IRecord.c | 102 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/ |
D | StaggeredGridLayoutManager.java | 249 .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 …]
|
D | RecyclerView.java | 2036 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 …]
|
D | LinearLayoutManager.java | 463 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/ |
D | AdapterHelperTest.java | 81 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()
|
D | GridLayoutManagerTest.java | 220 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()
|
D | BaseRecyclerViewInstrumentationTest.java | 172 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/ |
D | PhotoViewFragment.java | 108 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/ |
D | TouchHandler.java | 40 TranslateComponent mPosition; field in TouchHandler 54 mPosition = mCameraRig.addTranslate("Position", mPosValue); in init()
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | ActionBarDrawerToggle.java | 505 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/ |
D | WindowDecorActionBar.java | 1107 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/ |
D | WindowDecorActionBar.java | 1115 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/ |
D | StreamingTextView.java | 230 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/ |
D | AudioTrackShared.cpp | 713 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()
|
D | AudioTrack.cpp | 434 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/ |
D | PlaybackTracks.h | 185 uint32_t position() const { return mPosition; } in position() 186 void setPosition(uint32_t pos) { mPosition = pos; } in setPosition() 190 uint32_t mPosition; variable
|