Home
last modified time | relevance | path

Searched refs:newVal (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoHideController.java104 int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility() local
105 int diff = newVal ^ oldVal; in setSystemUiVisibility()
108 mSystemUiVisibility = newVal; in setSystemUiVisibility()
120 if (mSystemUiVisibility != newVal) { in setSystemUiVisibility()
DNavigationBarFragment.java521 final int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility() local
522 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
525 mSystemUiVisibility = newVal; in setSystemUiVisibility()
529 ? -1 : computeBarMode(oldVal, newVal); in setSystemUiVisibility()
DStatusBar.java2093 final int newVal = (oldVal&~mask) | (vis&mask); in setSystemUiVisibility() local
2094 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
2098 Integer.toHexString(oldVal), Integer.toHexString(newVal), in setSystemUiVisibility()
2102 mSystemUiVisibility = newVal; in setSystemUiVisibility()
2115 final int sbMode = computeStatusBarMode(oldVal, newVal); in setSystemUiVisibility()
2157 protected @TransitionMode int computeStatusBarMode(int oldVal, int newVal) { in computeStatusBarMode() argument
2158 return computeBarMode(oldVal, newVal); in computeStatusBarMode()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java108 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
109 mDay = newVal; in DatePicker()
137 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
142 mMonth = newVal - 1; in DatePicker()
152 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
153 mYear = newVal; in DatePicker()
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java92 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
95 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) || in TimePickerSpinnerDelegate()
96 (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { in TimePickerSpinnerDelegate()
120 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
124 if (oldVal == maxValue && newVal == minValue) { in TimePickerSpinnerDelegate()
131 } else if (oldVal == minValue && newVal == maxValue) { in TimePickerSpinnerDelegate()
169 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
DDatePickerSpinnerDelegate.java123 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePickerSpinnerDelegate()
129 if (oldVal == maxDayOfMonth && newVal == 1) { in DatePickerSpinnerDelegate()
131 } else if (oldVal == 1 && newVal == maxDayOfMonth) { in DatePickerSpinnerDelegate()
134 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
137 if (oldVal == 11 && newVal == 0) { in DatePickerSpinnerDelegate()
139 } else if (oldVal == 0 && newVal == 11) { in DatePickerSpinnerDelegate()
142 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
145 mTempDate.set(Calendar.YEAR, newVal); in DatePickerSpinnerDelegate()
DNumberPicker.java536 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DTokenCache.java121 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { in entryRemoved() argument
123 if (oldVal != null && newVal == null) { in entryRemoved()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java1390 int newVal = mResettingSystemUiFlags in onInputEvent() local
1394 if (mResettingSystemUiFlags != newVal) { in onInputEvent()
1395 mResettingSystemUiFlags = newVal; in onInputEvent()
1401 newVal = mForceClearedSystemUiFlags in onInputEvent()
1403 if (mForceClearedSystemUiFlags != newVal) { in onInputEvent()
1404 mForceClearedSystemUiFlags = newVal; in onInputEvent()
3495 int newVal = mResettingSystemUiFlags | View.SYSTEM_UI_CLEARABLE_FLAGS; in clearClearableFlagsLw() local
3496 if (newVal != mResettingSystemUiFlags) { in clearClearableFlagsLw()
3497 mResettingSystemUiFlags = newVal; in clearClearableFlagsLw()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp1235 int32_t oldVal, newVal; in supportsSeamlessAudioFormatChange() local
1237 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()
1238 oldVal != newVal) { in supportsSeamlessAudioFormatChange()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1225 int32_t oldVal, newVal; in supportsSeamlessAudioFormatChange() local
1227 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()
1228 oldVal != newVal) { in supportsSeamlessAudioFormatChange()