History log of /frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ce4a0c6f160241ea06e1f2000815094263dea70d 17-Nov-2011 Jim Miller <jaggies@google.com> Fix 5906830: Update the clock earlier when lock screen comes back from suspend.

This attempts to fix an issue where sometimes the time shown on lock
screen was really old. The code now sets the time immediately when the
screen turns on.

Change-Id: Ic4649ea342499aea82f997ba488bc2cb45987739
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
faed16030df5221f790a4d6fd5bdfb592db977fa 09-Nov-2011 Jim Miller <jaggies@google.com> Fix 5579440: Add transport control view to tablet unlock screens

This updated tablet layouts to support showing album art and transport
control views in PIN, pattern and password screens of lock screen.

It also allows the addition of a background protect asset and
the ability to show the system wallpaper on layouts that define a
transport_bg_protect view.

Also updated layout to use new ICS-style buttons on lock screen and
fixed bug with "forgot pattern" button where we were showing the
emergency call icon.

To avoid problems with leading ones in the mono-space clock font,
we now right-justify status text on tablet and remove the AM/PM
indicator.

Status font size adjusted by UX.

Added background protection drop shadow to transport control.

Fixed portrait mode to be right-justified when transport is showing.

Change-Id: I790292fc39f4588f87adc9d9241706817ae6baab
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
ccff48b7cb4a1dd81ee90fb31d4dedf5dc71b8d0 24-Oct-2011 Jim Miller <jaggies@google.com> Removing 2nd background clock font display from statusbar and lock screen

Change-Id: If9edfed231cde6590b28fc2115d78bc97b74ae4e
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
a7f3a34313074a96b1cc2eb4bea0304d8375af75 18-Oct-2011 Jim Miller <jaggies@google.com> Fix 5473038: workaround for fd leak in lockscreen

This works around a file descriptor leak in Skia. It also improves
view creation time by avoiding re-loading the font every time a
DigitalClock is created.

Change-Id: I5c46445da36b1e6ba06c8ca340e436835d281180
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
0d244193bed0c995e2beaff5e217200457b28b9d 17-Jun-2011 Jim Miller <jaggies@google.com> Update pattern unlock and assets to match new UX design spec.

Fix bug with LockPatternView measurement.
Clean up forgotPassword/emergencyCall button code.
Lots of layout tweaks. Now uses new GridLayout for many of them.
New assets.

Updated after review.

Change-Id: I52d4ce65c6b6c644ac60eb55bb8eaff8bfeb1071
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
00e37916bc121cea928f6bad6d059cbd00e8bf6b 25-Jan-2011 Jim Miller <jaggies@google.com> am 1323ab83: am 42a46157: Fix 3379239: Catch exceptions from workaround for OOM.

* commit '1323ab83e4be088fd66ad73ea9da617e46382987':
Fix 3379239: Catch exceptions from workaround for OOM.
42a461570b9c5502959e429c4f16ca5ca860c4f2 23-Jan-2011 Jim Miller <jaggies@google.com> Fix 3379239: Catch exceptions from workaround for OOM.

This catches possible exceptions caused by attempting to
unregister a receiver that may have already been unregistered.
This is related to the OOM issue workaround in Change I99a7e0c3.

Change-Id: Ib69a8acc6b12659125c958a03efac0a8a68a3859
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
3530ebe451fea39b159baa9b8c9f9cd851de42a3 17-Jan-2011 Jim Miller <jaggies@google.com> resolved conflicts for merge of 578e73da to honeycomb-plus-aosp

Change-Id: I334ae5382220a84881521885b6e3c3991fd8bbb0
8b886fab5496b0b1f5193f21855220176deddc37 14-Jan-2011 Jim Miller <jaggies@google.com> Fix 3106227: use WeakReferences for receivers in DigitalClock class

This works around a bug in the framework where LockScreen wouldn't
get GC'd under certain circumstances which would lead to an OOM
crash. It now uses WeakReferences for observers inside the
DigitalClock container class and unregisters them if the containing
DigitalClock goes away.

Also removed mLive variable which was unused and could potentially
leak the receivers.

Left mAttached for debugging so we can use it to determine if the
calls to onAttachToWindow() and onDetachFromWindow() are grossly
unbalanced which may be the root cause of the original problem.

Have cleanUp() explicitly clear unused references to make
tracing through hprof references easier.

Change-Id: I99a7e0c356001b05eab5aa729564553666febfea
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
81f9b286d1308ba72c0d4a12668311e37b8b4ddd 10-Jan-2011 Jim Miller <jaggies@google.com> Fix 3299611: Use system font for AM/PM indicator

This fixes a bug where translations wouldn't pick up the proper
AM/PM indicator because AndroidClock.ttf doesn't contain the
full Android character set for translations.

Change-Id: I61737bae7383946906a4e6b776afa7463da9355d
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
4e659135fdb50dce83a3f26f61f410a65a8ff584 18-Dec-2010 Jim Miller <jaggies@google.com> Fix 3148496: Update LockScreen clock to use new font.

Change-Id: I8a4133f633bd3927de75010099e29ad847f3f671
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
54df9de49454a5b403f87d6b8aa6746b7b2c47a5 18-Mar-2010 Daniel Sandler <dsandler@google.com> Redesigned keyguard layout in the no-SIM case.

The emergency call button has been removed (since the user
can disable the keyguard, open the phone app, and enter the
emergency number there).

AM/PM have also been baseline-aligned with the clock.

(Requires I46a78c700427d769da6f7f2d3e9f419c2a921a61)

Bug: 2421380

Change-Id: I07bfc0f1c5b3f0e10b8cb72768848251439e19dd
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
f60e108fa984d823aabad5b691bc248bffe5d1a5 20-Nov-2009 Daniel Sandler <dsandler@google.com> Don't block TIME_TICK broadcasts in the DigitalClock widget.

This change applies the fix -- originally by phanna in
https://android-git.corp.google.com/g/#change,33669 -- to
the com.android.internal.widget version of DigitalClock,
which is used by the keyguard and pattern lock screens.

Change-Id: I43f72dd144423e55f73ba52903d52163c8f65591
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java
e3ea6e3d4c8a8c2dc71f608a74ed9f6137afe63d 12-Nov-2009 Daniel Sandler <dsandler@google.com> Update keyguard and pattern-lock layouts for new UX designs.

To do this, we bring DigitalClock over from Clock into the
internal widgets. Its font, Clockopia, comes along for the
ride (find it in /system/fonts).

This change is required for relevant code changes in
frameworks/policy/phone.

Change-Id: I354534f1abd9cf9557c9d18566f1d55b6be5e8f1
/frameworks/base/core/java/com/android/internal/widget/DigitalClock.java