Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LarsWerkman/HoloColorPicker
/ functions
Functions
100 in github.com/LarsWerkman/HoloColorPicker
⨍
Functions
100
◇
Types & classes
10
↓ 24 callers
Method
setNewCenterColor
Change the color of the center which indicates the new color. @param color int of the color.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:735
↓ 22 callers
Method
setColor
Set the color to be highlighted by the pointer. If the instances {@code SVBar} and the {@code OpacityBar} aren't null the color will also be set to th
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:525
↓ 16 callers
Method
changeOpacityBarColor
Used to change the color of the {@code OpacityBar} used by the {@code SVBar} if there is an change in color. @param color int of the color used to ch
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:784
↓ 9 callers
Method
calculateColor
Calculate the color using the supplied angle. @param angle The selected color's position expressed as angle (in rad). @return The ARGB value of the
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:475
↓ 9 callers
Method
setColor
Set the bar color. <br> <br> Its discouraged to use this method. @param color
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:430
↓ 8 callers
Method
setColor
Set the bar color. <br> <br> Its discouraged to use this method. @param color
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:418
↓ 8 callers
Method
setColor
Set the bar color. <br> <br> Its discouraged to use this method. @param color
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:412
↓ 8 callers
Method
setColor
Set the bar color. <br> <br> Its discouraged to use this method. @param color
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:416
↓ 5 callers
Method
calculateColor
Calculate the color selected by the pointer on the bar. @param coord Coordinate of the pointer.
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:460
↓ 5 callers
Method
changeValueBarColor
Used to change the color of the {@code ValueBar}. @param color int of the color used to change the opacity bar color.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:807
↓ 4 callers
Method
ave
(int s, int d, float p)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:463
↓ 4 callers
Method
calculateColor
Calculate the color selected by the pointer on the bar. @param coord Coordinate of the pointer.
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:470
↓ 4 callers
Method
calculateColor
Calculate the color selected by the pointer on the bar. @param coord Coordinate of the pointer.
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:475
↓ 4 callers
Method
calculateColor
Calculate the color selected by the pointer on the bar. @param coord Coordinate of the pointer.
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:465
↓ 4 callers
Method
getOpacity
Get the currently selected opacity. @return The int value of the currently selected opacity.
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:458
↓ 4 callers
Method
setColorPicker
Adds a {@code ColorPicker} instance to the bar. <br> <br> WARNING: Don't change the color picker. it is done already when the bar is added to the Colo
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:500
↓ 4 callers
Method
setValue
Set the pointer on the bar. With the Value value. @param value float between 0 and 1
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:409
↓ 3 callers
Method
hasOpacityBar
Checks if there is an {@code OpacityBar} connected. @return true or false.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:818
↓ 3 callers
Method
init
(AttributeSet attrs, int defStyle)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:185
↓ 3 callers
Method
init
(AttributeSet attrs, int defStyle)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:185
↓ 3 callers
Method
init
(AttributeSet attrs, int defStyle)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:321
↓ 3 callers
Method
init
(AttributeSet attrs, int defStyle)
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:163
↓ 3 callers
Method
init
(AttributeSet attrs, int defStyle)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:185
↓ 3 callers
Method
setSaturation
Set the pointer on the bar. With the saturation value. @param saturation float between 0 and 1
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:390
↓ 2 callers
Method
calculatePointerPosition
Calculate the pointer's coordinates on the color wheel using the supplied angle. @param angle The position of the pointer expressed as angle (in rad)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:687
↓ 2 callers
Method
onColorSelected
(int color)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:272
↓ 2 callers
Method
setOpacity
Set the pointer on the bar. With the opacity value. @param opacity float between 0 and 255
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:442
↓ 1 callers
Method
colorToAngle
Convert a color to an angle. @param color The RGB value of the color to "find" on the color wheel. @return The angle (in rad) the "normalized" color
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:577
↓ 1 callers
Method
getOldCenterColor
()
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:760
↓ 1 callers
Method
hasValueBar
Checks if there is a {@code ValueBar} connected. @return true or false.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:827
↓ 1 callers
Method
onColorChanged
(int color)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:263
↓ 1 callers
Method
onOpacityChanged
(int opacity)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:149
↓ 1 callers
Method
onSaturationChanged
(int saturation)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:159
↓ 1 callers
Method
onValueChanged
(int value)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:159
↓ 1 callers
Method
setOldCenterColor
Change the color of the center which indicates the old color. @param color int of the color.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:754
↓ 1 callers
Method
setSaturation
Set the pointer on the bar. With the opacity value. @param saturation float between 0 and 1
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:452
↓ 1 callers
Method
setValue
Set the pointer on the bar. With the opacity value. @param value float between 0 and 1
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:447
Method
ColorPicker
(Context context)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:240
Method
OpacityBar
(Context context)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:170
Method
SVBar
(Context context)
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:148
Method
SaturationBar
(Context context)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:170
Method
ValueBar
(Context context)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:170
Method
addOpacityBar
Add a Opacity bar to the color wheel. @param bar The instance of the Opacity bar.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:711
Method
addSVBar
Add a Saturation/Value bar to the color wheel. @param bar The instance of the Saturation/Value bar.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:699
Method
addSaturationBar
(SaturationBar bar)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:718
Method
addValueBar
(ValueBar bar)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:724
Method
changeSaturationBarColor
Used to change the color of the {@code SaturationBar}. @param color int of the color used to change the opacity bar color.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:796
Method
getColor
Get the currently selected color. @return The ARGB value of the currently selected color.
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:486
Method
getColor
Get the currently selected color. @return The ARGB value of the currently selected color.
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:498
Method
getColor
Get the currently selected color. @return The ARGB value of the currently selected color.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:510
Method
getColor
Get the currently selected color. @return The ARGB value of the currently selected color.
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:487
Method
getColor
Get the currently selected color. @return The ARGB value of the currently selected color.
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:482
Method
getOnColorChangedListener
Gets the onColorChangedListener @return {@code OnColorChangedListener}
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:289
Method
getOnColorSelectedListener
Gets the onColorSelectedListener @return {@code OnColorSelectedListener}
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:307
Method
getOnOpacityChangedListener
()
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:156
Method
getOnSaturationChangedListener
()
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:166
Method
getOnValueChangedListener
()
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:166
Method
getShowOldCenterColor
()
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:774
Method
getTouchAnywhereOnColorWheel
()
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:881
Method
hasSVBar
Checks if there is a {@code SVBar} connected. @return true or false.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:845
Method
hasSaturationBar
Checks if there is a {@code SaturationBar} connected. @return true or false.
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:836
Method
onDraw
(Canvas canvas)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:316
Method
onDraw
(Canvas canvas)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:316
Method
onDraw
(Canvas canvas)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:383
Method
onDraw
(Canvas canvas)
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:297
Method
onDraw
(Canvas canvas)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:317
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:223
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:223
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:420
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:201
Method
onMeasure
(int widthMeasureSpec, int heightMeasureSpec)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:223
Method
onRestoreInstanceState
(Parcelable state)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:518
Method
onRestoreInstanceState
(Parcelable state)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:527
Method
onRestoreInstanceState
(Parcelable state)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:862
Method
onRestoreInstanceState
(Parcelable state)
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:522
Method
onRestoreInstanceState
(Parcelable state)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:514
Method
onSaveInstanceState
()
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:503
Method
onSaveInstanceState
()
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:515
Method
onSaveInstanceState
()
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:849
Method
onSaveInstanceState
()
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:504
Method
onSaveInstanceState
()
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:499
Method
onSizeChanged
(int w, int h, int oldw, int oldh)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:262
Method
onSizeChanged
(int w, int h, int oldw, int oldh)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:262
Method
onSizeChanged
(int w, int h, int oldw, int oldh)
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:240
Method
onSizeChanged
(int w, int h, int oldw, int oldh)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:262
Method
onTouchEvent
(MotionEvent event)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:338
Method
onTouchEvent
(MotionEvent event)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:338
Method
onTouchEvent
(MotionEvent event)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:584
Method
onTouchEvent
(MotionEvent event)
library/src/main/java/com/larswerkman/holocolorpicker/SVBar.java:319
Method
onTouchEvent
(MotionEvent event)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:339
Method
setColorPicker
Adds a {@code ColorPicker} instance to the bar. <br> <br> WARNING: Don't change the color picker. it is done already when the bar is added to the Colo
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:499
Method
setColorPicker
Adds a {@code ColorPicker} instance to the bar. <br> <br> WARNING: Don't change the color picker. it is done already when the bar is added to the Colo
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:511
Method
setColorPicker
Adds a {@code ColorPicker} instance to the bar. <br> <br> WARNING: Don't change the color picker. it is done already when the bar is added to the Colo
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:495
Method
setOnColorChangedListener
Set a onColorChangedListener @param listener {@code OnColorChangedListener}
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:280
Method
setOnColorSelectedListener
Set a onColorSelectedListener @param listener {@code OnColorSelectedListener}
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:298
Method
setOnOpacityChangedListener
(OnOpacityChangedListener listener)
library/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java:152
Method
setOnSaturationChangedListener
(OnSaturationChangedListener listener)
library/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java:162
Method
setOnValueChangedListener
(OnValueChangedListener listener)
library/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java:162
Method
setShowOldCenterColor
Set whether the old color is to be shown in the center or not @param show true if the old color is to be shown, false otherwise
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:769
Method
setTouchAnywhereOnColorWheelEnabled
(boolean TouchAnywhereOnColorWheelEnabled)
library/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java:877