2397 Commits

Author SHA1 Message Date
Chet Haase
c81a849388 Fix minor transition bugs and add capabilities
Some view changes require more flexible transitions than the
defaults provided by Crossfade and TextChange - this change supplies some
of that flexibility.

Also, starting a new transition on a hierarchy undergoing a transition
caused the first to get canceled, then the start values to be retrieved.
The new transition should actually get the start values from the intermediate
state of the views, so we now cancel the previous transition only after the
start values have been captured.

Issue #9756349 Transitions: Crossfade does not handle interruption/reverse correctly
Issue #9295863 Transitions: Add behavior API/flags to various transitions
Issue #9275859 Transitions: Improve mechanism for transition interruption

Change-Id: I5a8c5a12466ddcab9e84e4880930563fa1216f3b
2013-07-12 13:40:38 -07:00
Elliott Hughes
bea6525a53 am 9c8685b7: am f094eefc: am c5de9c35: Merge "Track libcore API update."
* commit '9c8685b714b38c2bbf09077b9cba73a95b734269':
  Track libcore API update.
2013-07-11 19:01:40 -07:00
Elliott Hughes
9c8685b714 am f094eefc: am c5de9c35: Merge "Track libcore API update."
* commit 'f094eefc34013c7167effa558b488709eaa54751':
  Track libcore API update.
2013-07-11 18:55:54 -07:00
Elliott Hughes
f094eefc34 am c5de9c35: Merge "Track libcore API update."
* commit 'c5de9c3509e6f91f1a6fca4541c5a2dfc9878dcc':
  Track libcore API update.
2013-07-11 18:52:11 -07:00
Adam Powell
639f37e7ab Merge "Un-hide all ViewParent methods" 2013-07-11 22:50:38 +00:00
Adam Powell
504a10f2f5 Un-hide all ViewParent methods
Make it possible for code outside the framework to implement the
ViewParent interface.

Change-Id: Ic1b4eb15a4b3da1d16c92b59e039d89861d893e4
2013-07-11 15:25:59 -07:00
Igor Murashkin
b519cc52ec camera2 api: Add CameraMetadata get/set support
* Add a Rational class
* Can get/set Key<T> where T is a primitive (or Rational)
* Can get/set Key<T> where T is a primitive array
* Can get/set Key<T> where T is an enum (synthetic constructor only)

Not implemented yet:
* When T is anything else, i.e. Rect, Size, etc

Bug: 9529161
Change-Id: I64438024a1e8327a38dd2672652626f0ffbb70e3
2013-07-11 13:06:56 -07:00
Elliott Hughes
8964b3bb3d am f445a685: am 0b18c149: am 0f50cb31: Merge "Fix build."
* commit 'f445a6856777cdcbec14342c2a3510b26ea7b675':
  Fix build.
2013-07-11 10:17:12 -07:00
Elliott Hughes
9444fcae54 Track libcore API update.
Change-Id: I7ad4ee87008c2ba0f8f16d1c86d81b8114359e04
2013-07-11 10:06:35 -07:00
Craig Mautner
fb20eb48aa Merge "Add convertToTranslucent to API." 2013-07-10 21:52:28 +00:00
Dianne Hackborn
1304f4ae32 Add new location monitoring op, make some of app ops public.
The new location monitoring op is to tell us when an application
is monitoring for any location changes.  It may be useful information
in addition to the more explicitly information about when location
data actually goes to the app.

Also make parts of AppOpsManager public for use by gcore.  It is
not available to third party apps.

Change-Id: Ib639f704258ffdd7f3acd7567350ed2539da628a
2013-07-09 18:17:27 -07:00
Elliott Hughes
f445a68567 am 0b18c149: am 0f50cb31: Merge "Fix build."
* commit '0b18c14931c4ca618c67b5ac5c8351246879e90a':
  Fix build.
2013-07-09 17:53:32 -07:00
Elliott Hughes
0b18c14931 am 0f50cb31: Merge "Fix build."
* commit '0f50cb31980c8354a4516094863c4ad0cdd0d03b':
  Fix build.
2013-07-09 17:51:34 -07:00
Elliott Hughes
bfa5465ed2 Fix build.
Change-Id: Icdbf7811e7acb8bed372def3beec8385a631713a
2013-07-09 17:48:11 -07:00
Craig Mautner
5eda9b3301 Add convertToTranslucent to API.
Rename convertToOpaque to convertFromTranslucent. Add the
counterpart to Activity.convertFromTranslucent() for returning from
opaque to a translucent Activity. The caller should wait until
TranslucentConversionListener.onTranslucentConversionComplete() is
called before actually changing the background to translucent.

Change-Id: Id04b026bcc4dd8bad9a33a7af126e1bb28fb9c03
2013-07-09 14:50:12 -07:00
Elliott Hughes
6295aac184 am 269d3722: am 86aa1953: am 2a26547f: Merge "Track libcore API update."
* commit '269d3722762c74a766b9c3200a25832ba8307aa9':
  Track libcore API update.
2013-07-08 10:06:20 -07:00
Elliott Hughes
269d372276 am 86aa1953: am 2a26547f: Merge "Track libcore API update."
* commit '86aa19532896dc6ede04d53ee96708becde9b0dc':
  Track libcore API update.
2013-07-08 10:03:48 -07:00
Elliott Hughes
86aa195328 am 2a26547f: Merge "Track libcore API update."
* commit '2a26547fd391c8038ad9f57fcb51d62fba0ee543':
  Track libcore API update.
2013-07-08 10:01:17 -07:00
Elliott Hughes
2ecdbc5395 Track libcore API update.
Bug: 3484927
Change-Id: Icd8a45d33efd205a5eb21ac6a4fcf781f8b5e064
2013-07-08 09:41:06 -07:00
Dianne Hackborn
d9fb14a38a Merge "Misc memory stuff." 2013-07-02 18:30:43 +00:00
Dianne Hackborn
2286cdc0ca Misc memory stuff.
- New Activity.reportFullyDrawn() method that applicatins can call
  when they know they are fully drawn, allowing us to have better
  app launch time info.  This data is also included in usage stats.
- Added total and free memory data "dumpsys meminfo".
- Tuned the moderate memory levels to be more aggressive about
  considering the device getting low on RAM, and thus starting
  to prune RAM from processes.
- Fixed issues in processstats when reading old data as well as
  resetting and other various fixes.

Change-Id: I20efe7451afb4edfa1aeec448328ba601c24d869
2013-07-02 11:21:04 -07:00
Elliott Hughes
70673628ab am 9544df07: am e88fe7f4: am 94fed1c5: Merge "Track libcore API update."
* commit '9544df0767b7e3e7d9f807cb2290cd3afba73b7a':
  Track libcore API update.
2013-07-01 17:01:31 -07:00
Elliott Hughes
bd856a5516 am aaf16120: am 7c56325d: am c26e5505: Merge "Track libcore API update."
* commit 'aaf1612067451c30d1564f3ac4361527e4ab92c3':
  Track libcore API update.
2013-07-01 17:01:26 -07:00
Elliott Hughes
9544df0767 am e88fe7f4: am 94fed1c5: Merge "Track libcore API update."
* commit 'e88fe7f415334ae04a289f8bc697404212784df0':
  Track libcore API update.
2013-07-01 16:48:00 -07:00
Elliott Hughes
e88fe7f415 am 94fed1c5: Merge "Track libcore API update."
* commit '94fed1c5d570a92d357657451e5b47aba4feee12':
  Track libcore API update.
2013-07-01 16:45:33 -07:00
Elliott Hughes
bf1589d0df Track libcore API update.
Bug: 3484927
Change-Id: I04de17b1191295e3fa874c9e351ae686d9eecef5
2013-07-01 16:39:34 -07:00
Elliott Hughes
aaf1612067 am 7c56325d: am c26e5505: Merge "Track libcore API update."
* commit '7c56325d57c3c6022cfcb9b71343751c572bc656':
  Track libcore API update.
2013-07-01 16:24:48 -07:00
Elliott Hughes
7c56325d57 am c26e5505: Merge "Track libcore API update."
* commit 'c26e5505495f7a36163477e12098d5fd2822cae9':
  Track libcore API update.
2013-07-01 16:22:16 -07:00
Elliott Hughes
812990a9e5 Track libcore API update.
Bug: 3484927
Change-Id: I52a37bdeafe431255034543e0fad5f808955309f
2013-07-01 14:46:31 -07:00
Elliott Hughes
04971a736a am 1a6fe26d: am c63c0682: am e3b94f05: Merge "Track libcore API change."
* commit '1a6fe26d1bd5bcfbd44ed9e6d2cf52c027b764a2':
  Track libcore API change.
2013-06-28 18:15:40 -07:00
Elliott Hughes
1a6fe26d1b am c63c0682: am e3b94f05: Merge "Track libcore API change."
* commit 'c63c068228267b41fb106e22a6914ab19da9e5bc':
  Track libcore API change.
2013-06-28 18:13:29 -07:00
Elliott Hughes
c63c068228 am e3b94f05: Merge "Track libcore API change."
* commit 'e3b94f05b8be2b6305cbee77c23b7f7599bfcff7':
  Track libcore API change.
2013-06-28 18:11:10 -07:00
Elliott Hughes
97c538d5f3 Track libcore API change.
Bug: 3484927
Change-Id: If49d0389e4ecb826052e168e070b673894d91318
2013-06-28 18:03:46 -07:00
Zhijun He
b8b77bf59e Correct request template value for record and still
they should match the request template values defined in camera3.h.

Bug 9213377

Change-Id: Ib24aa33a0ed59aff14b115c5d213ac287ea0d948
2013-06-28 17:46:45 -07:00
Elliott Hughes
ebb77f55a9 am d1411efe: am 324993ab: am 5216f11e: Merge "Track libcore API update."
* commit 'd1411efee372a37fcd0178f3ccffd9bf1d67b70b':
  Track libcore API update.
2013-06-28 16:28:22 -07:00
Elliott Hughes
d1411efee3 am 324993ab: am 5216f11e: Merge "Track libcore API update."
* commit '324993abed48843da1cb63063668147151e4db5c':
  Track libcore API update.
2013-06-28 16:26:08 -07:00
Elliott Hughes
324993abed am 5216f11e: Merge "Track libcore API update."
* commit '5216f11e462b9f17704c0ac9e193d2149f3fa755':
  Track libcore API update.
2013-06-28 16:23:47 -07:00
Elliott Hughes
0e88a95480 Track libcore API update.
Bug: 3484927
Change-Id: I77c22d3da7b70d3dae4cf6c1903add948ae39406
2013-06-28 16:08:02 -07:00
Elliott Hughes
2687fa7f33 am 5d2d2222: am ce566b50: am ee66531f: Merge "Track libcore API update."
* commit '5d2d22221a61258ff7dad29792bbf1201c746e8d':
  Track libcore API update.
2013-06-28 16:04:44 -07:00
Elliott Hughes
5d2d22221a am ce566b50: am ee66531f: Merge "Track libcore API update."
* commit 'ce566b5068bb73b7e379bb40c3eb74922000bbd9':
  Track libcore API update.
2013-06-28 16:01:51 -07:00
Elliott Hughes
ce566b5068 am ee66531f: Merge "Track libcore API update."
* commit 'ee66531f2fa2b6aaa5ca064062f5e8d50b64ff44':
  Track libcore API update.
2013-06-28 15:58:45 -07:00
Elliott Hughes
6859af17ce Track libcore API update.
Bug: 3484927
Change-Id: I684d724000d09a52c840076fab5985242c77c908
2013-06-28 15:28:00 -07:00
Elliott Hughes
1f3ad678be am 34ba52a0: am a9510297: am 505974eb: Merge "Track libcore API update."
* commit '34ba52a060b01b5d91a64d8e7026387749c2bbb6':
  Track libcore API update.
2013-06-28 13:11:57 -07:00
Elliott Hughes
34ba52a060 am a9510297: am 505974eb: Merge "Track libcore API update."
* commit 'a9510297a656c574d063b299f044bc9893af7724':
  Track libcore API update.
2013-06-28 13:09:58 -07:00
Elliott Hughes
a9510297a6 am 505974eb: Merge "Track libcore API update."
* commit '505974eb736218d40b1d648ea4af548167a381b1':
  Track libcore API update.
2013-06-28 13:07:21 -07:00
Elliott Hughes
5931afdc0f Track libcore API update.
Bug: 3484927
Change-Id: I22fc7e003c3483a20988e91d2b8824626ec022b1
2013-06-28 10:55:14 -07:00
Christopher Tate
a3664247c7 New API: apps can request a wipe of their own data
Bug 9588299

Change-Id: I817a90e272ba279d7171f6dbe88dbafd7e42b050
2013-06-27 15:32:37 -07:00
Craig Mautner
5729b81ab5 Merge "Add API to convert translucent Activity to opaque." 2013-06-27 21:00:44 +00:00
Romain Guy
9feab843ac Merge "Refcount 9-patches and properly handle GC events" 2013-06-27 00:16:18 +00:00
Romain Guy
e3b0a0117a Refcount 9-patches and properly handle GC events
This change adds refcounting of Res_png_9patch instances, the native
data structure used to represent 9-patches. The Dalvik NinePatch class
now holds a native pointer instead of a Dalvik byte[]. This pointer
is used whenever we need to draw the 9-patch (software or hardware.)

Since we are now tracking garbage collection of NinePatch objects
libhwui's PatchCache must keep a list of free blocks in the VBO
used to store the meshes.

This change also removes unnecessary instances tracking from
GLES20DisplayList. Bitmaps and 9-patches are refcounted at the
native level and do not need to be tracked by the Dalvik layer.

Change-Id: Ib8682d573a538aaf1945f8ec5a9bd5da5d16f74b
2013-06-26 17:15:08 -07:00