2283 Commits

Author SHA1 Message Date
Adam Powell
3f7f7ac30a Add dividers to action bar navigation. Lighter dividers for holo themes.
Change-Id: I879dbd815a891fe5db20678b674a9cee63a5e1ae
2010-12-05 16:44:38 -08:00
Adam Powell
4002cb21ea Add public style for tabby-looking views
Change-Id: I5b2339aff668f4db4569e55cd29328032ca03385
2010-12-05 13:07:27 -08:00
Adam Powell
8c345d8316 Integrate new holo button assets; update action bar tab styles
Change-Id: I9e16b08f507cf176f57568d8cc88a913aa08fcce
2010-12-05 12:17:29 -08:00
Adam Powell
d8b3f2e8ee Action mode animations
Change-Id: I132791217a38257e4fe730f2dd364cf48069c75d
2010-12-03 20:30:52 -08:00
Dianne Hackborn
8c7a580b34 Some theme cleanup.
- Add new dialog themes without a title bar.
- Add new Theme.Holo.NoActionBar.DialogWhenLarge.
- Remove old Extended and Theme.Light.Holo themes.
- Reorder the public definitions to keep things nice.

Also @hide the MipmapDrawable class.

Change-Id: Ic69a56e9b28aacf441780633f37f0bc6a475d08a
2010-12-03 16:32:50 -08:00
Adam Powell
d3f5ce154f Merge "Fix bug 3248342 - resource not found for non-xlarge" 2010-12-03 14:42:11 -08:00
Adam Powell
de0f5c99d9 Fix bug 3248342 - resource not found for non-xlarge
Change-Id: Ie3db1dcdec2bded49dc7579277f5c81773284647
2010-12-03 14:34:29 -08:00
Gilles Debunne
647fc85af8 Merge "Removed unused text_select_handle asset" 2010-12-03 11:33:51 -08:00
Gilles Debunne
7ffbc13776 Removed unused text_select_handle asset
Change-Id: Ide48933d372f95e80df16f90b8bb915193d6cebb
2010-12-03 11:28:10 -08:00
Amith Yamasani
968ec93839 Use SearchView in SearchDialog for legacy apps using the old model.
Bug: 3140925

Removed all the code from SearchDialog that is already in SearchView
and moved more stuff into SearchView.

SearchDialog layout changed to be more like a Holo.Light themed action mode.
Search field is right justified and limited to 500dip.

Zero query dropdown added to SearchView (causing some problems with Gmail,
but that may be an existing issue that's only now showing up due to this change)

Holo.Light search views assets still need to be updated, as the contrast is too low.
2010-12-03 11:18:25 -08:00
Ben Murdoch
cbdfd0fc0c Merge "Add a value for the dimensions of xlarge app icons." 2010-12-03 03:05:54 -08:00
Joe Onorato
df7cc31ad0 New SeekBar assets.
Change-Id: Ic4a470ea29be04e6f7c91b3ab72f4b814a40b8e0
2010-12-02 16:52:15 -08:00
Eric Fischer
d6a46103bf Merge "Rename Indonesian and Hebrew translations to match Locale.java conventions" 2010-12-02 14:29:03 -08:00
Russell Brenner
a9de7616c3 Merge WebKit at r72274: Update WebKit revision number
Change-Id: Ia0b6e349b06f5cdbf81cfa4eb2cbbc2a55c41ee3
2010-12-02 14:07:32 -08:00
Eric Fischer
d09a98173b Rename Indonesian and Hebrew translations to match Locale.java conventions
Change-Id: Icf4f1896d13a4b6bf86503b16bde189f1834fdcc
2010-12-02 14:05:29 -08:00
Adam Powell
fcca00accb Update themes; dialogs, metrics
Add divider attributes to LinearLayout, plus styles for borderless
buttons. Update text field assets.

Change-Id: I673acab1692cc028a0327e8c154069253a4d52e8
2010-12-01 23:23:21 -08:00
Eric Fischer
dcafdb2e9b Merge "Import revised translations." 2010-12-01 17:00:16 -08:00
Freeman Ng
58f49cb7f2 Merge "change SHUTDOWN permission to signatureOrSystem so setup wizard can start ACTION_REQUEST_SHUTDOWN bug: 3201638" 2010-12-01 15:44:42 -08:00
Freeman Ng
addfc766d5 change SHUTDOWN permission to signatureOrSystem
so setup wizard can start ACTION_REQUEST_SHUTDOWN
bug: 3201638

Change-Id: I0d422667fa27df5df2fadbf27d4e3677a70db8f1
2010-12-01 15:17:35 -08:00
Eric Fischer
198aa52429 Import revised translations.
Change-Id: Ie519c5155103e4f7715025d6e224b65f5fef8bb1
2010-12-01 15:15:29 -08:00
Chet Haase
5bed88e12d Animators can now have dimension and color values.
You can now use floats, ints, dimensions, or colors as input values
in XML for Animator objects. There is still a 'valueType' attribute
that lets you specify the number values to create the animator with,
though it defaults to floats (or in the case of color inputs, to ints).

Change-Id: I65f1df802db602c33f2a0308a663b6f808148e25
2010-12-01 08:11:29 -08:00
Mindy Pereira
8b2fb60cd4 Preference changes to layouts.
Change-Id: I37366c3465aa1d8d2bd30fb6ae4b821f5f2d5e2d
Additional changes to make the left and right padding
behave the same way as the top and bottom padding.
That is, our default pref screens will automatically
apply the padding and clipToPadding tags. Custom preference
screens will appear as before.
Uses LayoutParams now instead of a specific id.
2010-11-30 13:57:58 -08:00
Chet Haase
7306668586 animation bugfix plus xml resources for new View properties
There was a bug around animation duration where it was possible,
for small durations or large inter-frame times, to calculate
fractions outside of the 0-1 range, causing bad value calculations.

Unrelated: new View properties for translation, scale, and rotation
were added in this release. This commit addes XML resources for
those properties.

Change-Id: Ieaf5dd729588adb2a40656aa82beecc3576f4af5
2010-11-30 11:11:43 -08:00
Dianne Hackborn
fefc0743f8 Merge "Auto-show IME for dialogs on large screens." 2010-11-29 22:56:03 -08:00
Dianne Hackborn
7d3a5bcf30 Auto-show IME for dialogs on large screens.
On a large screen the IME is not going to as significantly
cover a pan & scan window, so allow it to auto-show if the
app hasn't otherwise specified its visibility.

Also some fixes here and there.

Change-Id: I10227ec59c43454e06e6870633f53426f4d78b83
2010-11-29 22:52:12 -08:00
Adam Powell
12190b36a9 Add the Switch widget
Switch is hidden currently; it will be used in SystemUI and preferences.

Change-Id: I2cd8458783f938f00f5ee5e7a67fb5a90404797d
2010-11-29 19:14:58 -08:00
Dianne Hackborn
af60e276e8 Merge "Fix issue #3225529: AlertDialogs are squishing their content views" 2010-11-29 18:14:35 -08:00
Dianne Hackborn
711e62a84f Fix issue #3225529: AlertDialogs are squishing their content views
ViewRoot is now smarter about measuring WRAP/WRAP windows.

Change-Id: I690fc78ddbe252d7c8070edb8e7352aec6c67ce9
2010-11-29 18:06:36 -08:00
Costin Manolache
fa04b8de11 Revert "Merge "Fix permission."" It breaks apps that rely on the wrong permission.
This reverts commit 974ab30569f9543c897047972260887cb33f8827, reversing
changes made to 8b780ec773b2d1765f3ce932ee8f86c9048fdb85.
2010-11-29 17:50:28 -08:00
Costin Manolache
974ab30569 Merge "Fix permission." 2010-11-29 16:11:26 -08:00
Eric Fischer
8b780ec773 Merge "Import revised translations." 2010-11-29 16:03:04 -08:00
Svetoslav Ganov
206316a61f New Number picker widget
Change-Id: I834e725b58682e7a48cc3f3302c93c57b35d4e27
2010-11-29 15:47:55 -08:00
Eric Fischer
8d1efa9577 Import revised translations.
Change-Id: I8d5fe7c1cf2f2a7903997da38b6abfe4dcabdab7
2010-11-29 15:10:37 -08:00
Ben Murdoch
f117263ef9 Add a value for the dimensions of xlarge app icons.
Bug: 3224340
Change-Id: I14670a0bad13a6a04159901e2ad17b3a0f0e1574
2010-11-29 18:45:55 +00:00
Dianne Hackborn
f9d0be917b Implement rotation animations.
This introduces a small new feature for ScaleAnimation allowing
the scaling factor to be expressed as a percentage of the object
(which is the same as the existing float interpretation), a
percentage of the container, or a fixed dimension.  Maybe not
useful for anything else, but I needed it for this.

Also fix a bug in how transformation matrices were propagated
from the Animation to Surface Flinger, so that rotate and skew
animations will actually work. :p

Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
2010-11-28 18:28:57 -08:00
Joe Onorato
5a6b4f8265 tighten up the notifciation layouts
Change-Id: I8e4f6a6412123fdd2d76381d568ab0bc3157b974
2010-11-27 21:58:49 -08:00
Joe Onorato
2e76ccad08 Merge "Long press on home shouldn't open recents" 2010-11-26 14:07:34 -08:00
Joe Onorato
50262e587c Long press on home shouldn't open recents
Change-Id: Iafb8205878768b74a833528532ab399d44b04263
2010-11-26 14:04:54 -08:00
Adam Powell
fc19b84448 Merge "Updated list assets for holo" 2010-11-24 21:14:54 -08:00
Adam Powell
d50761d7e6 Updated list assets for holo
Change-Id: I9ea3ee7e171432ddba76123d0cd38179f96c4d20
2010-11-24 21:13:24 -08:00
Amith Yamasani
f9beaeffef Merge "Use newer SearchView icons and improve layout and highlights." 2010-11-24 16:20:00 -08:00
Amith Yamasani
a9f1e1503f Use newer SearchView icons and improve layout and highlights.
Also fix the theming for AutoCompleteTextView, which is used by SearchView.
2010-11-24 16:16:23 -08:00
Adam Powell
24c0bc2406 Fix bug 3149106 - disabled text not dimmed
Change-Id: Ieef20e1f5041b544f32aaefad0ee7413ee56bfa7
2010-11-24 14:18:55 -08:00
Dianne Hackborn
a111187a5b Change rotation freeze to all be implemented in window manager.
Lots of work for no visible change in behavior, but now we can
do some fancier stuff...

Also allow rotation in all 4 directions.

Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461
2010-11-24 10:41:07 -08:00
Joe Onorato
8db70edf34 updated battery assets
Change-Id: I1a7a00c038041031daee59fb63bd5271da276619
2010-11-23 15:54:44 -08:00
Joe Onorato
46b0d6861c Turn off the long press on home action
Change-Id: I8b083e9e9b8bde4751264de18e5400434b315848
2010-11-23 15:54:43 -08:00
Mindy Pereira
2266b92072 Create logic for applying padding only to custom preference layouts
n the case of any standard PreferenceFragment layout, we can
change the list styling to add padding and set clipToPadding to false.
In this case, we don't want extra padding in the parent ViewGroup
(R.id.prefs).
When an app specifies a custom preference fragment layout, we want
to add the previously existing padding styles R.id.prefs.

Change-Id: Idfd77dcbef264c6f5f4121b66fd54c684ad0a288
2010-11-23 14:47:52 -08:00
Costin Manolache
e4e6efa46b Fix permission.
Change-Id: Ifb545e8fb1a312f0fecb9aed35027c0cb98fab65
2010-11-23 14:40:37 -08:00
Adam Powell
637d337b58 Merge overscrolling from gingerbread.
Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
2010-11-23 09:30:10 -08:00
Ben Murdoch
57914381a8 Offer the user the option to configure an AutoFill profile.
When the user selects a form field that is part of a form that can
be autofilled, inform the embedder that this is the case to give
them the opportunity to configure a profile if they the user has
not done so already. A Message is also provided
to the embedder that when sent will trigger the form to be filled
with the profile that the embedder set up.

Change-Id: Ica995e5b1ed92a3ec3e356401b261740d9f90e57
2010-11-23 12:18:02 +00:00