Home
last modified time | relevance | path

Searched refs:oldVal (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java90 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
93 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) || in TimePickerSpinnerDelegate()
94 (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { in TimePickerSpinnerDelegate()
118 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
122 if (oldVal == maxValue && newVal == minValue) { in TimePickerSpinnerDelegate()
129 } else if (oldVal == minValue && newVal == maxValue) { in TimePickerSpinnerDelegate()
167 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
DDatePickerSpinnerDelegate.java121 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePickerSpinnerDelegate()
127 if (oldVal == maxDayOfMonth && newVal == 1) { in DatePickerSpinnerDelegate()
129 } else if (oldVal == 1 && newVal == maxDayOfMonth) { in DatePickerSpinnerDelegate()
132 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
135 if (oldVal == 11 && newVal == 0) { in DatePickerSpinnerDelegate()
137 } else if (oldVal == 0 && newVal == 11) { in DatePickerSpinnerDelegate()
140 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
DNumberPicker.java535 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoHideController.java103 int oldVal = mSystemUiVisibility; in setSystemUiVisibility() local
104 int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility()
105 int diff = newVal ^ oldVal; in setSystemUiVisibility()
DNavigationBarFragment.java523 final int oldVal = mSystemUiVisibility; in setSystemUiVisibility() local
524 final int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility()
525 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
532 ? -1 : computeBarMode(oldVal, newVal); in setSystemUiVisibility()
DStatusBar.java2170 final int oldVal = mSystemUiVisibility; in setSystemUiVisibility() local
2171 final int newVal = (oldVal&~mask) | (vis&mask); in setSystemUiVisibility()
2172 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
2176 Integer.toHexString(oldVal), Integer.toHexString(newVal), in setSystemUiVisibility()
2193 final int sbMode = computeStatusBarMode(oldVal, newVal); in setSystemUiVisibility()
2244 protected @TransitionMode int computeStatusBarMode(int oldVal, int newVal) { in computeStatusBarMode() argument
2245 return computeBarMode(oldVal, newVal); in computeStatusBarMode()
/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()
128 Evictor evictor = mTokenEvictors.remove(new Pair<>(k.account.type, oldVal.token)); in entryRemoved()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java108 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
137 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
152 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
/frameworks/rs/cpu_ref/
DrsCpuScript.cpp906 char *oldVal = reinterpret_cast<char *>(destPtr); in setGlobalVarWithElemDims() local
908 elem->decRefs(oldVal); in setGlobalVarWithElemDims()
909 oldVal += stride; in setGlobalVarWithElemDims()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DTimeController.java516 final boolean oldVal = SKIP_NOT_READY_JOBS; in onChange()
520 if (oldVal != SKIP_NOT_READY_JOBS) { in onChange()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1225 int32_t oldVal, newVal; in supportsSeamlessAudioFormatChange() local
1226 if (!mInputFormat->findInt32(keys[i], &oldVal) || in supportsSeamlessAudioFormatChange()
1228 oldVal != newVal) { in supportsSeamlessAudioFormatChange()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java449 int oldVal = getSystemUiVisibility(); in setSystemUiVisibility() local
458 int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility()
461 int nbMode = mNavigationBarWindow == null ? MODE_INVALID : computeNavBarMode(oldVal, in setSystemUiVisibility()