Home
last modified time | relevance | path

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

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DNumberPickerBindingAdapter.java54 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in setListeners()
56 listener.onValueChange(picker, oldVal, newVal); in setListeners()
/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.java122 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePickerSpinnerDelegate()
128 if (oldVal == maxDayOfMonth && newVal == 1) { in DatePickerSpinnerDelegate()
130 } else if (oldVal == 1 && newVal == maxDayOfMonth) { in DatePickerSpinnerDelegate()
133 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
136 if (oldVal == 11 && newVal == 0) { in DatePickerSpinnerDelegate()
138 } else if (oldVal == 0 && newVal == 11) { in DatePickerSpinnerDelegate()
141 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
144 mTempDate.set(Calendar.YEAR, newVal); in DatePickerSpinnerDelegate()
DNumberPicker.java505 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange() argument
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DDatePicker.java296 public final void onColumnValueChanged(int column, int newVal) { in onColumnValueChanged() argument
301 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); in onColumnValueChanged()
303 mTempDate.add(Calendar.MONTH, newVal - oldVal); in onColumnValueChanged()
305 mTempDate.add(Calendar.YEAR, newVal - oldVal); in onColumnValueChanged()
/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/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DListenerBindingObject.java114 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { } in onValueChange() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java649 final int newVal = (oldVal & ~mask) | (vis & mask); in setSystemUiVisibility() local
650 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
653 mSystemUiVisibility = newVal; in setSystemUiVisibility()
657 ? -1 : mStatusBar.computeBarMode(oldVal, newVal, in setSystemUiVisibility()
DStatusBar.java2486 final int newVal = (oldVal&~mask) | (vis&mask); in setSystemUiVisibility() local
2487 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
2491 Integer.toHexString(oldVal), Integer.toHexString(newVal), in setSystemUiVisibility()
2495 mSystemUiVisibility = newVal; in setSystemUiVisibility()
2509 final int sbMode = computeStatusBarMode(oldVal, newVal); in setSystemUiVisibility()
2563 protected int computeStatusBarMode(int oldVal, int newVal) { in computeStatusBarMode() argument
2564 return computeBarMode(oldVal, newVal, View.STATUS_BAR_TRANSIENT, in computeStatusBarMode()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1213 int32_t oldVal, newVal; in supportsSeamlessAudioFormatChange() local
1215 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()
1216 oldVal != newVal) { in supportsSeamlessAudioFormatChange()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Decoder.cpp1219 int32_t oldVal, newVal; in supportsSeamlessAudioFormatChange() local
1221 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()
1222 oldVal != newVal) { in supportsSeamlessAudioFormatChange()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4483 int newVal = mResettingSystemUiFlags | in onInputEvent() local
4487 if (mResettingSystemUiFlags != newVal) { in onInputEvent()
4488 mResettingSystemUiFlags = newVal; in onInputEvent()
4494 newVal = mForceClearedSystemUiFlags | in onInputEvent()
4496 if (mForceClearedSystemUiFlags != newVal) { in onInputEvent()
4497 mForceClearedSystemUiFlags = newVal; in onInputEvent()
8459 int newVal = mResettingSystemUiFlags | View.SYSTEM_UI_CLEARABLE_FLAGS; in clearClearableFlagsLw() local
8460 if (newVal != mResettingSystemUiFlags) { in clearClearableFlagsLw()
8461 mResettingSystemUiFlags = newVal; in clearClearableFlagsLw()