Automatic translation import

Change-Id: Iaa6c9b57f15da0e3ac13428c11b4f38d6b71d0ae
Automatic translation import

Change-Id: I204801eeaded99492a12d81f6ad18a85c7a07382
Automatic translation import

Change-Id: I051bd95820b8c19a7b080b5c662de9900f2335cd
Calendar: Selected item should be selected after rotation

It dismiss dialog when activity pause and create a new one
when it resume, but didn't save the selected state.

Save the selected state, and resotre the state when create
the dialog.

CRs-Fixed: 428296

Change-Id: Ia6df7cccc3914057f6b1d9e7dced596486b995d3
Calendar: Tap prev btn should goto prev input field

As the ime options attribute is not set for description textView, the
default behavior of long press enter button is "OK" but not "Prev".

Set the ime options attribute for description textView.

CRs-Fixed: 408601

Change-Id: I8acdcc53a00d4474eb27469424878b75efec8539
Calendar: Cursor remains constant after locking and unlocking

The focus will be cleared at the end of the thread.

Do not clear the focus and save the current focus state for resuming.

CRs-Fixed: BZ1200

Change-Id: I2fd1b8f67caaac0afef87959cafe5a56efed48a2
Calendar: Support display the lunar info.

 - It will show the lunar info on the Month, Week and Day view.
 - If the current displayed language is not Chinese, it will not show the
   lunar info for on these views.

Change-Id: I1aeb4bc27dbdd127e69ceb0bf50abc1509cf4bb2
Calendar: Fix the issue of Calendar

Set the time for t1 but not for t.

CRs-fixed: 530201

Change-Id: I9d6cebf11e3e42672c07466dbb737464fbf18daf
Calendar: Do not show "Map" action if there isn't resolve app.

Sometimes the phone didn't contains the map application, and there isn't
application to resolve the view map action.

So the Calendar needn't to show the "Map" action on the statusbar under
this case.

CRs-fixed: 619204

Change-Id: I475a3285b23cfbac3a078fb6e89ca6c46575e9bf
Calendar: To display the complex lunar info.

Change-Id: Iae448e24c6d05bd7fde7873b3f575310a227112e
Support for deleting calendar events

First version. Includes support for deleting some or all events. Updates for comments..

Change-Id: Id61ce184396f3c1e084de68ab082b056378a537a
Original action_mode.xml

From Gallery App

Change-Id: I40fe986a0f29249ef3c3ea5139287f948114f36c
Calendar: Add the delete events menu item for landscape.

Add the menu item for "Delete event" in the landscape menu layout.

CRs-Fixed: 630737

Change-Id: Ic5b093085a92994ef61000cb6a828ae048fd3cec
Modified file action_mode.xml

action_mode.xml with the changes. Copyright updated.
Temporarily disabled use of dropdown icon till it is merged.

Change-Id: Idd40cde01b9487fdea11823886def1cf416df08f
Calendar: Add the strings of "Delete events" for Chinese language.

CRs-Fixed: 630165

Change-Id: I2ff5eef756d21f1b32d4e4425149f0db85fc7370
Calendar: Add the "Go to" menu for user to go to any date as select

When user press the menu button, it will show the "Go to"
item, and the user could select any date to view.

CRs-Fixed: 587493

Change-Id: Ia90f9c5697cf36a753534a0256947fa5e3a58576
Calendar: Support for deleting events (rest of the features)

 * Includes highlight for selected items.
 * Spinner-style select all, deselect all.
 * Improvements asset files updated.
 * Add the TW strings for it.
 * Show the delete events menu as the config.

Change-Id: I1781bd8748487bc51da8988f7ae74927c0e179c1
Calendar: Added the read external storage permission for read media provider.

As "READ_EXTERNAL_STORAGE" permission is enforced starting in API level 19.
So we need add this permission to manifest for access the media provider to
get the ringtone's title.

CRs-Fixed: 643665

Change-Id: I3f5b76ff5e244932effb4bb2698ce15a83e77876
Calendar: Check if the duration is empty before parser it when delete the events

If the event end time is 0, it will calculate the end time by "duration"
string. But if the "duration" is null, it will lead the NullPointerException.

So check the duration string is empty or not before use it to get the end
time when delete the events.

CRs-Fixed: 650814

Change-Id: I97350db4103959b851367beae53f09200a2a29b8
Calendar: The delete events option status changed after rotate screen

Calendar through LoadManager to query the total number of events, and
update the delete events option status in onLoadFinished method. But
this method will be called at the first time load data or data have
changed, so can't update option status when rotating screen.

Calls the initLoader function in onCreate and onResume ensure that
the onLoadFinished can be callback.

CRs-Fixed: 650667

Change-Id: Id96f28bf648de374fb5d2cb7e0827e072f5342bd