Home
last modified time | relevance | path

Searched refs:getPosition (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/widget/
DScrollbarHelper.java37 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset()
38 lm.getPosition(endChild)); in computeScrollOffset()
39 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset()
40 lm.getPosition(endChild)); in computeScrollOffset()
49 final int itemRange = Math.abs(lm.getPosition(startChild) in computeScrollOffset()
50 - lm.getPosition(endChild)) + 1; in computeScrollOffset()
69 return Math.abs(lm.getPosition(startChild) - lm.getPosition(endChild)) + 1; in computeScrollExtent()
93 final int laidOutRange = Math.abs(lm.getPosition(startChild) in computeScrollRange()
94 - lm.getPosition(endChild)) in computeScrollRange()
DLinearLayoutManager.java250 state.mAnchorPosition = getPosition(refChild); in onSaveInstanceState()
253 state.mAnchorPosition = getPosition(refChild); in onSaveInstanceState()
393 final int firstChild = getPosition(getChildAt(0)); in findViewByPosition()
397 if (getPosition(child) == position) { in findViewByPosition()
447 final int firstChildPos = getPosition(getChildAt(0)); in computeScrollVectorForPosition()
680 final int firstChildPos = getPosition(getChildAt(0)); in layoutForPredictiveAnimations()
703 updateLayoutStateToFillStart(getPosition(anchor), startOffset); in layoutForPredictiveAnimations()
712 updateLayoutStateToFillEnd(getPosition(anchor), endOffset); in layoutForPredictiveAnimations()
852 int pos = getPosition(getChildAt(0));
1160 mLayoutState.mCurrentPosition = getPosition(child) + mLayoutState.mItemDirection; in updateLayoutState()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1DecoderTest.java42 assertEquals(0, decoder.getPosition()); in testNormalOperation()
46 assertEquals(hex.length() / 2, decoder.getPosition()); in testNormalOperation()
65 assertEquals(hex.length() / 2, decoder.getPosition()); in testNormalOperation()
91 assertEquals(0, decoder.getPosition()); in testNodeList()
95 assertEquals(hex.length() / 4, decoder.getPosition()); in testNodeList()
108 assertEquals(hex.length() / 2, decoder.getPosition()); in testNodeList()
120 assertEquals(hex.length() / 2, decoder.getPosition()); in testNodeList()
128 assertEquals(0, decoder.getPosition()); in testMissingData()
132 assertEquals(0x0E, decoder.getPosition()); in testMissingData()
157 assertEquals(0, decoder.getPosition()); in testEmptyData()
[all …]
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamTrack.cpp276 status_t err = mAudioTrack->getPosition(&mPositionWhenStarting); in requestStart()
302 status_t err = mAudioTrack->getPosition(&mPositionWhenPausing); in requestPause()
352 err = mAudioTrack->getPosition(&position); in updateStateMachine()
364 err = mAudioTrack->getPosition(&position); in updateStateMachine()
468 result = mAudioTrack->getPosition(&position); in getFramesRead()
DAudioStreamRecord.cpp370 err = mAudioRecord->getPosition(&position); in updateStateMachine()
506 result = mAudioRecord->getPosition(&position); in getFramesWritten()
/frameworks/native/include/input/
DVelocityTracker.h180 inline const VelocityTracker::Position& getPosition(uint32_t id) const { in getPosition() function
258 inline const VelocityTracker::Position& getPosition(uint32_t id) const { in getPosition() function
292 inline const VelocityTracker::Position& getPosition(uint32_t id) const { in getPosition() function
/frameworks/base/core/java/android/widget/
DAlphabetIndexer.java162 int savedCursorPos = cursor.getPosition(); in getPositionForSection()
256 int savedCursorPos = mDataCursor.getPosition(); in getSectionForPosition()
/frameworks/av/services/oboeservice/
DAAudioServiceStreamMMAP.cpp166 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition()
189 *positionFrames = timestamp.getPosition(); in getHardwareTimestamp()
DAAudioServiceEndpointShared.cpp186 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition()
/frameworks/base/core/java/android/database/
DCursorWrapper.java210 public int getPosition() { in getPosition() method in CursorWrapper
211 return mCursor.getPosition(); in getPosition()
DCursor.java75 int getPosition(); in getPosition() method
DDatabaseUtils.java359 final int oldPos = cursor.getPosition(); in cursorFillWindow()
574 int startPos = cursor.getPosition(); in dumpCursor()
595 int startPos = cursor.getPosition(); in dumpCursor()
636 stream.println("" + cursor.getPosition() + " {"); in dumpCurrentRow()
660 sb.append("" + cursor.getPosition() + " {\n"); in dumpCurrentRow()
/frameworks/native/services/inputflinger/include/
DPointerControllerInterface.h60 virtual void getPosition(float* outX, float* outY) const = 0;
/frameworks/base/core/jni/android/graphics/
DUtils.h38 virtual size_t getPosition() const;
DByteBufferStreamAdaptor.cpp130 size_t getPosition() const override { return mPosition; } in getPosition() function in ByteBufferStream
251 size_t getPosition() const override { return mPosition; } in getPosition() function in ByteArrayStream
DUtils.cpp56 size_t AssetStreamAdaptor::getPosition() const { in getPosition() function in AssetStreamAdaptor
/frameworks/base/media/java/android/media/
DRemoteController.java215 return state.getPosition(); in getEstimatedMediaPosition()
637 if (state == null || state.getPosition() == PlaybackState.PLAYBACK_POSITION_UNKNOWN) { in onNewPlaybackState()
641 state.getPosition(), state.getPlaybackSpeed()); in onNewPlaybackState()
DMicrophoneInfo.java277 public Coordinate3F getPosition() { in getPosition() method in MicrophoneInfo
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java584 removeTabAt(tab.getPosition()); in removeTab()
595 ? mSelectedTab.getPosition() : mSavedTabPosition; in removeTabAt()
615 mSavedTabPosition = tab != null ? tab.getPosition() : INVALID_POSITION; in selectTab()
625 mTabScrollView.animateToTab(tab.getPosition()); in selectTab()
628 mTabScrollView.setTabSelected(tab != null ? tab.getPosition() : Tab.INVALID_POSITION); in selectTab()
1208 public int getPosition() { in getPosition() method in WindowDecorActionBar.TabImpl
1294 return mSelectedTab != null ? mSelectedTab.getPosition() : -1; in getSelectedNavigationIndex()
/frameworks/base/core/java/android/view/inputmethod/
DCompletionInfo.java113 public int getPosition() { in getPosition() method in CompletionInfo
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp396 mProxy->setEpoch(mProxy->getEpoch() - mProxy->getPosition()); in start()
401 mNewPosition = mProxy->getPosition() + mUpdatePeriod; in start()
519 mNewPosition = mProxy->getPosition() + updatePeriod; in setPositionUpdatePeriod()
541 status_t AudioRecord::getPosition(uint32_t *position) const in getPosition() function in android::AudioRecord
548 mProxy->getPosition().getValue(position); in getPosition()
1114 Modulo<uint32_t> position(mProxy->getPosition()); in processAudioBuffer()
1331 Modulo<uint32_t> position(mProxy->getPosition()); in restoreRecord_l()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Decoder.java66 public int getPosition() { in getPosition() method in Asn1Decoder
/frameworks/av/media/libaaudio/src/utility/
DAAudioUtilities.h256 int64_t getPosition() const { return mPosition; } in getPosition() function
/frameworks/base/test-mock/src/android/test/mock/
DMockCursor.java124 public int getPosition() { in getPosition() method in MockCursor
/frameworks/native/libs/input/
DVelocityTracker.cpp649 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator()
967 const VelocityTracker::Position& oldestPosition = oldestMovement.getPosition(id); in getEstimator()
981 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator()
993 const VelocityTracker::Position& newestPosition = newestMovement.getPosition(id); in getEstimator()
1182 const VelocityTracker::Position& position = movement.getPosition(id); in getEstimator()

1234