76711 Commits

Author SHA1 Message Date
Craig Mautner
009116a417 am 43d2cf04: am 051ecfaf: Merge "Force BlackSurface to be a black surface." into jb-dev
* commit '43d2cf04fad9ccb1d0908d25e2cb7229f0f0f911':
  Force BlackSurface to be a black surface.
2012-05-06 16:05:55 -07:00
Michael Jurka
b37854ce59 Merge "Make recents thumbnails look a bit better on Nakasi" into jb-dev 2012-05-06 16:03:10 -07:00
Craig Mautner
43d2cf04fa am 051ecfaf: Merge "Force BlackSurface to be a black surface." into jb-dev
* commit '051ecfaf46ac0b0c68ec6950bfec76a7dfff2720':
  Force BlackSurface to be a black surface.
2012-05-06 16:03:00 -07:00
Craig Mautner
051ecfaf46 Merge "Force BlackSurface to be a black surface." into jb-dev 2012-05-06 16:01:00 -07:00
Fred Quintana
94e4429086 am 5484e826: am 989c7532: Merge "fix expedited syncs. there were times when an expedited sync wouldn\'t correctly preempt non-expedited syncs" into jb-dev
* commit '5484e82612ef67630f10a0179dfad55716bcce2a':
  fix expedited syncs. there were times when an expedited sync wouldn't correctly preempt non-expedited syncs
2012-05-06 15:31:29 -07:00
Fred Quintana
5484e82612 am 989c7532: Merge "fix expedited syncs. there were times when an expedited sync wouldn\'t correctly preempt non-expedited syncs" into jb-dev
* commit '989c753281fcb689ea163530096ac589c9e5a44f':
  fix expedited syncs. there were times when an expedited sync wouldn't correctly preempt non-expedited syncs
2012-05-06 15:28:25 -07:00
Fred Quintana
989c753281 Merge "fix expedited syncs. there were times when an expedited sync wouldn't correctly preempt non-expedited syncs" into jb-dev 2012-05-06 15:25:47 -07:00
Svetoslav Ganov
475fc46842 am 9879659a: am 2551e5a1: Merge "API REVIEW: android.view.accessibility" into jb-dev
* commit '9879659a1cbfe404c725df1e57ff92f151bf65bc':
  API REVIEW: android.view.accessibility
2012-05-06 14:59:51 -07:00
Svetoslav Ganov
d88eb08cc2 am ae825876: am 3f28a1b7: Merge "Performing click and long click for accessiblity not returning result." into jb-dev
* commit 'ae825876fa9303ff4b3ad0964085a2a338089139':
  Performing click and long click for accessiblity not returning result.
2012-05-06 14:57:06 -07:00
Svetoslav Ganov
9879659a1c am 2551e5a1: Merge "API REVIEW: android.view.accessibility" into jb-dev
* commit '2551e5a1d9990514d8116e352b8e5c2f10a9d303':
  API REVIEW: android.view.accessibility
2012-05-06 14:56:53 -07:00
Svetoslav Ganov
ae825876fa am 3f28a1b7: Merge "Performing click and long click for accessiblity not returning result." into jb-dev
* commit '3f28a1b7ebb3500d13a1672ab76fe68e9c0a75e8':
  Performing click and long click for accessiblity not returning result.
2012-05-06 14:54:01 -07:00
Svetoslav Ganov
2551e5a1d9 Merge "API REVIEW: android.view.accessibility" into jb-dev 2012-05-06 14:53:27 -07:00
Svetoslav Ganov
3f28a1b7eb Merge "Performing click and long click for accessiblity not returning result." into jb-dev 2012-05-06 14:52:23 -07:00
Craig Mautner
924d9b75d6 Force BlackSurface to be a black surface.
BlackSurface transparency was tracking animation transparency causing
background images to peek around the corners.

Fixes bug 4998851.

Change-Id: I48ac7bf5d0cc560b655c9f12faccda411985cbad
2012-05-06 14:27:44 -07:00
Romain Guy
6455f207ab am f4588f83: am ec4d9040: Merge "Attempt to recover from apps destroying their window at draw time Bug #6436642" into jb-dev
* commit 'f4588f837361c1710f1fe69347f7505053bf2cad':
  Attempt to recover from apps destroying their window at draw time Bug #6436642
2012-05-06 14:19:23 -07:00
Romain Guy
f4588f8373 am ec4d9040: Merge "Attempt to recover from apps destroying their window at draw time Bug #6436642" into jb-dev
* commit 'ec4d9040f603b57b1706299f51838b6cc68b8f99':
  Attempt to recover from apps destroying their window at draw time Bug #6436642
2012-05-06 14:16:05 -07:00
Romain Guy
ec4d9040f6 Merge "Attempt to recover from apps destroying their window at draw time Bug #6436642" into jb-dev 2012-05-06 14:13:19 -07:00
Romain Guy
3ce1747583 am 2e353b35: am 2db084fa: Merge "Dialog not dismissed when tearing down dialog fragment." into jb-dev
* commit '2e353b35f0b0a346e54aaec91de455d5f1cef213':
  Dialog not dismissed when tearing down dialog fragment.
2012-05-06 14:11:28 -07:00
Romain Guy
1f59e5c19b Attempt to recover from apps destroying their window at draw time
Bug #6436642

Change-Id: I906b9c68225683f97b9c97c153a1132cf9ac6509
2012-05-06 14:11:16 -07:00
Romain Guy
2e353b35f0 am 2db084fa: Merge "Dialog not dismissed when tearing down dialog fragment." into jb-dev
* commit '2db084fa95a849c059db8094eddec155109c60c0':
  Dialog not dismissed when tearing down dialog fragment.
2012-05-06 14:08:01 -07:00
Romain Guy
2db084fa95 Merge "Dialog not dismissed when tearing down dialog fragment." into jb-dev 2012-05-06 14:06:05 -07:00
Fred Quintana
dc47556cb3 fix expedited syncs. there were times when an expedited sync wouldn't
correctly preempt non-expedited syncs

Change-Id: Ia88ce6504c06d7c8e50e40362e8bf2b85bd0934b
2012-05-06 13:39:36 -07:00
Romain Guy
4fa22f0b4d am 95b0c45b: am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev
* commit '95b0c45b06d9a053f9050e0f0ef1171a18ae0711':
  Remove unnecessary framework allocations
2012-05-06 13:34:34 -07:00
Romain Guy
95b0c45b06 am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev
* commit 'aaa7147595346fdd398e2932817e075acbb8e497':
  Remove unnecessary framework allocations
2012-05-06 13:31:15 -07:00
Romain Guy
aaa7147595 Merge "Remove unnecessary framework allocations" into jb-dev 2012-05-06 13:27:29 -07:00
Svetoslav Ganov
44bfdd88a7 Dialog not dismissed when tearing down dialog fragment.
1. The dismiss implementaton in Dialog was posting a message
   on the main thread to perform the real dismiss work. The
   goal of this was to allow calling dismiss() from multiple
   threads. The side effect of this is that when dialog fragment
   is dismissed the dialog is not dimissed until the current
   loop on the main thread is completed. However, during rotation
   of the screen the current activity has to be restarted, hence
   all fragments whould be removed. In the destruction process
   the dialog grament requests from the dialog to dismiss but
   since this is asynchromous, the code in
   ActivityThread#handleDestroyActivity detects a leaking window
   since the dialog window is still not removed and removes that
   window. Now when the dialog removal message is processed on
   the next loop we get an exception that the window has already
   been removed. Now if Dialog#dismiss() is called from the
   main thread the call goes right though otherwise a message is
   posted.

bug:5911682

Change-Id: I449d6dd75a84c0ff29ea13dac7d163219cc38341
2012-05-06 13:21:33 -07:00
Romain Guy
ab4c4f4ff7 Remove unnecessary framework allocations
These allocations were frequently triggered by the home screen. This change
removes dozens of allocations during page scrolls on home.

Change-Id: I7289efa28ecf5bd62459042b10062aa9cf0432dd
2012-05-06 13:11:24 -07:00
Dianne Hackborn
36cade591a am 7bedac94: am 139e5aa1: Fix issue #6404215: New ActionBar auto-hide can conflict with application
* commit '7bedac9417d60608003d739c8caed7ca81683825':
  Fix issue #6404215: New ActionBar auto-hide can conflict with application
2012-05-06 12:51:47 -07:00
Dianne Hackborn
7bedac9417 am 139e5aa1: Fix issue #6404215: New ActionBar auto-hide can conflict with application
* commit '139e5aa1da51b27231ab36344cf2d0dafab23f1e':
  Fix issue #6404215: New ActionBar auto-hide can conflict with application
2012-05-06 12:48:45 -07:00
Dianne Hackborn
139e5aa1da Fix issue #6404215: New ActionBar auto-hide can conflict with application
The action bar now maintains separate states for the things that can
impact its visibility (calls from the app, action mode, system UI) so
that the changes in these won't incorrectly mix together.

Also added a hack to force the status bar to be shown when showing
the action bar for an action mode, when the UI is in a state where
the action bar would be shown with a gap above where the status bar
is.

Change-Id: Ib0950a7f585c5d2c9e77d11b237ba6e150f15ebd
2012-05-06 11:52:05 -07:00
Pin Ting
1462fe6a38 am aa048661: am d0c66f6a: Merge "Fix javadoc." into jb-dev
* commit 'aa048661742fe337d30f9ef8a024ef22d1a18ff8':
  Fix javadoc.
2012-05-06 07:16:41 -07:00
Pin Ting
aa04866174 am d0c66f6a: Merge "Fix javadoc." into jb-dev
* commit 'd0c66f6a8f15bb95648b4306d2583575d0bb9935':
  Fix javadoc.
2012-05-06 07:14:11 -07:00
Pin Ting
d0c66f6a8f Merge "Fix javadoc." into jb-dev 2012-05-06 07:12:02 -07:00
Svetoslav Ganov
773f2624ec Performing click and long click for accessiblity not returning result.
1. When performing the click and long click actions the code in View
   was not returning the resilt of the called method.

bug:6426849

Change-Id: I0cf396a8373f622948ed436ce09f8d1dcf246acd
2012-05-05 19:59:46 -07:00
Svetoslav Ganov
340e2611de Showing default activity in activity chooser view only if enough space.
1. While a default target is very convenient, having two targets for the
   widget on a phone takes too much space and the apps do not have room
   to add other essential affordances to the action bar. Making the default
   activity show only of the screen is large enough - the action bar
   accommodates at least four targets i.e. 500dip.

2. Fixed a bug where changing the backing model of an ActivityChooserView
   when the view is not shown did not remove the observer for the old
   model, hence the View can get into a state where it responds to changes
   of two models while presenting only one. Also in such a case the view
   would leak since the singleton model will keep a handle to it.

3. Updated the documentation of share action provider to explain how a
   a developer can change the backing history file and refresh the UI
   based on the historical data in that file.

bug:6447692

Change-Id: Id5c9e54cd5df322ded8574ba028cb680e628243b
2012-05-05 17:49:16 -07:00
Dianne Hackborn
4256391861 am ce1d03b3: am 3fd4a382: Merge "Implement cropping of windows based on system UI elements." into jb-dev
* commit 'ce1d03b39935c42cfa0d11ef782c8c6a2fd823d4':
  Implement cropping of windows based on system UI elements.
2012-05-05 14:20:44 -07:00
Dianne Hackborn
ce1d03b399 am 3fd4a382: Merge "Implement cropping of windows based on system UI elements." into jb-dev
* commit '3fd4a3822160e8ad84122641a56c9f92540d02b5':
  Implement cropping of windows based on system UI elements.
2012-05-05 14:17:57 -07:00
Dianne Hackborn
3fd4a38221 Merge "Implement cropping of windows based on system UI elements." into jb-dev 2012-05-05 14:15:39 -07:00
Dianne Hackborn
7e74883ccd am dbd7131c: am e3320e6d: Merge "Fix issue #6444627: New status bar/action bar interaction a bit disjoint" into jb-dev
* commit 'dbd7131cf4dae6847b6f7aa0f380e103d2b56aaa':
  Fix issue #6444627: New status bar/action bar interaction a bit disjoint
2012-05-05 14:12:23 -07:00
Dianne Hackborn
3556c9a806 Implement cropping of windows based on system UI elements.
Start calling Surface.setActiveRect().

Change-Id: I94197059c971c6ab7820e615ea8f285482b86c75
2012-05-05 14:12:13 -07:00
Dianne Hackborn
dbd7131cf4 am e3320e6d: Merge "Fix issue #6444627: New status bar/action bar interaction a bit disjoint" into jb-dev
* commit 'e3320e6d91443450351d49cc2b37477070fb0ce8':
  Fix issue #6444627: New status bar/action bar interaction a bit disjoint
2012-05-05 14:09:56 -07:00
Dianne Hackborn
e3320e6d91 Merge "Fix issue #6444627: New status bar/action bar interaction a bit disjoint" into jb-dev 2012-05-05 14:07:02 -07:00
Conley Owens
153b0d5d2b am 9faf1317: am ee50eec0: (-s ours) am a10cc893: Merge "Revert "Telephony: Register/Unregister Phones with CallManager""
* commit '9faf131723f14187ed42d24feef98a203b31a0d7':
  Revert "Telephony: Register/Unregister Phones with CallManager"
2012-05-04 19:48:39 -07:00
Conley Owens
9faf131723 am ee50eec0: (-s ours) am a10cc893: Merge "Revert "Telephony: Register/Unregister Phones with CallManager""
* commit 'ee50eec00cb819f986afbaf89b4c8e44b018892b':
  Revert "Telephony: Register/Unregister Phones with CallManager"
2012-05-04 19:45:41 -07:00
Conley Owens
0c1b73af52 am 9229ad93: am 356ca03c: (-s ours) am 6a1dca3e: Merge "Telephony: Register/Unregister Phones with CallManager"
* commit '9229ad930fcfdf0d3449188654dc4f5789aa27a6':
  Telephony: Register/Unregister Phones with CallManager
2012-05-04 19:45:38 -07:00
Conley Owens
9229ad930f am 356ca03c: (-s ours) am 6a1dca3e: Merge "Telephony: Register/Unregister Phones with CallManager"
* commit '356ca03c10c0ade514976254be0e666a6120c192':
  Telephony: Register/Unregister Phones with CallManager
2012-05-04 19:42:26 -07:00
Jean-Baptiste Queru
8e0d8b2325 am e7339d80: resolved conflicts for merge of acb5f383 to jb-dev-plus-aosp
* commit 'e7339d804dc91427330abe192ebbb6bcd56b822c':
  WallpaperManagerService does not properly propagate setDimensionHints()
  ImageWallpaper : get bitmap width before calc screen offset
2012-05-04 19:28:04 -07:00
Jean-Baptiste Queru
e7339d804d resolved conflicts for merge of acb5f383 to jb-dev-plus-aosp
Change-Id: I79f0394b20a61dc7e6faabdb74c66277f71dfcb3
2012-05-04 19:18:00 -07:00
Dianne Hackborn
1cc2bcedb5 Fix issue #6444627: New status bar/action bar interaction a bit disjoint
Make sure action bar animations use same duration as system dock animations.

Change-Id: Ie294d134177207499a05cc93db8f4b859f07ed0c
2012-05-04 18:59:02 -07:00
Conley Owens
ee50eec00c am a10cc893: Merge "Revert "Telephony: Register/Unregister Phones with CallManager""
* commit 'a10cc893f7e1f21783ea60c50a49401181611027':
  Revert "Telephony: Register/Unregister Phones with CallManager"
2012-05-04 18:13:20 -07:00