35552 Commits

Author SHA1 Message Date
Chet Haase
6e0ecb4eed Adding JNI methods as a faster reflection mechanism
This approach is only for the common cases of void-return,
single-argument float/int methods.

Change-Id: Ifb31535a6f717b85417eced93c579be6e461e039
2010-11-04 13:37:45 -07:00
Chet Haase
f3e0268b3a Merge "Fixed problem with setting updated values on existing animators" 2010-11-03 22:42:02 -07:00
Chet Haase
691ac26817 Fixed problem with setting updated values on existing animators
The previous version of PropertyValuesHolder handled construction fine,
but setting new values did not result in things getting completely set
up correctly for interpolation between those new values.

Change-Id: Ibffb16e58b4fe76b8d1cad6f0224ffd4d5404c05
2010-11-03 22:38:32 -07:00
Wink Saville
7d9c28bd16 Merge "Allow DataConnectionTrackers to manage multiple data connections." 2010-11-03 21:58:20 -07:00
Jim Miller
0c91a8ee93 Minor tweaks to lockscreen animation:
Remove transition delay to show home.
Add new constants to allow finer tuning of "success" animation.
Transition all items to transparent on successful unlock.

Change-Id: Id9f57b9bfc08be840d9282f987925617d2b42ea1
2010-11-03 21:55:18 -07:00
Justin Ho
c563859b1c am ade230ed: (-s ours) am 112b5b1f: Merge "DO NOT MERGE - Updated VPNServices stat_sys icons" into gingerbread
* commit 'ade230ed99097a09584a793ce720cc869c9ffeb4':
  DO NOT MERGE - Updated VPNServices stat_sys icons
2010-11-03 20:11:28 -07:00
Jeff Hamilton
6d93386a2d am 1212d4fd: am ef569469: Merge "Remove the My Tag feature." into gingerbread
* commit '1212d4fdc9bdc09c2c4c4d676b0918172eb09380':
  Remove the My Tag feature.
2010-11-03 20:11:23 -07:00
Romain Guy
617d74ac48 Merge "Fix rendering bug with saveLayerAlpha/drawColor." 2010-11-03 20:03:42 -07:00
Romain Guy
e45362cad9 Fix rendering bug with saveLayerAlpha/drawColor.
drawColor() was not calling quickReject because it fills the clip region
and thus always passes the test. However, quickReject also checks whether
the current layer is invisible. drawColor() now performs the same check
and avoid drawing inside an invisible layer.

Change-Id: I63d0e9a8a9c0fba774f0f5c3870d58e6ed96fbd1
2010-11-03 19:58:32 -07:00
Adam Powell
0c24a5514c Fix bug 3156280 - Fix several issues with tab navigation in action bars.
Add the ability to restrict a FragmentTransaction's ability to be
added to the back stack. (It doesn't make sense for tabs or other
scenarios to allow this.)

Change-Id: I8fa2edb5f35c365e2483010ad13eb9993f5e6570
2010-11-03 19:24:19 -07:00
Dianne Hackborn
079e235750 Add new fade in/out feature for drawable containers.
This is used to allow list view's pressed and activated indicators
to fade in an out, though of course it can be used elsewhere as well.

There is a lot of complexity in supporting this in list view.  The
two main things that are being dealt with:

- When recycling views, we need to make sure that the view's drawable
  state doesn't get animated from an old row's state.  The recycler
  now keeps track of which position a view was last in, and if it is
  reused at a new position there is a new View/Drawable API to tell
  it to jump to its current state instead of animating.

- For the pressed indicator to fade out, we need to keep displaying it
  after it is hidden.  There are new variables and code to keep track
  of this state, and tweaks in various places to be able to remember
  the last selected position and continue updating the drawable bounds
  as needed.

Change-Id: Ic96aa1a3c05e519665abf3098892ff2cc4f0ef2f
2010-11-03 19:11:19 -07:00
Chet Haase
079fd674fb invalidate() View when backgroundColor changes
Change-Id: I5dd41b6ccffe35a784eec74495649fede65e78f2
2010-11-03 18:07:45 -07:00
Chet Haase
7c608f25d4 optimizing for primitive types in animations
The animator classes caused autoboxing by converting primitive types (by far
the most typical types used in animations) to be converted to their
Object equivalents because of various APIs that required Object
(like getValue() to get the animated value). This change creates
factory methods on some classes instead of the former constructors
so that we can create and return private type-specific subclasses
which operate directly on the primitive types instead.

In particular, float and int are natively supported by the animators
now. Support in the APIs for double and long was removed because it
seemed like these less common types did not justify the extra
baggage of the added API and code.

Change-Id: I6008a3883e3d6dd5225005f45f112af148e5a4ea
2010-11-03 17:42:04 -07:00
Wink Saville
3611e5c939 Allow DataConnectionTrackers to manage multiple data connections.
This is the first step to allow simultaneous data connections.

Bug: 2441767
Change-Id: Ia625cfe94b771a6958401adca84b80543fbdb35c
2010-11-03 17:14:16 -07:00
Dmitry Shmidt
8182cd36cf Merge "bugreport: Fix dump of netcfg command" 2010-11-03 17:06:29 -07:00
Robert Greenwalt
26ba124903 Merge "Add some network/phone type constants." 2010-11-03 17:05:24 -07:00
Robert Greenwalt
962a990a45 Add some network/phone type constants.
Support for LTE (and SIP-based voice) and the stepping-stone eHPRD.

bug:3125398
Change-Id: Ied3d96fa09d9c758a82a2fd1817f55db711d1a4f
2010-11-03 17:02:37 -07:00
Dmitry Shmidt
2c3197bf46 bugreport: Fix dump of netcfg command
Change-Id: Id2f507f4b094cd9cbe5c5eae9030321d1c3ed71a
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-11-03 16:59:47 -07:00
Romain Guy
9195f75df0 Merge "Fix rendering issue with layers." 2010-11-03 16:23:41 -07:00
Romain Guy
5ec9924d24 Fix rendering issue with layers.
Change-Id: I1d511ab2707000762a942d32c300a9944ab38603
2010-11-03 16:19:08 -07:00
Praveen Bharathi
26e3734983 frameworks/base: switch audio to hdmi when cable is plugged in
Change-Id: I01c4ee968bc0ffbb6ce75370935571cc1ff6f8c7
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-11-03 15:38:12 -07:00
Jaikumar Ganesh
de04e5242a Merge "Add STATE_AUDIO_CONNECTING state." 2010-11-03 14:58:00 -07:00
Andreas Huber
fd96799958 Merge "Experimentally reenable mpeg4 and h.263 hardware decoders." 2010-11-03 14:40:27 -07:00
Shimeng (Simon) Wang
a25c0305bc Merge "Prevent 0 content width." 2010-11-03 14:33:28 -07:00
Jason Sams
5dc336e23a Merge "RS Error cleanup. Thow java exception during init if the GL driver fails rather than native crash." 2010-11-03 14:29:16 -07:00
Jason Sams
d5f0630034 RS Error cleanup.
Thow java exception during init if the
GL driver fails rather than native crash.

Change-Id: Ie96ef5a2ac12e64f9456545d86157c4c95179a8e
2010-11-03 14:27:11 -07:00
Andreas Huber
9f9ae60ace Experimentally reenable mpeg4 and h.263 hardware decoders.
Change-Id: I1be266bd4534004a08e8836b48cc6c09ca890ccc
2010-11-03 14:21:15 -07:00
Shimeng (Simon) Wang
27c31388e4 Prevent 0 content width.
Sometimes content will be set to 0 from webkit.

issue: 3161799
Change-Id: Ib17322c2e71535105d0f961674cedce63f66a534
2010-11-03 14:18:40 -07:00
Bryan Mawhinney
8dc287de7f Merge "Avoid copying byte arrays when just decoding bounds." 2010-11-03 14:05:54 -07:00
Eric Fischer
e9702c3989 Split strings referring to "phone" into phone and tablet variants.
Change-Id: I956c075a1ddeb627db0ba582a35906c9ae8f41ea
2010-11-03 13:44:11 -07:00
Justin Ho
ade230ed99 am 112b5b1f: Merge "DO NOT MERGE - Updated VPNServices stat_sys icons" into gingerbread
* commit '112b5b1f304846a1f6999a8347f45dae43719b8f':
  DO NOT MERGE - Updated VPNServices stat_sys icons
2010-11-03 13:43:09 -07:00
Justin Ho
112b5b1f30 Merge "DO NOT MERGE - Updated VPNServices stat_sys icons" into gingerbread 2010-11-03 13:39:26 -07:00
Justin Ho
ccacd87a39 DO NOT MERGE - Updated VPNServices stat_sys icons
Change-Id: I2dfb6873488460528bab68225a69cae61c215006
2010-11-03 13:38:12 -07:00
Jeff Hamilton
1212d4fdc9 am ef569469: Merge "Remove the My Tag feature." into gingerbread
* commit 'ef5694692f88bb91ed6ee1191b11a66ec594ff39':
  Remove the My Tag feature.
2010-11-03 13:37:22 -07:00
Jeff Hamilton
ef5694692f Merge "Remove the My Tag feature." into gingerbread 2010-11-03 13:34:39 -07:00
Jeff Hamilton
575a6bbfe0 Remove the My Tag feature.
Change-Id: I9167121da2fa66ddae23386d24fef7bcc64eb3f1
2010-11-03 15:32:40 -05:00
Xavier Ducrohet
6b6fa1625a Merge "Layoutlib native delegate: primitive shapes and shaders" 2010-11-03 13:30:22 -07:00
Xavier Ducrohet
1272b4625f Merge "More layout Canvas/Paint implementation." 2010-11-03 13:30:17 -07:00
Xavier Ducrohet
251d2e9924 Layoutlib native delegate: primitive shapes and shaders
Change-Id: Id2b0c6231589e82d8e96c9f019042eba348a6583
2010-11-03 13:23:22 -07:00
Daniel Sandler
7fb7cf4215 am 9f4f20c2: am 65816a32: Merge "Fix the fix for storage ANRs." into gingerbread
* commit '9f4f20c2451325850cb81e886f1e76155e7e098d':
  Fix the fix for storage ANRs.
2010-11-03 12:42:35 -07:00
Daniel Sandler
9f4f20c245 am 65816a32: Merge "Fix the fix for storage ANRs." into gingerbread
* commit '65816a32ee2c2181895e3be636f3173a6e769f67':
  Fix the fix for storage ANRs.
2010-11-03 12:38:40 -07:00
Daniel Sandler
65816a32ee Merge "Fix the fix for storage ANRs." into gingerbread 2010-11-03 12:36:31 -07:00
Irfan Sheriff
1997eebd62 Merge "Set country code in the driver and remove channel set" 2010-11-03 12:23:01 -07:00
Gilles Debunne
732c590ad6 Merge "Tapping in a empty textEdit shows the handle." 2010-11-03 12:21:16 -07:00
Gilles Debunne
3c5e94335a Tapping in a empty textEdit shows the handle.
So that the user can paste in that field, by tapping on the handle.

Change-Id: Ib43291fb78ded7c9b41c52cf3030fe0144d085c3
2010-11-03 12:19:39 -07:00
Ben Komalo
53eb6af2ac Merge "Fix issue where home layout click listener was being attached before it was initialized." 2010-11-03 12:18:40 -07:00
Adam Powell
01f706260b Merge "Make Theme.Holo.Dialog.Alert and Theme.Holo.Light.Dialog.Alert public" 2010-11-03 12:06:44 -07:00
Ben Komalo
ad199ecc44 Fix issue where home layout click listener was being attached
before it was initialized.

Change-Id: I25641ca7c2db18d423dcafebc9bdf42d608a7a31
2010-11-03 12:05:49 -07:00
James Dong
e0c0504c7e am a3f5b615: (-s ours) am f3847e87: Merge "DO NOT MERGE" into gingerbread
* commit 'a3f5b615d7adc5a644cbedd55100deba562ec0ac':
  DO NOT MERGE
2010-11-03 12:02:53 -07:00
Adam Powell
13fd8de5cd Make Theme.Holo.Dialog.Alert and Theme.Holo.Light.Dialog.Alert public
Change-Id: I72aa81fee745aee67269e6b24eab0f61ed693baf
2010-11-03 12:02:13 -07:00