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()210 return mLightSensorOptional != null in lightSensorSupportsCurrentPosture()211 && mDevicePosture < mLightSensorOptional.length; in lightSensorSupportsCurrentPosture()216 return mLightSensorOptional != null && mLightSensorOptional[0].isPresent(); in isLightSensorPresent()219 return mLightSensorOptional[mDevicePosture].isPresent(); in isLightSensorPresent()227 return mLightSensorOptional[mDevicePosture].get(); in getLightSensor()336 || mLightSensorOptional.length < 2337 || posture >= mLightSensorOptional.length) {341 final Sensor oldSensor = mLightSensorOptional[mDevicePosture].get();[all …]