Searched refs:newValue (Results 1 - 25 of 124) sorted by last modified time

12345

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefault.java134 int newValue = edge + mProvider.getSize(i);
135 if (findLarge ? newValue > value : newValue < value) {
137 value = newValue;
171 int newValue = edge - mProvider.getSize(i);
172 if (findLarge ? newValue > value : newValue < value) {
173 value = newValue;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java416 * @param newValue A new value desired to be set on the column.
418 public void onColumnValueChanged(int columnIndex, int newValue) { argument
420 if (column.getCurrentValue() != newValue) {
421 column.setCurrentValue(newValue);
505 int newValue = mColumns.get(colIndex).getMinValue() + position;
506 onColumnValueChanged(colIndex, newValue);
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridActivity.java38 void onImportantForAccessibilityChanged(View view, int newValue); argument
H A DGridWidgetTest.java4874 public void onImportantForAccessibilityChanged(View view, int newValue) {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatBaseAutoSizeTest.java1050 final int newValue = 33;
1054 newValue,
1056 assertEquals(newValue, ((AutoSizeableTextView) autoSizeView).getAutoSizeStepGranularity());
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DColorCutQuantizer.java506 final int newValue;
509 newValue = value << (targetWidth - currentWidth);
512 newValue = value >> (currentWidth - targetWidth);
514 return newValue & ((1 << targetWidth) - 1);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreference.java187 * @param newValue The new value of the Preference.
190 boolean onPreferenceChange(Preference preference, Object newValue); argument
1048 * @param newValue The new value of this Preference.
1052 public boolean callChangeListener(Object newValue) { argument
1053 return mOnChangeListener == null || mOnChangeListener.onPreferenceChange(this, newValue);
H A DTwoStatePreference.java65 final boolean newValue = !isChecked();
66 if (callChangeListener(newValue)) {
67 setChecked(newValue);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java5226 long runningAverage(long oldAverage, long newValue) { argument
5228 return newValue;
5230 return (oldAverage / 4 * 3) + (newValue / 4);
/frameworks/support/transition/src/android/support/transition/
H A DTransition.java1861 Object newValue = newValues.values.get(key);
1863 if (oldValue == null && newValue == null) {
1866 } else if (oldValue == null || newValue == null) {
1871 changed = !oldValue.equals(newValue);
1875 + "oldValue != newValue for " + key
1876 + ": old, new = " + oldValue + ", " + newValue);
/frameworks/support/compat/java/android/support/v4/util/
H A DLruCache.java224 * @param newValue the new value for {@code key}, if it exists. If non-null,
228 protected void entryRemoved(boolean evicted, K key, V oldValue, V newValue) {} argument
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java61 public void onChange(boolean newValue) {
62 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
73 public void onChange(boolean newValue) {
74 mLayoutManager.setReverseLayout(newValue);
85 public void onChange(boolean newValue) {
86 ViewCompat.setLayoutDirection(mRecyclerView, newValue ?
97 public void onChange(boolean newValue) {
98 mLayoutManager.setStackFromEnd(newValue);
H A DLinearLayoutManagerActivity.java58 public void onChange(boolean newValue) {
59 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
74 public void onChange(boolean newValue) {
75 mLayoutManager.setReverseLayout(newValue);
86 public void onChange(boolean newValue) {
87 ViewCompat.setLayoutDirection(mRecyclerView, newValue ?
98 public void onChange(boolean newValue) {
99 mLayoutManager.setStackFromEnd(newValue);
109 public void onChange(boolean newValue) {
110 mLinearSnapHelper.attachToRecyclerView(newValue
[all...]
H A DLinearLayoutManagerJankActivity.java70 public void onChange(boolean newValue) { mBindSlowdownEnabled = newValue; }
77 public void onChange(boolean newValue) { mInflateSlowdownEnabled = newValue; }
84 public void onChange(boolean newValue) {
85 mLayoutManager.setItemPrefetchEnabled(newValue);
H A DStaggeredGridLayoutManagerActivity.java48 public void onChange(boolean newValue) {
49 if (mVertical == newValue) {
52 mVertical = newValue;
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/touch/
H A DDragAndDropActivity.java45 public void onChange(boolean newValue) {
46 mDragUpEnabled = newValue;
56 public void onChange(boolean newValue) {
57 mDragDownEnabled = newValue;
67 public void onChange(boolean newValue) {
68 mLongPressDragEnabled = newValue;
H A DSwipeToDismissActivity.java48 public void onChange(boolean newValue) {
49 mSwipeStartEnabled = newValue;
59 public void onChange(boolean newValue) {
60 mSwipeEndEnabled = newValue;
70 public void onChange(boolean newValue) {
71 mPointerSwipeEnabled = newValue;
86 public void onChange(boolean newValue) {
87 mCustomSwipeEnabled = newValue;
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/util/
H A DConfigToggle.java34 abstract public void onChange(boolean newValue); argument
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
H A DLiveData.java102 Object newValue;
104 newValue = mPendingData;
108 setValue((T) newValue);
/frameworks/support/lifecycle/extensions/src/test/java/android/arch/lifecycle/
H A DThreadedLiveDataTest.java62 public void onChanged(@Nullable String newValue) {
65 assertThat(newValue, is("success"));
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaSessionCompat.java3144 public void onMetadataUpdate(int key, Object newValue) {
3146 && newValue instanceof Rating) {
3148 RatingCompat.fromRating(newValue));
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DGridLayoutManagerActivity.java61 public void onChange(boolean newValue) {
62 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
73 public void onChange(boolean newValue) {
74 mLayoutManager.setReverseLayout(newValue);
85 public void onChange(boolean newValue) {
86 ViewCompat.setLayoutDirection(mRecyclerView, newValue ?
97 public void onChange(boolean newValue) {
98 mLayoutManager.setStackFromEnd(newValue);
H A DLinearLayoutManagerActivity.java58 public void onChange(boolean newValue) {
59 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
74 public void onChange(boolean newValue) {
75 mLayoutManager.setReverseLayout(newValue);
86 public void onChange(boolean newValue) {
87 ViewCompat.setLayoutDirection(mRecyclerView, newValue ?
98 public void onChange(boolean newValue) {
99 mLayoutManager.setStackFromEnd(newValue);
109 public void onChange(boolean newValue) {
110 mLinearSnapHelper.attachToRecyclerView(newValue
[all...]
H A DLinearLayoutManagerJankActivity.java70 public void onChange(boolean newValue) { mBindSlowdownEnabled = newValue; }
77 public void onChange(boolean newValue) { mInflateSlowdownEnabled = newValue; }
84 public void onChange(boolean newValue) {
85 mLayoutManager.setItemPrefetchEnabled(newValue);
H A DStaggeredGridLayoutManagerActivity.java48 public void onChange(boolean newValue) {
49 if (mVertical == newValue) {
52 mVertical = newValue;

Completed in 498 milliseconds

12345