Package org.robolectric.shadows
Class BrightnessChangeEventBuilder
- java.lang.Object
-
- org.robolectric.shadows.BrightnessChangeEventBuilder
-
public class BrightnessChangeEventBuilder extends Object
Builder forBrightnessChangeEvent
.
-
-
Constructor Summary
Constructors Constructor Description BrightnessChangeEventBuilder()
-
Method Summary
-
-
-
Method Detail
-
setBrightness
public BrightnessChangeEventBuilder setBrightness(float brightness)
-
setTimeStamp
public BrightnessChangeEventBuilder setTimeStamp(long timeStamp)
-
setPackageName
public BrightnessChangeEventBuilder setPackageName(String packageName)
-
setUserId
public BrightnessChangeEventBuilder setUserId(int userId)
-
setLuxValues
public BrightnessChangeEventBuilder setLuxValues(float[] luxValues)
-
setLuxTimestamps
public BrightnessChangeEventBuilder setLuxTimestamps(long[] luxTimestamps)
-
setBatteryLevel
public BrightnessChangeEventBuilder setBatteryLevel(float batteryLevel)
-
setPowerBrightnessFactor
public BrightnessChangeEventBuilder setPowerBrightnessFactor(float powerBrightnessFactor)
-
setNightMode
public BrightnessChangeEventBuilder setNightMode(boolean nightMode)
-
setColorTemperature
public BrightnessChangeEventBuilder setColorTemperature(int colorTemperature)
-
setLastBrightness
public BrightnessChangeEventBuilder setLastBrightness(float lastBrightness)
-
setIsDefaultBrightnessConfig
public BrightnessChangeEventBuilder setIsDefaultBrightnessConfig(boolean isDefaultBrightnessConfig)
-
setUserBrightnessPoint
public BrightnessChangeEventBuilder setUserBrightnessPoint(boolean isUserSetBrightness)
-
setColorValues
public BrightnessChangeEventBuilder setColorValues(long[] colorValueBuckets, long colorSampleDuration)
-
setUniqueDisplayId
public BrightnessChangeEventBuilder setUniqueDisplayId(String displayId)
-
build
public BrightnessChangeEvent build()
-
-