Searched refs:color1 (Results 1 – 8 of 8) sorted by relevance
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 178 private static int blendColors(int color1, int color2, float ratio) { in blendColors() argument 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors() 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors() 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 178 private static int blendColors(int color1, int color2, float ratio) { in blendColors() argument 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors() 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors() 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 178 private static int blendColors(int color1, int color2, float ratio) { in blendColors() argument 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors() 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors() 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 178 private static int blendColors(int color1, int color2, float ratio) { in blendColors() argument 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors() 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors() 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 178 private static int blendColors(int color1, int color2, float ratio) { in blendColors() argument 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors() 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors() 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation); in blendColors()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabStrip.java | 178 private static int blendColors(int color1, int color2, float ratio) { in blendColors() argument 180 float r = (Color.red(color1) * ratio) + (Color.red(color2) * inverseRation); in blendColors() 181 float g = (Color.green(color1) * ratio) + (Color.green(color2) * inverseRation); in blendColors() 182 float b = (Color.blue(color1) * ratio) + (Color.blue(color2) * inverseRation); in blendColors()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
D | BaseSwipeRefreshLayoutActivity.java | 96 mSwipeRefreshWidget.setColorSchemeResources(R.color.color1, R.color.color2, R.color.color3, in onCreate()
|
/development/ndk/platforms/android-21/include/linux/dvb/ |
D | video.h | 140 __u8 color1; member
|