/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | PreviewNavInflater.java | 44 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 48 if (isValidLayout(newValue)) { in onTuningChanged() 49 super.onTuningChanged(key, newValue); in onTuningChanged() 52 super.onTuningChanged(key, newValue); in onTuningChanged() 56 private boolean isValidLayout(String newValue) { in isValidLayout() argument 57 if (newValue == null) { in isValidLayout() 62 for (int i = 0; i < newValue.length(); i++) { in isValidLayout() 63 if (newValue.charAt(i) == GRAVITY_SEPARATOR.charAt(0)) { in isValidLayout() 71 return separatorCount == 2 && (newValue.length() - lastGravitySeparator) != 1; in isValidLayout()
|
D | NightModeFragment.java | 122 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 123 final Boolean value = (Boolean) newValue; in onPreferenceChange() 170 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 172 mAdjustBrightness.setChecked(newValue != null && Integer.parseInt(newValue) != 0); in onTuningChanged() 175 mAdjustTint.setChecked(newValue == null || Integer.parseInt(newValue) != 0); in onTuningChanged()
|
D | ClockPreference.java | 56 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 58 mBlacklist = StatusBarIconController.getIconBlacklist(newValue); in onTuningChanged() 61 mHasSeconds = newValue != null && Integer.parseInt(newValue) != 0; in onTuningChanged()
|
D | TunerSwitch.java | 39 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 40 setChecked(newValue != null ? Integer.parseInt(newValue) != 0 : mDefault); in onTuningChanged()
|
D | StatusBarSwitch.java | 54 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 58 mBlacklist = StatusBarIconController.getIconBlacklist(newValue); in onTuningChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NightModeController.java | 117 public void setAdjustTint(Boolean newValue) { in setAdjustTint() argument 118 TunerService.get(mContext).setValue(NIGHT_MODE_ADJUST_TINT, ((Boolean) newValue) ? 1 : 0); in setAdjustTint() 160 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 162 mCustomMatrix = newValue != null ? toValues(newValue) : null; in onTuningChanged() 165 mAdjustTint = newValue == null || Integer.parseInt(newValue) != 0; in onTuningChanged() 169 mIsAuto = newValue != null && Integer.parseInt(newValue) >= Secure.TWILIGHT_MODE_AUTO; in onTuningChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 305 final boolean newValue = newRestrictions.getBoolean(key); in applyUserRestrictions() 308 if (newValue != prevValue) { in applyUserRestrictions() 309 applyUserRestriction(context, userId, key, newValue); in applyUserRestrictions() 322 boolean newValue) { in applyUserRestriction() argument 325 + " key=" + key + " value=" + newValue); in applyUserRestriction() 339 if (newValue) { in applyUserRestriction() 346 if (newValue) { in applyUserRestriction() 367 if (newValue) { in applyUserRestriction() 375 if (newValue) { in applyUserRestriction() 386 if (newValue) { in applyUserRestriction() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogComponent.java | 83 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 85 final boolean volumeDownToEnterSilent = newValue != null in onTuningChanged() 86 ? Integer.parseInt(newValue) != 0 in onTuningChanged() 92 final boolean volumeUpToExitSilent = newValue != null in onTuningChanged() 93 ? Integer.parseInt(newValue) != 0 in onTuningChanged() 99 final boolean doNotDisturbWhenSilent = newValue != null in onTuningChanged() 100 ? Integer.parseInt(newValue) != 0 in onTuningChanged()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | SettingsObserver.java | 63 void onSettingRestored(String prevValue, String newValue, int userId); in onSettingRestored() argument 77 String newValue = intent.getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE); in SettingsObserver() 78 sendSettingRestored(prevValue, newValue, getSendingUserId()); in SettingsObserver() 138 …private void sendSettingRestored(final String prevValue, final String newValue, final int userId) { in sendSettingRestored() argument 140 l.onSettingRestored(prevValue, newValue, userId); in sendSettingRestored()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteConnection.java | 250 final long newValue = SQLiteGlobal.getDefaultPageSize(); in setPageSize() local 252 if (value != newValue) { in setPageSize() 253 execute("PRAGMA page_size=" + newValue, null, null); in setPageSize() 260 final long newValue = SQLiteGlobal.getWALAutoCheckpoint(); in setAutoCheckpointInterval() local 262 if (value != newValue) { in setAutoCheckpointInterval() 263 executeForLong("PRAGMA wal_autocheckpoint=" + newValue, null, null); in setAutoCheckpointInterval() 270 final long newValue = SQLiteGlobal.getJournalSizeLimit(); in setJournalSizeLimit() local 272 if (value != newValue) { in setJournalSizeLimit() 273 executeForLong("PRAGMA journal_size_limit=" + newValue, null, null); in setJournalSizeLimit() 280 final long newValue = mConfiguration.foreignKeyConstraintsEnabled ? 1 : 0; in setForeignKeyModeFromConfiguration() local [all …]
|
/frameworks/rs/java/tests/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BNNMTest.java | 98 int newValue = (originalValue + delta); in addByteNoise() local 99 if (newValue < -127) { in addByteNoise() 100 newValue = -127; in addByteNoise() 102 if (newValue > 127) { in addByteNoise() 103 newValue = 127; in addByteNoise() 105 data[n] = (byte)(newValue); in addByteNoise()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | StaggeredGridDefault.java | 134 int newValue = edge + mProvider.getSize(i); in findRowMax() local 135 if (findLarge ? newValue > value : newValue < value) { in findRowMax() 137 value = newValue; in findRowMax() 171 int newValue = edge - mProvider.getSize(i); in findRowMin() local 172 if (findLarge ? newValue > value : newValue < value) { in findRowMin() 173 value = newValue; in findRowMin()
|
/frameworks/support/v4/kitkat/android/support/v4/media/session/ |
D | MediaSessionCompatApi19.java | 94 public void onMetadataUpdate(int key, Object newValue) { in onMetadataUpdate() argument 95 if (key == MediaMetadataEditor.RATING_KEY_BY_USER && newValue instanceof Rating) { in onMetadataUpdate() 96 mCallback.onSetRating(newValue); in onMetadataUpdate()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LockSettingsStrongAuth.java | 97 int newValue = strongAuthReason == STRONG_AUTH_NOT_REQUIRED in handleRequireStrongAuthOneUser() local 100 if (oldValue != newValue) { in handleRequireStrongAuthOneUser() 101 mStrongAuthForUser.put(userId, newValue); in handleRequireStrongAuthOneUser() 102 notifyStrongAuthTrackers(newValue, userId); in handleRequireStrongAuthOneUser()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | StringFloat.java | 24 public StringFloat(String newKey, float newValue) { in StringFloat() argument 26 value = newValue; in StringFloat()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LruCacheTest.java | 373 boolean evicted, String key, String oldValue, String newValue) { in testEntryRemovedIsCalledWithoutSynchronization() 411 boolean evicted, String key, String oldValue, String newValue) { in testCreateWithConcurrentPut() 412 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentPut() 438 boolean evicted, String key, Integer oldValue, Integer newValue) { in testCreateWithConcurrentCreate() 439 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentCreate() 458 boolean evicted, String key, String oldValue, String newValue) { 461 : (key + "=" + oldValue + ">" + newValue);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
D | StaticAccessImportOnDemandTest.java | 45 String newValue = UUID.randomUUID().toString(); in assertStaticContents() local 46 StaticTestsVo.ourStaticObservable.set(newValue); in assertStaticContents()
|
D | StaticAccessImportOnDemandWithConflictTest.java | 45 String newValue = UUID.randomUUID().toString(); in assertStaticContents() local 46 StaticTestsVo.ourStaticObservable.set(newValue); in assertStaticContents()
|
D | StaticAccessTest.java | 47 String newValue = UUID.randomUUID().toString(); in assertStaticContents() local 48 StaticTestsVo.ourStaticObservable.set(newValue); in assertStaticContents()
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
D | TwoStatePreference.java | 62 final boolean newValue = !isChecked(); in onClick() 63 if (callChangeListener(newValue)) { in onClick() 64 setChecked(newValue); in onClick()
|
/frameworks/base/core/java/android/preference/ |
D | TwoStatePreference.java | 64 final boolean newValue = !isChecked(); in onClick() 65 if (callChangeListener(newValue)) { in onClick() 66 setChecked(newValue); in onClick()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
D | BaseFragmentPagerAdapter.java | 184 Fragment oldValue, Fragment newValue) { in entryRemoved() argument 186 if (evicted || (newValue != null && oldValue != newValue)) { in entryRemoved()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSAnimator.java | 119 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 121 mAllowFancy = newValue == null || Integer.parseInt(newValue) != 0; in onTuningChanged() 126 mFullRows = newValue == null || Integer.parseInt(newValue) != 0; in onTuningChanged()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NumericTextView.java | 271 final int newValue = mValue * RADIX + keyValue; in handleKeyUp() local 272 if (newValue <= mMaxValue) { in handleKeyUp() 273 mValue = newValue; in handleKeyUp()
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TextViewBindingAdapter.java | 349 final TextWatcher newValue; in setTextWatcher() local 351 newValue = null; in setTextWatcher() 353 newValue = new TextWatcher() { in setTextWatcher() 379 final TextWatcher oldValue = ListenerUtil.trackListener(view, newValue, R.id.textWatcher); in setTextWatcher() 383 if (newValue != null) { in setTextWatcher() 384 view.addTextChangedListener(newValue); in setTextWatcher()
|