Searched refs:mLightSensorOptional (Results 1 – 1 of 1) sorted by relevance
77 private final Optional<Sensor>[] mLightSensorOptional; // light sensors to use per posture field in DozeScreenBrightness120 mLightSensorOptional = lightSensorOptional; in DozeScreenBrightness()218 return mLightSensorOptional != null in lightSensorSupportsCurrentPosture()219 && mDevicePosture < mLightSensorOptional.length; in lightSensorSupportsCurrentPosture()224 return mLightSensorOptional != null && mLightSensorOptional[0].isPresent(); in isLightSensorPresent()227 return mLightSensorOptional[mDevicePosture].isPresent(); in isLightSensorPresent()235 return mLightSensorOptional[mDevicePosture].get(); in getLightSensor()352 || mLightSensorOptional.length < 2353 || posture >= mLightSensorOptional.length) {357 final Sensor oldSensor = mLightSensorOptional[mDevicePosture].get();[all …]