Home
last modified time | relevance | path

Searched refs:color2 (Results 1 – 8 of 8) sorted by relevance

/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabStrip.java178 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/
DSlidingTabStrip.java178 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/
DSlidingTabStrip.java178 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/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java178 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/
DSlidingTabStrip.java178 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/
DSlidingTabStrip.java178 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/
DBaseSwipeRefreshLayoutActivity.java96 mSwipeRefreshWidget.setColorSchemeResources(R.color.color1, R.color.color2, R.color.color3, in onCreate()
/development/ndk/platforms/android-21/include/linux/dvb/
Dvideo.h141 __u8 color2; member