* commit 'c7f2b6d80d115781048b29365278fe3faae01a08': Remove dead code from EpicenterTranslateClipReveal
This commit is contained in:
@@ -191,12 +191,6 @@ public class EpicenterTranslateClipReveal extends Visibility {
|
|||||||
private Rect getEpicenterOrCenter(Rect bestRect) {
|
private Rect getEpicenterOrCenter(Rect bestRect) {
|
||||||
final Rect epicenter = getEpicenter();
|
final Rect epicenter = getEpicenter();
|
||||||
if (epicenter != null) {
|
if (epicenter != null) {
|
||||||
/*
|
|
||||||
// Translate the clip bounds to be centered within the target bounds.
|
|
||||||
final int offsetX = bestRect.centerX() - epicenter.centerX();
|
|
||||||
final int offsetY = bestRect.centerY() - epicenter.centerY();
|
|
||||||
epicenter.offset(offsetX, offsetY);
|
|
||||||
*/
|
|
||||||
return epicenter;
|
return epicenter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user