Home
last modified time | relevance | path

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

/frameworks/support/samples/SupportLeanbackShowcase/
Dbuild-release.py9 def replace(inputFile, pattern, newVal, ): argument
10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile)
15 line = re.sub(pattern, newVal, line)
21 file.write(newVal + "\n")
Dbuild-local.py9 def replace(inputFile, pattern, newVal, ): argument
10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile)
15 line = re.sub(pattern, newVal, line)
21 file.write(newVal + "\n")
/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.java89 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
92 if ((oldVal == HOURS_IN_HALF_DAY - 1 && newVal == HOURS_IN_HALF_DAY) || in TimePickerSpinnerDelegate()
93 (oldVal == HOURS_IN_HALF_DAY && newVal == HOURS_IN_HALF_DAY - 1)) { in TimePickerSpinnerDelegate()
117 public void onValueChange(NumberPicker spinner, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
121 if (oldVal == maxValue && newVal == minValue) { in TimePickerSpinnerDelegate()
128 } else if (oldVal == minValue && newVal == maxValue) { in TimePickerSpinnerDelegate()
166 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in TimePickerSpinnerDelegate()
DDatePickerSpinnerDelegate.java124 public void onValueChange(NumberPicker picker, int oldVal, int newVal) { in DatePickerSpinnerDelegate()
130 if (oldVal == maxDayOfMonth && newVal == 1) { in DatePickerSpinnerDelegate()
132 } else if (oldVal == 1 && newVal == maxDayOfMonth) { in DatePickerSpinnerDelegate()
135 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
138 if (oldVal == 11 && newVal == 0) { in DatePickerSpinnerDelegate()
140 } else if (oldVal == 0 && newVal == 11) { in DatePickerSpinnerDelegate()
143 mTempDate.add(Calendar.MONTH, newVal - oldVal); in DatePickerSpinnerDelegate()
146 mTempDate.set(Calendar.YEAR, newVal); in DatePickerSpinnerDelegate()
DNumberPicker.java506 void onValueChange(NumberPicker picker, int oldVal, int newVal); in onValueChange() argument
/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/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
DDatePicker.java207 public final void onColumnValueChanged(int column, int newVal) { in onColumnValueChanged() argument
212 mTempDate.add(Calendar.DAY_OF_MONTH, newVal - oldVal); in onColumnValueChanged()
214 mTempDate.add(Calendar.MONTH, newVal - oldVal); in onColumnValueChanged()
216 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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1073 int32_t oldVal, newVal; in supportsSeamlessAudioFormatChange() local
1075 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()
1076 oldVal != newVal) { in supportsSeamlessAudioFormatChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java3053 final int newVal = (oldVal&~mask) | (vis&mask); in setSystemUiVisibility() local
3054 final int diff = newVal ^ oldVal; in setSystemUiVisibility()
3058 Integer.toHexString(oldVal), Integer.toHexString(newVal), in setSystemUiVisibility()
3062 mSystemUiVisibility = newVal; in setSystemUiVisibility()
3076 final int sbMode = computeBarMode(oldVal, newVal, mStatusBarView.getBarTransitions(), in setSystemUiVisibility()
3082 oldVal, newVal, mNavigationBarView.getBarTransitions(), in setSystemUiVisibility()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3932 int newVal = mResettingSystemUiFlags | in onInputEvent() local
3936 if (mResettingSystemUiFlags != newVal) { in onInputEvent()
3937 mResettingSystemUiFlags = newVal; in onInputEvent()
3943 newVal = mForceClearedSystemUiFlags | in onInputEvent()
3945 if (mForceClearedSystemUiFlags != newVal) { in onInputEvent()
3946 mForceClearedSystemUiFlags = newVal; in onInputEvent()
7833 int newVal = mResettingSystemUiFlags | View.SYSTEM_UI_CLEARABLE_FLAGS;
7834 if (newVal != mResettingSystemUiFlags) {
7835 mResettingSystemUiFlags = newVal;