/frameworks/base/core/java/android/widget/ |
D | AdapterView.java | 1054 int newPos; in handleDataChanged() local 1064 newPos = findSyncPosition(); in handleDataChanged() 1065 if (newPos >= 0) { in handleDataChanged() 1067 int selectablePos = lookForSelectablePosition(newPos, true); in handleDataChanged() 1068 if (selectablePos == newPos) { in handleDataChanged() 1070 setNextSelectedPositionInt(newPos); in handleDataChanged() 1077 newPos = getSelectedItemPosition(); in handleDataChanged() 1080 if (newPos >= count) { in handleDataChanged() 1081 newPos = count - 1; in handleDataChanged() 1083 if (newPos < 0) { in handleDataChanged() [all …]
|
D | Gallery.java | 627 int newPos = mFirstPosition + newSelectedChildIndex; in setSelectionToCenterChild() local 629 if (newPos != mSelectedPosition) { in setSelectionToCenterChild() 630 setSelectedPositionInt(newPos); in setSelectionToCenterChild() 631 setNextSelectedPositionInt(newPos); in setSelectionToCenterChild()
|
D | AbsListView.java | 5915 int newPos; in handleDataChanged() local 5961 newPos = findSyncPosition(); in handleDataChanged() 5962 if (newPos >= 0) { in handleDataChanged() 5964 selectablePos = lookForSelectablePosition(newPos, true); in handleDataChanged() 5965 if (selectablePos == newPos) { in handleDataChanged() 5967 mSyncPosition = newPos; in handleDataChanged() 5980 setNextSelectedPositionInt(newPos); in handleDataChanged() 5997 newPos = getSelectedItemPosition(); in handleDataChanged() 6000 if (newPos >= count) { in handleDataChanged() 6001 newPos = count - 1; in handleDataChanged() [all …]
|
D | Switch.java | 1144 final float newPos = MathUtils.constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent() local 1145 if (newPos != mThumbPosition) { in onTouchEvent() 1147 setThumbPosition(newPos); in onTouchEvent()
|
/frameworks/wilhelm/tests/listening/ |
D | seekTorture.c | 125 SLmillisecond newPos = duration * ((rand() & 65535) / 65536.0); in main() local 126 printf("seek %u\n", (unsigned) newPos); in main() 127 result = (*playerSeek)->SetPosition(playerSeek, newPos, SL_SEEKMODE_ACCURATE); in main() 132 printf("now %u\n", (unsigned) newPos); in main()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 207 protected Animator createTranslationAnimation(View view, float newPos, in createTranslationAnimation() argument 209 ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_X, newPos); in createTranslationAnimation() 411 float newPos; in dismissChild() local 420 newPos = -getTotalTranslationLength(animView); in dismissChild() 422 newPos = getTotalTranslationLength(animView); in dismissChild() 429 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math in dismissChild() 449 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener); in dismissChild() 459 newPos, velocity, getSize(animView)); in dismissChild()
|
/frameworks/wilhelm/src/android/ |
D | AudioTrackCallback.h | 69 void onNewPos([[maybe_unused]] uint32_t newPos) override { in onNewPos() argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 580 final float newPos = Math.max(0, Math.min(mCollapseOffset + dy, 582 if (newPos != mCollapseOffset) { 583 dy = newPos - mCollapseOffset; 623 mCollapseOffset = newPos; 625 final boolean isCollapsedNew = newPos != 0; 632 onScrollChanged(0, (int) newPos, 0, (int) (newPos - dy));
|
D | ViewPager.java | 837 final int newPos = mAdapter.getItemPosition(ii.object); in dataSetChanged() 839 if (newPos == PagerAdapter.POSITION_UNCHANGED) { in dataSetChanged() 843 if (newPos == PagerAdapter.POSITION_NONE) { in dataSetChanged() 863 if (ii.position != newPos) { in dataSetChanged() 866 newCurrItem = newPos; in dataSetChanged() 869 ii.position = newPos; in dataSetChanged()
|
/frameworks/base/media/jni/soundpool/ |
D | Stream.h | 140 void onNewPos(uint32_t newPos) override;
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_test_utils.h | 150 void onNewPos(uint32_t newPos) override;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSwipeHelper.java | 391 protected Animator createTranslationAnimation(View view, float newPos, in createTranslationAnimation() argument 393 return super.createTranslationAnimation(view, newPos, listener); in createTranslationAnimation()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 119 virtual void onNewPos([[maybe_unused]] uint32_t newPos) {} in onNewPos() argument
|
D | AudioTrack.h | 190 virtual void onNewPos([[maybe_unused]] uint32_t newPos) {} in onNewPos() argument
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 114 void onNewPos([[maybe_unused]] uint32_t newPos) override { in onNewPos() argument
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 287 void onNewPos(uint32_t newPos) override { in onNewPos() argument 288 mCallback(AudioTrack::EVENT_NEW_POS, mData, &newPos); in onNewPos()
|