Home
last modified time | relevance | path

Searched refs:newIndex (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DTaskGridLayoutAlgorithm.java245 int newIndex = currentFocusedIndex;
250 newIndex += gridInfo.tasksPerLine;
251 newIndex = newIndex >= taskCount ? currentFocusedIndex : newIndex;
254 newIndex -= gridInfo.tasksPerLine;
255 newIndex = newIndex < 0 ? currentFocusedIndex : newIndex;
258 newIndex++;
260 newIndex = newIndex > leftMostIndex ? currentFocusedIndex : newIndex;
263 newIndex--;
267 newIndex = newIndex < rightMostIndex ? currentFocusedIndex : newIndex;
270 return newIndex;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpTouchHelper.java97 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent() local
98 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
99 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent()
100 mInitialTouchY = event.getY(newIndex); in onInterceptTouchEvent()
DPanelView.java341 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onTouchEvent() local
342 final float newY = event.getY(newIndex); in onTouchEvent()
343 final float newX = event.getX(newIndex); in onTouchEvent()
344 mTrackingPointer = event.getPointerId(newIndex); in onTouchEvent()
598 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onInterceptTouchEvent() local
599 mTrackingPointer = event.getPointerId(newIndex); in onInterceptTouchEvent()
600 mInitialTouchX = event.getX(newIndex); in onInterceptTouchEvent()
601 mInitialTouchY = event.getY(newIndex); in onInterceptTouchEvent()
DNotificationPanelView.java1079 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onQsIntercept() local
1080 mTrackingPointer = event.getPointerId(newIndex); in onQsIntercept()
1081 mInitialTouchX = event.getX(newIndex); in onQsIntercept()
1082 mInitialTouchY = event.getY(newIndex); in onQsIntercept()
1456 final int newIndex = event.getPointerId(0) != upPointer ? 0 : 1; in onQsTouch() local
1457 final float newY = event.getY(newIndex); in onQsTouch()
1458 final float newX = event.getX(newIndex); in onQsTouch()
1459 mTrackingPointer = event.getPointerId(newIndex); in onQsTouch()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackView.java961 int newIndex = mStack.indexOfTask(focusedTask); in setRelativeFocusedTask() local
966 int tmpNewIndex = newIndex + (forward ? -1 : 1); in setRelativeFocusedTask()
968 newIndex = tmpNewIndex; in setRelativeFocusedTask()
974 newIndex = (newIndex + (forward ? -1 : 1) + taskCount) % taskCount; in setRelativeFocusedTask()
984 newIndex = taskCount - 1; in setRelativeFocusedTask()
990 for (newIndex = taskCount - 1; newIndex >= 0; newIndex--) { in setRelativeFocusedTask()
991 float taskP = mLayoutAlgorithm.getStackScrollForTask(tasks.get(newIndex)); in setRelativeFocusedTask()
998 for (newIndex = 0; newIndex < taskCount; newIndex++) { in setRelativeFocusedTask()
999 float taskP = mLayoutAlgorithm.getStackScrollForTask(tasks.get(newIndex)); in setRelativeFocusedTask()
1007 if (newIndex != -1) { in setRelativeFocusedTask()
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiTvClient.java193 public void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex) {
195 mService.setSystemAudioVolume(oldIndex, newIndex, maxIndex);
DIHdmiControlService.aidl63 void setSystemAudioVolume(int oldIndex, int newIndex, int maxIndex); in setSystemAudioVolume() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationListContainer.java50 void changeViewPosition(ExpandableView child, int newIndex); in changeViewPosition() argument
DNotificationChildrenContainer.java251 int newIndex = childIndex < 0 ? mChildren.size() : childIndex; in addNotification()
252 mChildren.add(newIndex, row); in addNotification()
258 mDividers.add(newIndex, divider); in addNotification()
DNotificationStackScrollLayout.java1069 public void updateSpeedBumpIndex(int newIndex, boolean noAmbient) {
1070 mAmbientState.setSpeedBumpIndex(newIndex);
3349 public void changeViewPosition(ExpandableView child, int newIndex) {
3371 if (child != null && child.getParent() == this && currentIndex != newIndex) {
3375 addView(child, newIndex);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/
DPhysicsAnimationLayoutTestCase.java282 void onChildReordered(View child, int oldIndex, int newIndex) { in onChildReordered() argument
284 () -> mWrappedController.onChildReordered(child, oldIndex, newIndex)); in onChildReordered()
DPhysicsAnimationLayoutTest.java502 void onChildReordered(View child, int oldIndex, int newIndex) {}
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java657 forwardIndexA = cccA.newIndex; in compareStrictly()
658 forwardIndexB = cccB.newIndex; in compareStrictly()
665 forwardIndexA = cccA.newIndex; in compareStrictly()
674 forwardIndexB = cccB.newIndex; in compareStrictly()
3034 public final int newIndex; field in PhoneNumberUtils.CountryCallingCodeAndNewIndex
3035 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument
3037 this.newIndex = newIndex; in CountryCallingCodeAndNewIndex()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationViewHierarchyManagerTest.java288 public void changeViewPosition(ExpandableView child, int newIndex) { in changeViewPosition() argument
290 mRows.add(newIndex, child); in changeViewPosition()
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java264 public void setSystemAudioVolume(final int oldIndex, final int newIndex, in setSystemAudioVolume() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleData.java375 int newIndex = Math.min(indexToRemove, mBubbles.size() - 1); in doRemove() local
376 Bubble newSelected = mBubbles.get(newIndex); in doRemove()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DExpandedAnimationController.java464 void onChildReordered(View child, int oldIndex, int newIndex) { in onChildReordered() argument
DStackAnimationController.java693 void onChildReordered(View child, int oldIndex, int newIndex) {
DPhysicsAnimationLayout.java150 abstract void onChildReordered(View child, int oldIndex, int newIndex); in onChildReordered() argument
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java1919 int newIndex = mStreamStates[streamType].getIndex(device); in adjustStreamVolume() local
1927 + newIndex + "stream=" + streamType); in adjustStreamVolume()
1929 mDeviceBroker.postSetAvrcpAbsoluteVolumeIndex(newIndex / 10); in adjustStreamVolume()
1939 + newIndex + " stream=" + streamType); in adjustStreamVolume()
1941 mDeviceBroker.postSetHearingAidVolumeIndex(newIndex, streamType); in adjustStreamVolume()
1947 setSystemAudioVolume(oldIndex, newIndex, getStreamMaxVolume(streamType), flags); in adjustStreamVolume()
1982 && (oldIndex != newIndex || isMuteAdjust)) { in adjustStreamVolume()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java1837 public void setSystemAudioVolume(final int oldIndex, final int newIndex, in setSystemAudioVolume() argument
1848 tv.changeVolume(oldIndex, newIndex - oldIndex, maxIndex); in setSystemAudioVolume()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4432 const ssize_t newIndex = getResource(value->data, value, true, 0, &newFlags, in resolveReference() local
4434 if (newIndex == BAD_INDEX) { in resolveReference()
4439 value->data, (int)newIndex, (int)value->dataType, value->data); in resolveReference()
4443 if (newIndex < 0) { in resolveReference()
4449 blockIndex = newIndex; in resolveReference()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java2892 final int newIndex = actionIndex == 0 ? 1 : 0; in onPointerUp() local
2893 mScrollPointerId = e.getPointerId(newIndex); in onPointerUp()
2894 mInitialTouchX = mLastTouchX = (int) (e.getX(newIndex) + 0.5f); in onPointerUp()
2895 mInitialTouchY = mLastTouchY = (int) (e.getY(newIndex) + 0.5f); in onPointerUp()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt68772 Landroid/telephony/PhoneNumberUtils$CountryCallingCodeAndNewIndex;->newIndex:I