
public class SampleWhackyColorFilter extends BaseSampleFragment
mMapView, TAG| Constructor and Description |
|---|
SampleWhackyColorFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOverlays()
An appropriate place to override and add overlays.
|
static void |
adjustHue(ColorMatrix cm,
float value)
http://groups.google.com/group/android-developers/browse_thread/thread/9e215c83c3819953
http://gskinner.com/blog/archives/2007/12/colormatrix_cla.html
|
static ColorFilter |
adjustHue(float value)
Creates a HUE adjustment ColorFilter +- 180
http://groups.google.com/group/android-developers/browse_thread/thread/9e215c83c3819953
http://gskinner.com/blog/archives/2007/12/colormatrix_cla.html
|
protected static float |
cleanValue(float p_val,
float p_limit) |
String |
getSampleTitle() |
getmMapView, onActivityCreated, onCreate, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyView, onOptionsItemSelected, onPrepareOptionsMenu, runTestProcedures, skipOnCiTestspublic String getSampleTitle()
getSampleTitle in class BaseSampleFragmentpublic void addOverlays()
BaseSampleFragmentaddOverlays in class BaseSampleFragmentpublic static ColorFilter adjustHue(float value)
value - degrees to shift the hue.public static void adjustHue(ColorMatrix cm,
float value)
cm - value - protected static float cleanValue(float p_val,
float p_limit)