OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mSelectionOffset
(Results
1 - 18
of
18
) sorted by null
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ViewPagerTabStrip.java
34
private float
mSelectionOffset
;
64
mSelectionOffset
= positionOffset;
80
if ((
mSelectionOffset
> 0.0f) && hasNextTab) {
86
selectedLeft = (int) (
mSelectionOffset
* nextLeft +
87
(1.0f -
mSelectionOffset
) * selectedLeft);
88
selectedRight = (int) (
mSelectionOffset
* nextRight +
89
(1.0f -
mSelectionOffset
) * selectedRight);
/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 875 milliseconds