Searched refs:newPos (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | AdapterView.java | 1053 int newPos; in handleDataChanged() local 1063 newPos = findSyncPosition(); in handleDataChanged() 1064 if (newPos >= 0) { in handleDataChanged() 1066 int selectablePos = lookForSelectablePosition(newPos, true); in handleDataChanged() 1067 if (selectablePos == newPos) { in handleDataChanged() 1069 setNextSelectedPositionInt(newPos); in handleDataChanged() 1076 newPos = getSelectedItemPosition(); in handleDataChanged() 1079 if (newPos >= count) { in handleDataChanged() 1080 newPos = count - 1; in handleDataChanged() 1082 if (newPos < 0) { in handleDataChanged() [all …]
|
D | Gallery.java | 626 int newPos = mFirstPosition + newSelectedChildIndex; in setSelectionToCenterChild() local 628 if (newPos != mSelectedPosition) { in setSelectionToCenterChild() 629 setSelectedPositionInt(newPos); in setSelectionToCenterChild() 630 setNextSelectedPositionInt(newPos); in setSelectionToCenterChild()
|
D | AbsListView.java | 5620 int newPos; in handleDataChanged() local 5666 newPos = findSyncPosition(); in handleDataChanged() 5667 if (newPos >= 0) { in handleDataChanged() 5669 selectablePos = lookForSelectablePosition(newPos, true); in handleDataChanged() 5670 if (selectablePos == newPos) { in handleDataChanged() 5672 mSyncPosition = newPos; in handleDataChanged() 5685 setNextSelectedPositionInt(newPos); in handleDataChanged() 5702 newPos = getSelectedItemPosition(); in handleDataChanged() 5705 if (newPos >= count) { in handleDataChanged() 5706 newPos = count - 1; in handleDataChanged() [all …]
|
D | Switch.java | 1061 final float newPos = MathUtils.constrain(mThumbPosition + dPos, 0, 1); in onTouchEvent() local 1062 if (newPos != mThumbPosition) { in onTouchEvent() 1064 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 | 149 protected ObjectAnimator createTranslationAnimation(View v, float newPos) { in createTranslationAnimation() argument 151 mSwipeDirection == X ? View.TRANSLATION_X : View.TRANSLATION_Y, newPos); in createTranslationAnimation() 371 float newPos; in dismissChild() local 383 newPos = -getSize(animView); in dismissChild() 385 newPos = getSize(animView); in dismissChild() 392 (int) (Math.abs(newPos - getTranslation(animView)) * 1000f / Math in dismissChild() 412 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener); in dismissChild() 421 newPos, velocity, getSize(animView)); in dismissChild()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 177 int newPos = values[i].mField.getPosAtDepth(depth); in matchesSimple() local 178 if (newPos != currentPos) { in matchesSimple() 181 currentPos = newPos; in matchesSimple()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 510 final float newPos = Math.max(0, Math.min(mCollapseOffset + dy, 512 if (newPos != mCollapseOffset) { 513 dy = newPos - mCollapseOffset; 533 mCollapseOffset = newPos; 535 final boolean isCollapsedNew = newPos != 0; 542 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/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleData.java | 342 int newPos = insertBubble(0, bubble); in doUpdate() local 343 if (prevPos != newPos) { in doUpdate() 344 packGroup(newPos); in doUpdate()
|