/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollbarHelper.java | 37 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()
|
D | LinearLayoutManager.java | 250 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/ |
D | Asn1DecoderTest.java | 42 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/ |
D | AudioStreamTrack.cpp | 276 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()
|
D | AudioStreamRecord.cpp | 370 err = mAudioRecord->getPosition(&position); in updateStateMachine() 506 result = mAudioRecord->getPosition(&position); in getFramesWritten()
|
/frameworks/native/include/input/ |
D | VelocityTracker.h | 180 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/ |
D | AlphabetIndexer.java | 162 int savedCursorPos = cursor.getPosition(); in getPositionForSection() 256 int savedCursorPos = mDataCursor.getPosition(); in getSectionForPosition()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamMMAP.cpp | 166 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition() 189 *positionFrames = timestamp.getPosition(); in getHardwareTimestamp()
|
D | AAudioServiceEndpointShared.cpp | 186 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition()
|
/frameworks/base/core/java/android/database/ |
D | CursorWrapper.java | 210 public int getPosition() { in getPosition() method in CursorWrapper 211 return mCursor.getPosition(); in getPosition()
|
D | Cursor.java | 75 int getPosition(); in getPosition() method
|
D | DatabaseUtils.java | 359 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/ |
D | PointerControllerInterface.h | 60 virtual void getPosition(float* outX, float* outY) const = 0;
|
/frameworks/base/core/jni/android/graphics/ |
D | Utils.h | 38 virtual size_t getPosition() const;
|
D | ByteBufferStreamAdaptor.cpp | 130 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
|
D | Utils.cpp | 56 size_t AssetStreamAdaptor::getPosition() const { in getPosition() function in AssetStreamAdaptor
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 215 return state.getPosition(); in getEstimatedMediaPosition() 637 if (state == null || state.getPosition() == PlaybackState.PLAYBACK_POSITION_UNKNOWN) { in onNewPlaybackState() 641 state.getPosition(), state.getPlaybackSpeed()); in onNewPlaybackState()
|
D | MicrophoneInfo.java | 277 public Coordinate3F getPosition() { in getPosition() method in MicrophoneInfo
|
/frameworks/base/core/java/com/android/internal/app/ |
D | WindowDecorActionBar.java | 584 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/ |
D | CompletionInfo.java | 113 public int getPosition() { in getPosition() method in CompletionInfo
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 396 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/ |
D | Asn1Decoder.java | 66 public int getPosition() { in getPosition() method in Asn1Decoder
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.h | 256 int64_t getPosition() const { return mPosition; } in getPosition() function
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockCursor.java | 124 public int getPosition() { in getPosition() method in MockCursor
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 649 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()
|