Adam Powell
f6148c53f9
Fix bug 2911311 and bug 2911700
...
Integrate the action bar overflow menu better with the options menu lifecycle.
Change-Id: I1e3fdba04b01718c3ee3367f92e5dabe7bc84b5c
2010-08-11 21:56:27 -07:00
Adam Powell
3d3da27ab3
Fix bug 2911529
...
Change-Id: I18d7f5d8a300bbc73ef721c5d4deb200d6a490b8
2010-08-11 18:07:31 -07:00
Adam Powell
6b336f835d
ActionBar overlay mode, height fetching, show/hide
...
Change-Id: Ie931ed26ec885d891d6733132b517a53d95f8491
2010-08-11 16:17:57 -07:00
Kenny Root
bf0cb26a1c
am f5ee5358: am ac9717ab: Merge "Move OBB file reading to DefaultContainerService" into gingerbread
...
Merge commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798'
* commit 'f5ee5358c187107b2e5a1e1fbcb5a648d793c798':
Move OBB file reading to DefaultContainerService
2010-08-11 14:15:10 -07:00
Kenny Root
f5ee5358c1
am ac9717ab: Merge "Move OBB file reading to DefaultContainerService" into gingerbread
...
Merge commit 'ac9717ab73afe0123b6dbb63c4dd2fc88143e53e' into gingerbread-plus-aosp
* commit 'ac9717ab73afe0123b6dbb63c4dd2fc88143e53e':
Move OBB file reading to DefaultContainerService
2010-08-11 14:10:18 -07:00
Kenny Root
a02b8b05dd
Move OBB file reading to DefaultContainerService
...
The system_server shouldn't touch files on the SD card. This change
moves the things that touch the SD card out to the
DefaultContainerService so that it will get killed if the SD card goes
away instead of the system_server.
Change-Id: I0aefa085be4b194768527195532ee6dddc801cfc
2010-08-11 11:20:53 -07:00
Dianne Hackborn
7b6d0d99b6
am 679ac09a: am a5ae50cd: Merge "More native work." into gingerbread
...
Merge commit '679ac09a5c22175354f3a04b28456b323839530e'
* commit '679ac09a5c22175354f3a04b28456b323839530e':
More native work.
2010-08-11 00:50:56 -07:00
Dianne Hackborn
679ac09a5c
am a5ae50cd: Merge "More native work." into gingerbread
...
Merge commit 'a5ae50cd838b5725c63ed485292aae4edd1a98cb' into gingerbread-plus-aosp
* commit 'a5ae50cd838b5725c63ed485292aae4edd1a98cb':
More native work.
2010-08-11 00:47:51 -07:00
Dianne Hackborn
08d5b8fad8
More native work.
...
Implement save/restore of state, and add native APIs for
configuration information.
Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5
2010-08-11 00:29:59 -07:00
Adam Powell
f75eeb28de
Fix bug 2908822 - open/closePanel should do the right thing with ActionBars
...
Change-Id: Ic77f9dee864d17046f69c78a1e6d96a49b5c6180
2010-08-10 15:59:40 -07:00
Adam Powell
dec9dfd0f9
Support ActionBar in Dialogs
...
Dialogs planning on using an ActionBar must have an appropriate
theme. (Later on this will likely be default.)
Change-Id: I7fbf5f76eed3d10765fddeaf211e4decb4e89f87
2010-08-09 22:18:24 -07:00
Romain Guy
02890fd0f9
Replace Bitmap's finalizers with PhantomReferences.
...
This change also removes the use of SoftReferences for View's
drawing cache.
A bitmap now creates a PhantomReference enqueued in a reference
queue provided by the new Finalizers class. This queue is polled
from a thread started after forking zygote. That thread is in charge
of clearing the references after GC runs and of calling reclaim()
on them. The reclaim() method is now how finalizers are run.
Note that a PhantomReference cannot be kept in the instance it
refers to, which is why they are kept in a separate List.
Change-Id: If3c1a5e9dc23fa49e34857860d730f5cf5ad5926
2010-08-09 09:44:40 -07:00
Mike Lockwood
90960e87ec
Set umask of system server to 0077
...
This matches the previous behavior of java.io.File file and directory creation.
BUG: 2898660
Change-Id: Ie8978a3fc44abfd22f8046e66742e715354220a8
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-08-06 09:19:58 -04:00
Brian Carlstrom
1b7e4d5adc
am 4ae1e382: Merge "Tracking merge of dalvik-dev to gingerbread" into gingerbread
...
Merge commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af' into gingerbread-plus-aosp
* commit '4ae1e382f4b6c5bb9e757f35f82ad48dc02c32af':
Tracking merge of dalvik-dev to gingerbread
2010-08-05 10:40:45 -07:00
Daniel Sandler
0f0b11c871
Basic support for notification payloads in the panel.
...
Line-item veto is there, but allows you to cancel some
notifications you probably shouldn't be canceling. (Should
hide the "X" in those cases.)
No preference given to "sticky" notifications, because
there's no such thing yet.
Notifications are now limited to 4 visible icons, per spec.
The implementation is a total hack for now.
Change-Id: Ibdf433ae94189117f983c510fe5e0cff0bf5c44c
2010-08-05 09:34:50 -04:00
Brian Carlstrom
3c7c351a62
Tracking merge of dalvik-dev to gingerbread
...
git cherry-pick --no-commit f77cf7f0
git cherry-pick --no-commit c8f503b528
git cherry-pick --no-commit 570bb561
git cherry-pick --no-commit e2417541
git cherry-pick --no-commit e4d81f25bd
git cherry-pick --no-commit 5e8a587d
Change-Id: I101a385d43f3e0f4ce5352217f92ef67a3908c88
2010-08-04 23:47:38 -07:00
Chris Tate
5bac1cc0b8
am 9f6b16a2: am 5d46ce24: Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread
...
Merge commit '9f6b16a29b62f29496bc652cfec7d6fe9f08c7f4'
* commit '9f6b16a29b62f29496bc652cfec7d6fe9f08c7f4':
Enhanced VelocityTracker for > 5 pointers and fixed bugs.
2010-08-04 11:12:32 -07:00
Adam Powell
4be0d52125
Added android.widget.PopupMenu
...
Change-Id: Id507cf93ebd0484f141a0a44266b883c01aa10db
2010-08-04 11:06:22 -07:00
Adam Powell
1f9c7afc5a
Add support for action buttons without an icon.
...
Change-Id: I026bb7463e7a73419dbaf79950d579ba05d04ea8
2010-08-03 15:01:31 -07:00
Chris Tate
9f6b16a29b
am 5d46ce24: Merge "Enhanced VelocityTracker for > 5 pointers and fixed bugs." into gingerbread
...
Merge commit '5d46ce24cc46dc57d31f809302af916999114ced' into gingerbread-plus-aosp
* commit '5d46ce24cc46dc57d31f809302af916999114ced':
Enhanced VelocityTracker for > 5 pointers and fixed bugs.
2010-08-03 12:25:29 -07:00
Jeff Sharkey
a8a72c38fe
Populate accessibility field on ActionBar items.
...
When building an ActionMenuItemView, set the content description based
on the item title. Fixes http://b/2885106
Change-Id: I101bbc6db7080ce08eed1bbb401c45329da2ab53
2010-08-02 16:30:20 -07:00
Adam Powell
9168f0b170
Add ActionMode#getMenuInflater() for easier menu inflation in
...
ActionMode.Callback implementations
Change-Id: If9e7ab0d65598bab537add6c6a452a55c093064f
2010-08-02 16:02:24 -07:00
Adam Powell
8350f7dbc3
Added CHOICE_MODE_MULTIPLE_MODAL to ListView.
...
Based on ActionModes, CHOICE_MODE_MULTIPLE_MODAL supports the new
Honeycomb-style selection mode.
Change-Id: I293ea22487db8e081c95e5236f1e053f7dd4ada6
2010-08-02 11:28:31 -07:00
Jeff Brown
9e2ad36be8
Enhanced VelocityTracker for > 5 pointers and fixed bugs.
...
Improved PointerLocation tool to use VelocityTracker more efficiently
and correctly when multiple pointers are down.
Fixed a bug in TouchInputMapper where it was not correctly copying
the id to index map in the last touch data. This could cause strange
behavior on secondary pointer up events.
Also added finished callback pooling in InputQueue.
Change-Id: Ia85e52ac2fb7350960ea1d7edfbe81a1b3e8267b
2010-07-30 20:08:29 -07:00
Romain Guy
15d6184be7
am ff74e22b: am ce3ac5f0: Merge "Corrected buffer overflow when parsing /proc/wakelocks"
...
Merge commit 'ff74e22b59f8157580953fcd69e3c32aa8f68eb2'
* commit 'ff74e22b59f8157580953fcd69e3c32aa8f68eb2':
Corrected buffer overflow when parsing /proc/wakelocks
2010-07-29 14:36:29 -07:00
Romain Guy
ff74e22b59
am ce3ac5f0: Merge "Corrected buffer overflow when parsing /proc/wakelocks"
...
Merge commit 'ce3ac5f02970fcab91e16ecb573931d209b1985c' into gingerbread-plus-aosp
* commit 'ce3ac5f02970fcab91e16ecb573931d209b1985c':
Corrected buffer overflow when parsing /proc/wakelocks
2010-07-29 14:32:34 -07:00
Romain Guy
ce3ac5f029
Merge "Corrected buffer overflow when parsing /proc/wakelocks"
2010-07-29 14:00:48 -07:00
Adam Powell
a66c7b0456
Add support for setting action bar title/subtitle by resource ID
...
Change-Id: I91b6f56bd3736fd7cc8b82cbbf0b7be2e1c718e5
2010-07-28 18:02:48 -07:00
Adam Powell
c9ae2a24dc
Add support for setting action mode titles/subtitles by resource ID
...
Change-Id: Ia0d5234cc16f325eeb29127fb87e2616d67379ec
2010-07-28 17:00:02 -07:00
Mike Lockwood
03a545e5ed
Merge changes I00d6980a,I814221b4,Id88603a5
...
* changes:
CameraBrowser: Launch itself when a camera is attached to USB.
Send Intents when PTP compatible devices are connected/disconnected to USB
Give system server permission to access USB.
2010-07-28 14:59:45 -07:00
Adam Powell
5d27977f9d
Action modes without action bar
...
Change-Id: I0367ab35e598a17980bd373b30828175f6283acc
2010-07-27 21:04:52 -07:00
Mike Lockwood
037a086b16
Give system server permission to access USB.
...
Change-Id: Id88603a5555b37b437f5333acf78dac3c5ffbce3
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-07-27 18:42:44 -04:00
Adam Powell
6e34636749
Moved context modes into view, renamed to action modes
...
ContextualMode renamed to ActionMode. Adds a reference to the action
bar and reduces confusion around things named "Context".
Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
2010-07-26 17:28:45 -07:00
Mike Lockwood
9765211b90
am 64f04a64: am 70736a6d: Merge "Avoid starting multiple threads in ShutdownThread" into gingerbread
...
Merge commit '64f04a645ea4fd81cfb41fba23d9ba9e1279d416'
* commit '64f04a645ea4fd81cfb41fba23d9ba9e1279d416':
Avoid starting multiple threads in ShutdownThread
2010-07-26 12:30:28 -07:00
Dianne Hackborn
48b9cbb046
am 443d884e: am 3bee5af8: Battery stats: start removing last stats, keep total discharge.
...
Merge commit '443d884e16fad2e01a97aa788d4b30de53c94048'
* commit '443d884e16fad2e01a97aa788d4b30de53c94048':
Battery stats: start removing last stats, keep total discharge.
2010-07-26 12:30:06 -07:00
Mathias Agopian
bf23832acc
am fed3c364: am eab07e5c: Merge "Report sensor events to BatteryStats service" into gingerbread
...
Merge commit 'fed3c364e6fc6acc5e5836bd1370c3c278f8a248'
* commit 'fed3c364e6fc6acc5e5836bd1370c3c278f8a248':
Report sensor events to BatteryStats service
2010-07-26 12:30:01 -07:00
Mike Lockwood
64f04a645e
am 70736a6d: Merge "Avoid starting multiple threads in ShutdownThread" into gingerbread
...
Merge commit '70736a6d92767258543bb03ac22a705535d86341' into gingerbread-plus-aosp
* commit '70736a6d92767258543bb03ac22a705535d86341':
Avoid starting multiple threads in ShutdownThread
2010-07-26 12:25:31 -07:00
Dianne Hackborn
443d884e16
am 3bee5af8: Battery stats: start removing last stats, keep total discharge.
...
Merge commit '3bee5af8162c177f8c8f4199489a401058ab26a9' into gingerbread-plus-aosp
* commit '3bee5af8162c177f8c8f4199489a401058ab26a9':
Battery stats: start removing last stats, keep total discharge.
2010-07-26 12:24:16 -07:00
Mathias Agopian
fed3c364e6
am eab07e5c: Merge "Report sensor events to BatteryStats service" into gingerbread
...
Merge commit 'eab07e5c1d48d45f76ac2dd4a45c8a3457aa290d' into gingerbread-plus-aosp
* commit 'eab07e5c1d48d45f76ac2dd4a45c8a3457aa290d':
Report sensor events to BatteryStats service
2010-07-26 12:24:00 -07:00
Mike Lockwood
d67b236497
Avoid starting multiple threads in ShutdownThread
...
The previous code allowed this to happen if a second call to shutdown
happened while the dialog was being displayed.
BUG: 2563243
Change-Id: I93adc4ef316917a79002d580b17eda0dc354704c
Signed-off-by: Mike Lockwood <lockwood@android.com >
2010-07-26 07:27:23 -04:00
Dianne Hackborn
3bee5af816
Battery stats: start removing last stats, keep total discharge.
...
Change-Id: I59c4bcbb9893adb237017add76b83c22153f94ef
2010-07-24 13:36:47 -07:00
Mathias Agopian
32123fde1b
Report sensor events to BatteryStats service
...
Change-Id: I9b83aa709887aa658bc474391573f2d45b6c4eb2
2010-07-23 16:55:24 -07:00
Adam Powell
93b6bc3d15
Make finish() a no-op on a context mode that is not active.
...
Change-Id: I2b3b304b7371a76ce67dcf197eaea2e77904399b
2010-07-22 11:36:35 -07:00
Adam Powell
2175f1370c
Rename callback methods for contextual modes to match recent refactoring.
...
Change-Id: I9403f0c728143cd075827f21270b5468abc5271b
2010-07-21 17:26:46 -07:00
Adam Powell
178097727f
Fix bug 2859423 - action bar: need a way to choose item in spinner
...
Change-Id: Idf9c222e5d8f27b4339a6df7d14f3f10dcb4be2c
2010-07-21 13:56:35 -07:00
Adam Powell
ac695c608b
Refactored contextual modes out of action bar.
...
Change-Id: I1fc1c9383e5ee90f135b92a5afa8eadbf1c13d20
2010-07-20 18:56:59 -07:00
Adam Powell
269b8bb0cb
Fix a bug with closing action bar context modes
...
Change-Id: I4f11549664f11cdc02d135288e05459007dbf0c8
2010-07-20 16:46:42 -07:00
Adam Powell
b366bbae2b
Make sure action bar context modes reserve space for overflow menus on all devices.
...
Change-Id: I393f041efef3852b7f3ee57c6a4c26ba176b2702
2010-07-20 14:26:46 -07:00
Adam Powell
2c9c9fe806
Action bar context mode support for overflow, submenus
...
Change-Id: I951ae179698b08b6aba5b174b3d47f0cf847352e
2010-07-20 12:08:07 -07:00
The Android Open Source Project
ca48433afc
merge from open-source master
...
Change-Id: I1901177e8a4bd32a707020c581f25f21349ba571
2010-07-20 10:33:38 -07:00