sysui: refactor for exensibility
Bug: 28380555 Change-Id: I84065bf6ecf250a9d8eee31851dd7804b636c06d (cherry picked from commit 5b782d5ac26bda4cbcb307261581edf012d99443)
This commit is contained in:
@@ -164,7 +164,7 @@ public class QSAnimator implements Callback, PageListener, Listener, OnLayoutCha
|
||||
QSTileBaseView quickTileView = mQuickQsPanel.getTileView(tile);
|
||||
|
||||
lastX = loc1[0];
|
||||
getRelativePosition(loc1, quickTileView.getIcon(), mQsContainer);
|
||||
getRelativePosition(loc1, quickTileView.getIcon().getIconView(), mQsContainer);
|
||||
getRelativePosition(loc2, tileIcon, mQsContainer);
|
||||
final int xDiff = loc2[0] - loc1[0];
|
||||
final int yDiff = loc2[1] - loc1[1];
|
||||
|
||||
@@ -60,7 +60,7 @@ public class QSTileView extends QSTileBaseView {
|
||||
return mLabel;
|
||||
}
|
||||
|
||||
private void updateTopPadding() {
|
||||
protected void updateTopPadding() {
|
||||
Resources res = getResources();
|
||||
int padding = res.getDimensionPixelSize(R.dimen.qs_tile_padding_top);
|
||||
int largePadding = res.getDimensionPixelSize(R.dimen.qs_tile_padding_top_large_text);
|
||||
|
||||
Reference in New Issue
Block a user