OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSelectionOffset
(Results
1 - 17
of
17
) sorted by null
/developers/build/prebuilts/gradle/AdapterTransition/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/build/prebuilts/gradle/BasicTransition/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/build/prebuilts/gradle/FragmentTransition/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/build/prebuilts/gradle/SlidingTabsBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/build/prebuilts/gradle/SlidingTabsColors/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/build/prebuilts/gradle/SwipeRefreshLayoutBasic/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/build/prebuilts/gradle/SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/developers/samples/android/common/src/java/com/example/android/common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/AdapterTransition/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/FragmentTransition/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
SlidingTabStrip.java
52
private float
mSelectionOffset
;
112
mSelectionOffset
= positionOffset;
132
if (
mSelectionOffset
> 0f && mSelectedPosition < (getChildCount() - 1)) {
135
color = blendColors(nextColor, color,
mSelectionOffset
);
140
left = (int) (
mSelectionOffset
* nextTitle.getLeft() +
141
(1.0f -
mSelectionOffset
) * left);
142
right = (int) (
mSelectionOffset
* nextTitle.getRight() +
143
(1.0f -
mSelectionOffset
) * right);
Completed in 60 milliseconds