Loading packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:gravity="center_horizontal" android:textSize="170dp" android:textSize="180dp" android:letterSpacing="0.02" android:lineSpacingMultiplier=".8" android:includeFontPadding="false" Loading packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java +5 −5 Original line number Diff line number Diff line Loading @@ -244,7 +244,7 @@ public class KeyguardSliceView extends LinearLayout { iconDrawable.setBounds(0, 0, Math.max(width, 1), iconSize); } } button.setCompoundDrawables(iconDrawable, null, null, null); button.setCompoundDrawablesRelative(iconDrawable, null, null, null); button.setOnClickListener(mOnClickListener); button.setClickable(pendingIntent != null); } Loading Loading @@ -536,9 +536,9 @@ public class KeyguardSliceView extends LinearLayout { } @Override public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, public void setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, Drawable bottom) { super.setCompoundDrawables(left, top, right, bottom); super.setCompoundDrawablesRelative(start, top, end, bottom); updateDrawableColors(); updatePadding(); } Loading @@ -558,9 +558,9 @@ public class KeyguardSliceView extends LinearLayout { public void setLockScreenMode(int mode) { mLockScreenMode = mode; if (mLockScreenMode == KeyguardUpdateMonitor.LOCK_SCREEN_MODE_LAYOUT_1) { setGravity(Gravity.START); setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START); } else { setGravity(Gravity.CENTER); setTextAlignment(View.TEXT_ALIGNMENT_CENTER); } updatePadding(); } Loading Loading
packages/SystemUI/res-keyguard/layout/keyguard_clock_switch.xml +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:gravity="center_horizontal" android:textSize="170dp" android:textSize="180dp" android:letterSpacing="0.02" android:lineSpacingMultiplier=".8" android:includeFontPadding="false" Loading
packages/SystemUI/src/com/android/keyguard/KeyguardSliceView.java +5 −5 Original line number Diff line number Diff line Loading @@ -244,7 +244,7 @@ public class KeyguardSliceView extends LinearLayout { iconDrawable.setBounds(0, 0, Math.max(width, 1), iconSize); } } button.setCompoundDrawables(iconDrawable, null, null, null); button.setCompoundDrawablesRelative(iconDrawable, null, null, null); button.setOnClickListener(mOnClickListener); button.setClickable(pendingIntent != null); } Loading Loading @@ -536,9 +536,9 @@ public class KeyguardSliceView extends LinearLayout { } @Override public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, public void setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, Drawable bottom) { super.setCompoundDrawables(left, top, right, bottom); super.setCompoundDrawablesRelative(start, top, end, bottom); updateDrawableColors(); updatePadding(); } Loading @@ -558,9 +558,9 @@ public class KeyguardSliceView extends LinearLayout { public void setLockScreenMode(int mode) { mLockScreenMode = mode; if (mLockScreenMode == KeyguardUpdateMonitor.LOCK_SCREEN_MODE_LAYOUT_1) { setGravity(Gravity.START); setTextAlignment(View.TEXT_ALIGNMENT_VIEW_START); } else { setGravity(Gravity.CENTER); setTextAlignment(View.TEXT_ALIGNMENT_CENTER); } updatePadding(); } Loading