Helper methods and objects to help create a gesture based brightness toggle for Android phones.