/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/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | ComplicationLayoutParamsTest.java | 149 assertThat(copy.getPosition() == params.getPosition()).isTrue(); in testCopyConstruction() 172 assertThat(copy.getPosition() == params.getPosition()).isTrue(); in testCopyConstructionWithUnspecifiedMargin()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakePointerController.cpp | 40 FloatPoint FakePointerController::getPosition() const { in getPosition() function in android::FakePointerController 53 const auto [actualX, actualY] = getPosition(); in assertPosition()
|
D | FakePointerController.h | 35 FloatPoint getPosition() const override;
|
/frameworks/native/services/inputflinger/reader/mapper/gestures/ |
D | GestureConverter.cpp | 165 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handleMove() 189 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handleButtonsChange() 266 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in releaseAllButtons() 301 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handleScroll() 369 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in endScroll() 387 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handleMultiFingerSwipe() 450 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handleMultiFingerSwipeLift() 474 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in handlePinch() 531 const auto [xCursorPosition, yCursorPosition] = mPointerController->getPosition(); in endPinch()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DeviceStateToLayoutMap.java | 123 int position = getPosition(d.getPosition()); in loadLayoutsFromConfig() 148 private int getPosition(@NonNull String position) { in getPosition() method in DeviceStateToLayoutMap
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 319 status_t err = mAudioTrack->getPosition(&mPositionWhenStarting); in requestStart_l() 349 status_t err = mAudioTrack->getPosition(&mPositionWhenPausing); in requestPause_l() 398 err = mAudioTrack->getPosition(&position); in processCommands() 410 err = mAudioTrack->getPosition(&position); in processCommands() 512 result = mAudioTrack->getPosition(&position); in getFramesRead()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorner.java | 114 mPosition = rc.getPosition(); in RoundedCorner() 127 public @Position int getPosition() { in getPosition() method in RoundedCorner
|
/frameworks/base/native/graphics/jni/ |
D | aassetstreamadaptor.h | 39 size_t getPosition() const override;
|
D | aassetstreamadaptor.cpp | 54 size_t AAssetStreamAdaptor::getPosition() const { in getPosition() function in AAssetStreamAdaptor
|
/frameworks/base/core/java/android/widget/ |
D | AlphabetIndexer.java | 162 int savedCursorPos = cursor.getPosition(); in getPositionForSection() 256 int savedCursorPos = mDataCursor.getPosition(); in getSectionForPosition()
|
/frameworks/base/core/java/android/database/ |
D | CursorWrapper.java | 210 public int getPosition() { in getPosition() method in CursorWrapper 211 return mCursor.getPosition(); in getPosition()
|
/frameworks/base/libs/hwui/jni/ |
D | Utils.h | 39 virtual size_t getPosition() const;
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 149 FloatPoint PointerController::getPosition() const { in getPosition() function in android::PointerController 151 const auto p = mCursorController.getPosition(); in getPosition() 270 pointerDisplayChanged = {viewport.displayId, mCursorController.getPosition()}; in setDisplayViewport()
|
D | MouseCursorController.h | 49 FloatPoint getPosition() const;
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RandomAccessInputStream.java | 35 public int getPosition() { in getPosition() method in RandomAccessInputStream
|
/frameworks/native/services/inputflinger/include/ |
D | PointerControllerInterface.h | 66 virtual FloatPoint getPosition() const = 0;
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamMMAP.cpp | 187 *positionFrames = timestamp.getPosition(); in getFreeRunningPosition_l() 220 *positionFrames = timestamp.getPosition(); in getHardwareTimestamp_l()
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | CrossProcessCursorPerfTest.java | 83 assertEquals(c.getPosition(), c.getInt(0)); in time()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RoundedCornerTest.java | 41 assertThat(roundedCorner.getPosition(), is(RoundedCorner.POSITION_BOTTOM_LEFT)); in testGetPosition()
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 216 return state.getPosition(); in getEstimatedMediaPosition() 638 if (state == null || state.getPosition() == PlaybackState.PLAYBACK_POSITION_UNKNOWN) { in onNewPlaybackState() 642 state.getPosition(), state.getPlaybackSpeed()); in onNewPlaybackState()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | CompletionInfo.java | 113 public int getPosition() { in getPosition() method in CompletionInfo
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | EnterDesktopTaskTransitionHandler.java | 268 final PointF position = mMoveToDesktopAnimator.getPosition(); in animateStartDragToDesktopMode() 364 final float x = mMoveToDesktopAnimator.getPosition().x; in animateCancelDragToDesktopMode() 365 final float y = mMoveToDesktopAnimator.getPosition().y; in animateCancelDragToDesktopMode()
|