Setting alpha/hardware layers directly in All Apps

Changing it so that PagedViewCellLayout has alpha
and hardware layers set directly on itself rather
than its child view
This commit is contained in:
Michael Jurka
2012-04-18 15:25:08 -07:00
parent 336d491492
commit ee7c1d8dc2
2 changed files with 2 additions and 14 deletions

View File

@@ -141,13 +141,6 @@ public class PagedViewCellLayoutChildren extends ViewGroup {
}
}
void destroyHardwareLayer() {
setLayerType(LAYER_TYPE_NONE, null);
}
void createHardwareLayer() {
setLayerType(LAYER_TYPE_HARDWARE, null);
}
public void enableCenteredContent(boolean enabled) {
mCenterContent = enabled;
}