Home
last modified time | relevance | path

Searched refs:inverseRation (Results 1 – 6 of 6) sorted by relevance

/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabStrip.java179 final float inverseRation = 1f - ratio; in blendColors() local
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.java179 final float inverseRation = 1f - ratio; in blendColors() local
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.java179 final float inverseRation = 1f - ratio; in blendColors() local
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.java179 final float inverseRation = 1f - ratio; in blendColors() local
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/
DSlidingTabStrip.java179 final float inverseRation = 1f - ratio; in blendColors() local
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.java179 final float inverseRation = 1f - ratio; in blendColors() local
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()