Remove use of setFast* properties
Change-Id: Ibfae0eed65d384789929829d6a24379561934eb4
This commit is contained in:
1 parent
e3517d01ec
commit
7372c59277
3 files changed
+13
-32
No files matched your search
@@ -903,10 +903,6 @@ public class CellLayout extends ViewGroup {
|
||||
return mBackgroundAlpha;
|
||||
}
|
||||
|
||||
public void setFastBackgroundAlpha(float alpha) {
|
||||
mBackgroundAlpha = alpha;
|
||||
}
|
||||
|
||||
public void setBackgroundAlphaMultiplier(float multiplier) {
|
||||
mBackgroundAlphaMultiplier = multiplier;
|
||||
}
|
||||
@@ -936,11 +932,6 @@ public class CellLayout extends ViewGroup {
|
||||
super.setAlpha(alpha);
|
||||
}
|
||||
|
||||
public void setFastAlpha(float alpha) {
|
||||
setFastChildrenAlpha(alpha);
|
||||
super.setFastAlpha(alpha);
|
||||
}
|
||||
|
||||
private void setChildrenAlpha(float alpha) {
|
||||
final int childCount = getChildCount();
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
@@ -948,13 +939,6 @@ public class CellLayout extends ViewGroup {
|
||||
}
|
||||
}
|
||||
|
||||
private void setFastChildrenAlpha(float alpha) {
|
||||
final int childCount = getChildCount();
|
||||
for (int i = 0; i < childCount; i++) {
|
||||
getChildAt(i).setFastAlpha(alpha);
|
||||
}
|
||||
}
|
||||
|
||||
public View getChildAt(int x, int y) {
|
||||
return mChildren.getChildAt(x, y);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user