AOD/LS - Large clock animations
Match latest specs for large/small clock transitions, including a fade and y-axis shift. Bug: 172360102 Test: manual, show/hide all notifications Change-Id: I8d756bfbc524481d7b8835946acf05aa4893a1d5
This commit is contained in:
@@ -21,7 +21,6 @@ import android.content.ContentResolver;
|
||||
import android.content.res.Resources;
|
||||
import android.provider.Settings;
|
||||
import android.text.format.DateFormat;
|
||||
import android.util.TypedValue;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.FrameLayout;
|
||||
@@ -146,11 +145,10 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates clock's text
|
||||
* Apply dp changes on font/scale change
|
||||
*/
|
||||
public void onDensityOrFontScaleChanged() {
|
||||
mView.setTextSize(TypedValue.COMPLEX_UNIT_PX,
|
||||
mResources.getDimensionPixelSize(R.dimen.widget_big_font_size));
|
||||
mView.onDensityOrFontScaleChanged();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user