Frameworks: Notification Reminders (1/2)

Click notification header to set a reminder
Long-click to dismiss current

Change-Id: I68d6eab8893419e8ec192d45f1e6b42ddff3e62b

	modified:   core/java/android/provider/Settings.java
	modified:   core/java/android/widget/ViewFlipper.java
	modified:   packages/SystemUI/Android.mk
	modified:   packages/SystemUI/AndroidManifest.xml
	new file:   packages/SystemUI/res/anim/reminder_fade_in.xml
	new file:   packages/SystemUI/res/anim/reminder_fade_out.xml
	new file:   packages/SystemUI/res/layout/reminder_dialog.xml
	new file:   packages/SystemUI/res/layout/reminder_entry.xml
	modified:   packages/SystemUI/res/layout/status_bar_expanded_header.xml
	new file:   packages/SystemUI/res/values/slim_strings.xml
	modified:   packages/SystemUI/src/com/android/systemui/BootReceiver.java
	new file:   packages/SystemUI/src/com/android/systemui/ReminderMessageView.java
	new file:   packages/SystemUI/src/com/android/systemui/service/ReminderService.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	new file:   packages/SystemUI/src/com/android/systemui/timedialog/ReminderTimeDialog.java
Frameworks: Notification Reminder Interval && Fixes (1/2)

Calculate actual length acceptable for the
	flipper to flip through per device,
	dpi, shade type, etc. A crespo user
	emailed me and said they were having
	issues in this area... Added benefit
	is we can now have separate
	flippers for landscape on devices
	where landscape shade is longer than
	portrait shade (non-tablets).
	Create second flipper and set
	visibility rather than doing the
	complex string breaking on each rotation.

Change EditText type to capitalize sentences
	by default when setting message.

Notification updated to allow user to stop
	the sound by clicking and dismiss
	with a button.  Allows a user to
	cancel the sound but keep the
	notification around.

Also add Flip Interval option since (device dependant)
	the strings parts can potentially be a
	lot longer with this method.

PS2: Oops forgot to git add and ammend lol
PS3: Update file name so I don't conflict with
	mnazim's upcoming feature lol
PS4: Set title limit as well.  Use marquee
	in the case that user's input is too
	large to fit the view.
PS6: Bad math is bad for layout padding

Change-Id: I14572917f499cc27a612da15130666db3fb592eb

	modified:   core/java/android/provider/Settings.java
	modified:   packages/SystemUI/AndroidManifest.xml
	modified:   packages/SystemUI/res/layout/reminder_dialog.xml
	modified:   packages/SystemUI/res/layout/status_bar_expanded_header.xml
	modified:   packages/SystemUI/res/values/slim_strings.xml
	new file:   packages/SystemUI/src/com/android/systemui/ReminderReceiver.java
	modified:   packages/SystemUI/src/com/android/systemui/service/ReminderService.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	modified:   packages/SystemUI/src/com/android/systemui/timedialog/ReminderTimeDialog.java
SystemUI: Notification Reminder New Layout && Fixes

Set mCurrOrientation on init

Reimagine Notification Reminder:
	Set beneath normal header.
	No more need to guess size...
	Needed update since apparently
	many users have issues here.

Music Sleep Timer && Reminder:
	set time to start of minute,
	not where we are now.

Change-Id: I9a80cd8b7d4cc6205328f737a3d202eacd1b2dd4

	new file:   packages/SystemUI/res/drawable/ic_notification_reminder_bg.xml
	new file:   packages/SystemUI/res/layout/notification_reminder.xml
	modified:   packages/SystemUI/res/layout/reminder_entry.xml
	modified:   packages/SystemUI/res/layout/status_bar_expanded.xml
	modified:   packages/SystemUI/res/layout/status_bar_expanded_header.xml
	modified:   packages/SystemUI/res/values/colors.xml
	modified:   packages/SystemUI/res/values/slim_strings.xml
	modified:   packages/SystemUI/src/com/android/systemui/BootReceiver.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	new file:   packages/SystemUI/src/com/android/systemui/timedialog/MusicTileTimeDialog.java
	modified:   packages/SystemUI/src/com/android/systemui/timedialog/ReminderTimeDialog.java