/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | PreviewNavInflater.java | 45 public void onTuningChanged(String key, String newValue) { argument 49 if (isValidLayout(newValue)) { 50 super.onTuningChanged(key, newValue); 53 super.onTuningChanged(key, newValue); 57 private boolean isValidLayout(String newValue) { argument 58 if (newValue == null) { 63 for (int i = 0; i < newValue.length(); i++) { 64 if (newValue.charAt(i) == GRAVITY_SEPARATOR.charAt(0)) { 72 return separatorCount == 2 && (newValue.length() - lastGravitySeparator) != 1;
|
H A D | TunerSwitch.java | 40 public void onTuningChanged(String key, String newValue) { argument 41 setChecked(newValue != null ? Integer.parseInt(newValue) != 0 : mDefault);
|
H A D | TunablePadding.java | 51 public void onTuningChanged(String key, String newValue) { argument 53 if (newValue != null) { 54 dimen = (int) (Integer.parseInt(newValue) * mDensity);
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/ |
H A D | ConstraintListener.java | 30 * @param newValue the new value of the constraint 32 void onConstraintChanged(@Nullable T newValue); argument
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | LinearLayoutManagerActivity.java | 58 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 D | StaggeredGridLayoutManagerActivity.java | 48 public void onChange(boolean newValue) { 49 if (mVertical == newValue) { 52 mVertical = newValue;
|
H A D | LinearLayoutManagerJankActivity.java | 71 public void onChange(boolean newValue) { mBindSlowdownEnabled = newValue; } 78 public void onChange(boolean newValue) { mInflateSlowdownEnabled = newValue; } 85 public void onChange(boolean newValue) { 86 mLayoutManager.setItemPrefetchEnabled(newValue);
|
H A D | GridLayoutManagerActivity.java | 62 public void onChange(boolean newValue) { 63 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);
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | LinearLayoutManagerActivity.java | 58 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 D | StaggeredGridLayoutManagerActivity.java | 48 public void onChange(boolean newValue) { 49 if (mVertical == newValue) { 52 mVertical = newValue;
|
H A D | LinearLayoutManagerJankActivity.java | 71 public void onChange(boolean newValue) { mBindSlowdownEnabled = newValue; } 78 public void onChange(boolean newValue) { mInflateSlowdownEnabled = newValue; } 85 public void onChange(boolean newValue) { 86 mLayoutManager.setItemPrefetchEnabled(newValue);
|
H A D | GridLayoutManagerActivity.java | 62 public void onChange(boolean newValue) { 63 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);
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
H A D | NumericalWatcher.java | 38 public abstract void onNewValue(int newValue); argument 47 int newValue = sanitize(unsanitized); 48 if (currentValue != newValue || unsanitized != newValue) { 49 currentValue = newValue; 51 editable.append(newValue + ""); 53 onNewValue(newValue);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/ |
H A D | ConfigToggle.java | 34 abstract public void onChange(boolean newValue); argument
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/util/ |
H A D | ConfigToggle.java | 34 abstract public void onChange(boolean newValue); argument
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | MathExpr.java | 115 final Expr newValue; 120 newValue = parseInverse(model, value, varExpr); 122 newValue = model.math(value, "-", constExpr); 126 newValue = model.math(value, "/", constExpr); 130 newValue = model.math(constExpr, "-", value); 132 newValue = model.math(value, "+", constExpr); 137 newValue = model.math(constExpr, "/", value); 139 newValue = model.math(value, "*", constExpr); 145 return varExpr.generateInverse(model, newValue, bindingClassName);
|
/frameworks/support/collection/ktx/src/main/java/androidx/collection/ |
H A D | LruCache.kt | 41 crossinline onEntryRemoved: (evicted: Boolean, key: K, oldValue: V, newValue: V?) -> Unit = 47 override fun entryRemoved(evicted: Boolean, key: K, oldValue: V, newValue: V?) { 48 onEntryRemoved(evicted, key, oldValue, newValue)
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | LruCache.kt | 43 crossinline onEntryRemoved: (evicted: Boolean, key: K, oldValue: V, newValue: V?) -> Unit = 49 override fun entryRemoved(evicted: Boolean, key: K, oldValue: V, newValue: V?) { 50 onEntryRemoved(evicted, key, oldValue, newValue)
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/ |
H A D | DragAndDropActivity.java | 46 public void onChange(boolean newValue) { 47 mDragUpEnabled = newValue; 57 public void onChange(boolean newValue) { 58 mDragDownEnabled = newValue; 68 public void onChange(boolean newValue) { 69 mLongPressDragEnabled = newValue;
|
H A D | SwipeToDismissActivity.java | 47 public void onChange(boolean newValue) { 48 mSwipeStartEnabled = newValue; 58 public void onChange(boolean newValue) { 59 mSwipeEndEnabled = newValue; 69 public void onChange(boolean newValue) { 70 mPointerSwipeEnabled = newValue; 84 public void onChange(boolean newValue) { 85 mCustomSwipeEnabled = newValue;
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/touch/ |
H A D | DragAndDropActivity.java | 46 public void onChange(boolean newValue) { 47 mDragUpEnabled = newValue; 57 public void onChange(boolean newValue) { 58 mDragDownEnabled = newValue; 68 public void onChange(boolean newValue) { 69 mLongPressDragEnabled = newValue;
|
H A D | SwipeToDismissActivity.java | 47 public void onChange(boolean newValue) { 48 mSwipeStartEnabled = newValue; 58 public void onChange(boolean newValue) { 59 mSwipeEndEnabled = newValue; 69 public void onChange(boolean newValue) { 70 mPointerSwipeEnabled = newValue; 84 public void onChange(boolean newValue) { 85 mCustomSwipeEnabled = newValue;
|
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | SettingsObserver.java | 60 * @param newValue the new value of the setting. 63 void onSettingRestored(String prevValue, String newValue, int userId); argument 77 String newValue = intent.getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE); 78 sendSettingRestored(prevValue, newValue, getSendingUserId()); 138 private void sendSettingRestored(final String prevValue, final String newValue, final int userId) { argument 140 l.onSettingRestored(prevValue, newValue, userId);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | MetricsUtils.java | 113 int newValue = histogram.get(key) + 1; 114 histogram.put(key, newValue); 116 return newValue; 159 int newValue = histogram.get(bucket) + 1; 160 histogram.put(bucket, newValue); 162 return newValue;
|
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/swipe/ |
H A D | PageFragment.java | 76 void updateValue(int newValue) { argument 77 mValue = newValue; 78 ((TextView) getView()).setText(String.valueOf(newValue));
|