Merge "Fix 3493373: back button displays blue homescreen borders"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3ad0c132de
@@ -896,7 +896,7 @@ public class Workspace extends SmoothPagedView
|
||||
}
|
||||
}
|
||||
|
||||
public void showOutlines() {
|
||||
void showOutlines() {
|
||||
if (!mIsSmall && !mIsInUnshrinkAnimation) {
|
||||
if (mChildrenOutlineFadeOutAnimation != null) mChildrenOutlineFadeOutAnimation.cancel();
|
||||
if (mChildrenOutlineFadeInAnimation != null) mChildrenOutlineFadeInAnimation.cancel();
|
||||
@@ -906,7 +906,7 @@ public class Workspace extends SmoothPagedView
|
||||
}
|
||||
}
|
||||
|
||||
public void hideOutlines() {
|
||||
void hideOutlines() {
|
||||
if (!mIsSmall && !mIsInUnshrinkAnimation) {
|
||||
if (mChildrenOutlineFadeInAnimation != null) mChildrenOutlineFadeInAnimation.cancel();
|
||||
if (mChildrenOutlineFadeOutAnimation != null) mChildrenOutlineFadeOutAnimation.cancel();
|
||||
@@ -917,6 +917,12 @@ public class Workspace extends SmoothPagedView
|
||||
}
|
||||
}
|
||||
|
||||
public void showOutlinesTemporarily() {
|
||||
if (!mIsPageMoving && !isTouchActive()) {
|
||||
snapToPage(mCurrentPage);
|
||||
}
|
||||
}
|
||||
|
||||
public void setChildrenOutlineAlpha(float alpha) {
|
||||
mChildrenOutlineAlpha = alpha;
|
||||
for (int i = 0; i < getChildCount(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user