Home
last modified time | relevance | path

Searched refs:getFloatForUser (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/flags/java/com/android/server/flags/
DSettingsProxy.java250 return getFloatForUser(name, def, getUserId()); in getFloat()
254 default float getFloatForUser(String name, float def, int userHandle) { in getFloatForUser() method
266 return getFloatForUser(name, getUserId()); in getFloat()
270 default float getFloatForUser(String name, int userHandle) in getFloatForUser() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegateTest.kt132 systemSettings.getFloatForUser( in showTheDialog_seekbarIsShowingCorrectProgress()
163 systemSettings.getFloatForUser( in progressIsZero_clickIconEnd_seekBarProgressIncreaseOne_fontSizeScaled()
194 systemSettings.getFloatForUser( in progressIsMax_clickIconStart_seekBarProgressDecreaseOne_fontSizeScaled()
256 systemSettings.getFloatForUser( in dragSeekbar_systemFontSizeSettingsDoesNotChange()
280 systemSettings.getFloatForUser( in dragSeekbar_systemFontSizeSettingsDoesNotChange()
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java125 final float scale = Settings.Secure.getFloatForUser(mContext.getContentResolver(), in getLeftSensitivity()
146 final float scale = Settings.Secure.getFloatForUser(mContext.getContentResolver(), in getRightSensitivity()
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessLowLuxModifier.java85 float settingNitsLowerBound = Settings.Secure.getFloatForUser( in recalculateLowerBound()
208 return Settings.Secure.getFloatForUser(mContentResolver, in isSettingEnabled()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2.java211 final float adj = Settings.System.getFloatForUser(mContext.getContentResolver(), in updatePendingAutoBrightnessAdjustments()
407 final float adj = Settings.System.getFloatForUser(mContext.getContentResolver(), in getAutoBrightnessAdjustmentSetting()
DAutomaticBrightnessStrategy.java265 final float adj = Settings.System.getFloatForUser(mContext.getContentResolver(), in updatePendingAutoBrightnessAdjustments()
517 final float adj = Settings.System.getFloatForUser(mContext.getContentResolver(), in getAutoBrightnessAdjustmentSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DUserSettingsProxy.kt253 fun getFloatForUser(name: String, def: Float, userHandle: Int): Float { in putLongForUser() method
260 fun getFloatForUser(name: String, userHandle: Int): Float { in getFloatForUser() method
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationScaleProvider.java86 return Settings.Secure.getFloatForUser(mContext.getContentResolver(), in getScale()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DUserSettingsProxyTest.kt294 assertThat(mSettings.getFloatForUser(TEST_SETTING, MAIN_USER_ID)).isEqualTo(1F) in getFloatForUser_multipleUsers__validResult()
295 assertThat(mSettings.getFloatForUser(TEST_SETTING, SECONDARY_USER_ID)).isEqualTo(2F) in getFloatForUser_multipleUsers__validResult()
/frameworks/base/tests/MultiUser/src/com/android/test/multiuser/
DMultiUserSettingsTests.java62 return Settings.System.getFloatForUser(mContentResolver, FONT_SCALE, 1, userId); in getFontScaleOfUser()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2Test.java294 assertEquals(autoBrightnessAdjustment, Settings.System.getFloatForUser( in adjustAutomaticBrightnessStateIfValid()
365 assertEquals(pendingAutoBrightnessAdjustments, Settings.System.getFloatForUser( in setPendingAutoBrightnessAdjustments()
DAutomaticBrightnessStrategyTest.java347 assertEquals(autoBrightnessAdjustment, Settings.System.getFloatForUser( in adjustAutomaticBrightnessStateIfValid()
414 assertEquals(pendingAutoBrightnessAdjustments, Settings.System.getFloatForUser( in setPendingAutoBrightnessAdjustments()
476 assertEquals(adjustment, Settings.System.getFloatForUser( in isAutoBrightnessValid_returnsTrueWhenBrightnessIsValid_adjustsAutoBrightness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationHostViewController.java79 mIsAnimationEnabled = secureSettings.getFloatForUser( in ComplicationHostViewController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/fontscaling/
DFontScalingDialogDelegate.kt113 systemSettings.getFloatForUser(Settings.System.FONT_SCALE, 1.0f, userTracker.userId) in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuInfoRepository.java310 return mSecureSettings.getFloatForUser( in getMenuOpacityFromSettings()
/frameworks/base/services/core/java/com/android/server/input/
DInputSettingsObserver.java288 final float pointerScale = Settings.System.getFloatForUser(mContext.getContentResolver(), in updatePointerScaleFromSettings()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationConnectionManagerTest.java269 assertEquals(Settings.Secure.getFloatForUser(mResolver, in persistScale_setValue_expectedValueInProvider()
283 assertEquals(Settings.Secure.getFloatForUser(mResolver, in persistScale_setValueWhenScaleIsOne_nothingChanged()
DFullScreenMagnificationGestureHandlerTest.java229 mOriginalMagnificationPersistedScale = Settings.Secure.getFloatForUser( in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationSettingsTest.java119 when(mSecureSettings.getFloatForUser(anyString(), anyFloat(), anyInt())).then( in setUp()
DWindowMagnificationControllerWindowlessMagnifierTest.java206 when(mSecureSettings.getFloatForUser(anyString(), anyFloat(), anyInt())).then( in setUp()
DWindowMagnificationControllerTest.java206 when(mSecureSettings.getFloatForUser(anyString(), anyFloat(), anyInt())).then( in setUp()
/frameworks/base/core/java/android/provider/
DSettings.java4528 return getFloatForUser(cr, name, def, cr.getUserId()); in getFloat()
4532 public static float getFloatForUser(ContentResolver cr, String name, float def, in getFloatForUser() method in Settings.System
4558 return getFloatForUser(cr, name, cr.getUserId()); in getFloat()
4562 public static float getFloatForUser(ContentResolver cr, String name, int userHandle) in getFloatForUser() method in Settings.System
4608 outConfig.fontScale = Settings.System.getFloatForUser( in adjustConfigurationForUser()
4645 ? Settings.System.getFloatForUser(cr, DEFAULT_DEVICE_FONT_SCALE, in getDefaultFontScale()
7303 return getFloatForUser(cr, name, def, cr.getUserId()); in getFloat()
7307 public static float getFloatForUser(ContentResolver cr, String name, float def, in getFloatForUser() method in Settings.Secure
7333 return getFloatForUser(cr, name, cr.getUserId()); in getFloat()
7337 public static float getFloatForUser(ContentResolver cr, String name, int userHandle) in getFloatForUser() method in Settings.Secure
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemSettingsHelper.java289 return Settings.Secure.getFloatForUser( in getCoarseLocationAccuracyM()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java1158 float minRefreshRate = Settings.System.getFloatForUser(cr, in updateRefreshRateSettingLocked()
1165 float peakRefreshRate = Settings.System.getFloatForUser(cr, in updateRefreshRateSettingLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java283 mScale = secureSettings.getFloatForUser( in WindowMagnificationController()

12