Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DTimePicker.java149 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePicker()
152 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) in TimePicker()
153 || (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { in TimePicker()
177 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePicker()
181 if (oldVal == maxValue && newVal == minValue) { in TimePicker()
188 } else if (oldVal == minValue && newVal == maxValue) { in TimePicker()
226 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in TimePicker()
DDatePicker.java174 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePicker()
180 if (oldVal == maxDayOfMonth && newVal == 1) { in DatePicker()
182 } else if (oldVal == 1 && newVal == maxDayOfMonth) { in DatePicker()
185 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); in DatePicker()
188 if (oldVal == 11 && newVal == 0) { in DatePicker()
190 } else if (oldVal == 0 && newVal == 11) { in DatePicker()
193 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePicker()
DNumberPicker.java484 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange() argument
/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/driver/
DrsdBcc.cpp539 char *oldVal = reinterpret_cast<char *>(destPtr); in rsdScriptSetGlobalVarWithElemDims() local
541 elem->decRefs(oldVal); in rsdScriptSetGlobalVarWithElemDims()
542 oldVal += stride; in rsdScriptSetGlobalVarWithElemDims()
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdBcc.cpp682 char *oldVal = reinterpret_cast<char *>(destPtr); in rsdScriptSetGlobalVarWithElemDims() local
684 elem->decRefs(oldVal); in rsdScriptSetGlobalVarWithElemDims()
685 oldVal += stride; in rsdScriptSetGlobalVarWithElemDims()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
DTabletStatusBar.java1061 final int oldVal = mSystemUiVisibility; in setSystemUiVisibility() local
1062 final int newVal = (oldVal&~mask) | (vis&mask); in setSystemUiVisibility()
1063 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java1795 final int oldVal = mSystemUiVisibility; in setSystemUiVisibility() local
1796 final int newVal = (oldVal&~mask) | (vis&mask); in setSystemUiVisibility()
1797 final int diff = newVal ^ oldVal; in setSystemUiVisibility()