Searched refs:newSensorState (Results 1 – 1 of 1) sorted by relevance
435 int newSensorState; in onSarSensorEvent() local437 newSensorState = SarInfo.SAR_SENSOR_FREE_SPACE; in onSarSensorEvent()439 newSensorState = SarInfo.SAR_SENSOR_NEAR_BODY; in onSarSensorEvent()441 newSensorState = SarInfo.SAR_SENSOR_NEAR_HAND; in onSarSensorEvent()443 newSensorState = SarInfo.SAR_SENSOR_NEAR_HEAD; in onSarSensorEvent()450 if (mSarInfo.sensorState != newSensorState) { in onSarSensorEvent()451 Log.d(TAG, "Setting Sensor state to " + SarInfo.sensorStateToString(newSensorState)); in onSarSensorEvent()452 mSarInfo.sensorState = newSensorState; in onSarSensorEvent()