Lines Matching full:newvalue
858 private boolean writeWebViewProviderOptions(Object newValue) {
861 newValue == null ? "" : newValue.toString());
863 return newValue != null && newValue.equals(updatedProvider);
1216 private void writeTrackFrameTimeOptions(Object newValue) {
1218 newValue == null ? "" : newValue.toString());
1242 private void writeShowNonRectClipOptions(Object newValue) {
1244 newValue == null ? "" : newValue.toString());
1289 private void writeDebugHwOverdrawOptions(Object newValue) {
1291 newValue == null ? "" : newValue.toString());
1527 private void writeLogdSizeOption(Object newValue) {
1528 boolean disable = (newValue != null) &&
1529 (newValue.toString().equals(SELECT_LOGD_OFF_SIZE_MARKER_VALUE));
1541 newValue = SELECT_LOGD_MINIMUM_SIZE_VALUE;
1561 final String size = ((newValue != null) && (newValue.toString().length() != 0)) ?
1562 newValue.toString() : defaultValue;
1639 private void writeLogpersistOption(Object newValue, boolean skipWarning) {
1645 newValue = null;
1649 if ((newValue == null) || newValue.toString().equals("")) {
1674 if ((currentBuffer != null) && !currentBuffer.equals(newValue.toString())) {
1677 SystemProperties.set(SELECT_LOGPERSIST_PROPERTY_BUFFER, newValue.toString());
1713 private void writeUsbConfigurationOption(Object newValue) {
1715 String function = newValue.toString();
1783 private void writeAnimationScaleOption(int which, ListPreference pref, Object newValue) {
1785 float scale = newValue != null ? Float.parseFloat(newValue.toString()) : 1;
1811 private void writeOverlayDisplayDevicesOptions(Object newValue) {
1813 Settings.Global.OVERLAY_DISPLAY_DEVICES, (String) newValue);
1838 private void writeAppProcessLimitOptions(Object newValue) {
1840 int limit = newValue != null ? Integer.parseInt(newValue.toString()) : -1;
2100 public boolean onPreferenceChange(Preference preference, Object newValue) {
2102 SystemProperties.set(HDCP_CHECKING_PROPERTY, newValue.toString());
2107 if (newValue == null) {
2111 if (writeWebViewProviderOptions(newValue)) {
2122 writeLogdSizeOption(newValue);
2125 writeLogpersistOption(newValue, false);
2128 writeUsbConfigurationOption(newValue);
2131 writeAnimationScaleOption(0, mWindowAnimationScale, newValue);
2134 writeAnimationScaleOption(1, mTransitionAnimationScale, newValue);
2137 writeAnimationScaleOption(2, mAnimatorDurationScale, newValue);
2140 writeOverlayDisplayDevicesOptions(newValue);
2143 writeTrackFrameTimeOptions(newValue);
2146 writeDebugHwOverdrawOptions(newValue);
2149 writeShowNonRectClipOptions(newValue);
2152 writeAppProcessLimitOptions(newValue);
2155 writeSimulateColorSpace(newValue);