Skip navigation links
A B C D G I M O R S T U 

A

addSwitchObserver(RMSwitch.RMSwitchObserver) - Method in class com.rm.rmswitch.RMSwitch
Adds an observer to the list RMSwitch.mObservers
addSwitchObserver(RMTristateSwitch.RMTristateSwitchObserver) - Method in class com.rm.rmswitch.RMTristateSwitch
Adds an observer to the list RMTristateSwitch.mObservers
ALPHA_DISABLED - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
ALPHA_ENABLED - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
ANIMATION_DURATION - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 

B

BUNDLE_KEY_DESIGN - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
BUNDLE_KEY_ENABLED - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
BUNDLE_KEY_FORCE_ASPECT_RATIO - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
BUNDLE_KEY_SUPER_DATA - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 

C

changeToggleGravity() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
changeToggleGravity() - Method in class com.rm.rmswitch.RMSwitch
Move the toggle from one side to the other of this view, called AFTER setting the RMSwitch.mIsChecked variable
changeToggleGravity() - Method in class com.rm.rmswitch.RMTristateSwitch
Move the toggle from one state to the next, using the Gravity param called AFTER setting the RMTristateSwitch.mCurrentState variable
com.rm.rmswitch - package com.rm.rmswitch
 
convertDpToPixel(Context, float) - Static method in class com.rm.rmswitch.Utils
 
convertPixelsToDp(Context, float) - Static method in class com.rm.rmswitch.Utils
 

D

DESIGN_ANDROID - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
DESIGN_LARGE - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
DESIGN_SLIM - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 

G

getAccentColor(Context) - Static method in class com.rm.rmswitch.Utils
 
getDefaultBackgroundColor(Context) - Static method in class com.rm.rmswitch.Utils
 
getPrimaryColor(Context) - Static method in class com.rm.rmswitch.Utils
 
getPrimaryColorDark(Context) - Static method in class com.rm.rmswitch.Utils
 
getState() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getState() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getState() - Method in interface com.rm.rmswitch.TristateCheckable
 
getSwitchAspectRatio() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getSwitchAspectRatio() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchAspectRatio() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchBkgCheckedColor() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchBkgLeftColor() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchBkgMiddleColor() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchBkgNotCheckedColor() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchBkgRightColor() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchCurrentBkgDrawable() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getSwitchCurrentBkgDrawable() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchCurrentBkgDrawable() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchCurrentToggleBkgDrawable() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getSwitchCurrentToggleBkgDrawable() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchCurrentToggleBkgDrawable() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchCurrentToggleDrawable() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getSwitchCurrentToggleDrawable() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchCurrentToggleDrawable() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchDesign() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getSwitchStandardHeight() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getSwitchStandardHeight() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchStandardHeight() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchStandardWidth() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getSwitchStandardWidth() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchStandardWidth() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchToggleCheckedColor() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchToggleCheckedDrawable() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchToggleLeftColor() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchToggleLeftDrawable() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchToggleMiddleColor() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchToggleMiddleDrawableRes() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchToggleNotCheckedColor() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchToggleNotCheckedDrawable() - Method in class com.rm.rmswitch.RMSwitch
 
getSwitchToggleRightColor() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getSwitchToggleRightDrawableRes() - Method in class com.rm.rmswitch.RMTristateSwitch
 
getTypedArrayResource() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
getTypedArrayResource() - Method in class com.rm.rmswitch.RMSwitch
 
getTypedArrayResource() - Method in class com.rm.rmswitch.RMTristateSwitch
 

I

isChecked() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
isChecked() - Method in class com.rm.rmswitch.RMSwitch
 
isEnabled() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
isForceAspectRatio() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
isRightToLeft() - Method in class com.rm.rmswitch.RMTristateSwitch
 

M

mContainerLayout - Variable in class com.rm.rmswitch.RMAbstractSwitch
The switch container Layout
mForceAspectRatio - Variable in class com.rm.rmswitch.RMAbstractSwitch
If force aspect ratio or keep the given proportion
mImgBkg - Variable in class com.rm.rmswitch.RMAbstractSwitch
The background image of the switch
mImgToggle - Variable in class com.rm.rmswitch.RMAbstractSwitch
The Toggle view, the only moving part of the switch
mIsEnabled - Variable in class com.rm.rmswitch.RMAbstractSwitch
If the view is enabled
mSwitchDesign - Variable in class com.rm.rmswitch.RMAbstractSwitch
The switch design

O

onCheckStateChange(RMSwitch, boolean) - Method in interface com.rm.rmswitch.RMSwitch.RMSwitchObserver
 
onCheckStateChange(RMTristateSwitch, int) - Method in interface com.rm.rmswitch.RMTristateSwitch.RMTristateSwitchObserver
 
onClick(View) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
onLayoutChange(View, int, int, int, int, int, int, int, int) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
onMeasure(int, int) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
onMeasure(int, int) - Method in class com.rm.rmswitch.SquareImageView
Simply return the same measure as height for width
onRestoreInstanceState(Parcelable) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
onRestoreInstanceState(Parcelable) - Method in class com.rm.rmswitch.RMSwitch
 
onRestoreInstanceState(Parcelable) - Method in class com.rm.rmswitch.RMTristateSwitch
 
onSaveInstanceState() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
onSaveInstanceState() - Method in class com.rm.rmswitch.RMSwitch
 
onSaveInstanceState() - Method in class com.rm.rmswitch.RMTristateSwitch
 

R

removeRule(RelativeLayout.LayoutParams, int) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
removeRules(RelativeLayout.LayoutParams, int[]) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
removeSwitchObserver(RMSwitch.RMSwitchObserver) - Method in class com.rm.rmswitch.RMSwitch
Searches and removes the passed RMSwitch.RMSwitchObserver from the observers list RMSwitch.mObservers
removeSwitchObserver(RMTristateSwitch.RMTristateSwitchObserver) - Method in class com.rm.rmswitch.RMTristateSwitch
Searches and removes the passed RMTristateSwitch.RMTristateSwitchObserver from the observers list RMTristateSwitch.mObservers
removeSwitchObservers() - Method in class com.rm.rmswitch.RMSwitch
Removes all the observer from RMSwitch.mObservers
removeSwitchObservers() - Method in class com.rm.rmswitch.RMTristateSwitch
Removes all the observer from RMTristateSwitch.mObservers
RMAbstractSwitch - Class in com.rm.rmswitch
Created by Riccardo on 31/08/16.
RMAbstractSwitch(Context) - Constructor for class com.rm.rmswitch.RMAbstractSwitch
 
RMAbstractSwitch(Context, AttributeSet) - Constructor for class com.rm.rmswitch.RMAbstractSwitch
 
RMAbstractSwitch(Context, AttributeSet, int) - Constructor for class com.rm.rmswitch.RMAbstractSwitch
 
RMAbstractSwitch.State - Annotation Type in com.rm.rmswitch
 
RMAbstractSwitch.SwitchDesign - Annotation Type in com.rm.rmswitch
 
RMSwitch - Class in com.rm.rmswitch
Created by Riccardo Moro on 29/07/2016.
RMSwitch(Context) - Constructor for class com.rm.rmswitch.RMSwitch
 
RMSwitch(Context, AttributeSet) - Constructor for class com.rm.rmswitch.RMSwitch
 
RMSwitch(Context, AttributeSet, int) - Constructor for class com.rm.rmswitch.RMSwitch
 
RMSwitch.RMSwitchObserver - Interface in com.rm.rmswitch
 
RMTristateSwitch - Class in com.rm.rmswitch
Created by Riccardo Moro on 18/08/2016.
RMTristateSwitch(Context) - Constructor for class com.rm.rmswitch.RMTristateSwitch
 
RMTristateSwitch(Context, AttributeSet) - Constructor for class com.rm.rmswitch.RMTristateSwitch
 
RMTristateSwitch(Context, AttributeSet, int) - Constructor for class com.rm.rmswitch.RMTristateSwitch
 
RMTristateSwitch.RMTristateSwitchObserver - Interface in com.rm.rmswitch
 

S

setChecked(boolean) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setChecked(boolean) - Method in class com.rm.rmswitch.RMSwitch
 
setEnabled(boolean) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setForceAspectRatio(boolean) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setRightToLeft(boolean) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setState(int) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setState(int) - Method in class com.rm.rmswitch.RMTristateSwitch
Change the state of the switch
setState(int) - Method in interface com.rm.rmswitch.TristateCheckable
 
setSwitchAlpha() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setSwitchBkgCheckedColor(int) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchBkgLeftColor(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchBkgMiddleColor(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchBkgNotCheckedColor(int) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchBkgRightColor(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchDesign(int) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setSwitchToggleCheckedColor(int) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchToggleCheckedDrawable(Drawable) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchToggleCheckedDrawableRes(int) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchToggleLeftColor(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleLeftDrawable(Drawable) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleLeftDrawableRes(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleMiddleColor(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleMiddleDrawable(Drawable) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleMiddleDrawableRes(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleNotCheckedColor(int) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchToggleNotCheckedDrawable(Drawable) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchToggleNotCheckedDrawableRes(int) - Method in class com.rm.rmswitch.RMSwitch
 
setSwitchToggleRightColor(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleRightDrawable(Drawable) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setSwitchToggleRightDrawableRes(int) - Method in class com.rm.rmswitch.RMTristateSwitch
 
setupLayout() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setupSwitchAppearance() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setupSwitchCustomAttributes(TypedArray) - Method in class com.rm.rmswitch.RMAbstractSwitch
 
setupSwitchCustomAttributes(TypedArray) - Method in class com.rm.rmswitch.RMSwitch
 
setupSwitchCustomAttributes(TypedArray) - Method in class com.rm.rmswitch.RMTristateSwitch
 
sLayoutTransition - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
SquareImageView - Class in com.rm.rmswitch
A simple squared image view
SquareImageView(Context) - Constructor for class com.rm.rmswitch.SquareImageView
 
SquareImageView(Context, AttributeSet) - Constructor for class com.rm.rmswitch.SquareImageView
 
SquareImageView(Context, AttributeSet, int) - Constructor for class com.rm.rmswitch.SquareImageView
 
SquareImageView(Context, AttributeSet, int, int) - Constructor for class com.rm.rmswitch.SquareImageView
 
STATE_LEFT - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
STATE_MIDDLE - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 
STATE_RIGHT - Static variable in class com.rm.rmswitch.RMAbstractSwitch
 

T

TAG - Variable in class com.rm.rmswitch.RMAbstractSwitch
 
toggle() - Method in class com.rm.rmswitch.RMAbstractSwitch
 
toggle() - Method in class com.rm.rmswitch.RMSwitch
 
toggle() - Method in class com.rm.rmswitch.RMTristateSwitch
Called to move the toggle to its next position
toggle() - Method in interface com.rm.rmswitch.TristateCheckable
 
TristateCheckable - Interface in com.rm.rmswitch
Created by Riccardo Moro on 19/08/2016.

U

Utils - Class in com.rm.rmswitch
Created by Riccardo Moro on 30/07/2016.
Utils() - Constructor for class com.rm.rmswitch.Utils
 
A B C D G I M O R S T U 
Skip navigation links