Narayan Kamath
6381dd4ff2
LP64: Make 9 patches architecture agnostic.
...
The Res_png_9patch struct had several pointer members
whose size differed between 32 and 64 bit platforms.
These members have been replaced by uint32_t offsets
to serialized data. The serialized form for 9patches
places a Res_png_9patch object at the beginning of
serialized data, followed by int32_t arrays of xDivs,
yDivs and colors.
Note that these offsets are not strictly required,
since they can be computed from the values of numXDivs,
numYDivs & numColors, however they are called in tight
loops so having them computed once is a beneficial.
This change also removed the unused patch_equals function
from aapt's Image.cpp.
Change-Id: I3b9ac8ae5c05510d41377cae4dff1c69b40c2531
2014-03-10 10:00:02 +00:00
..
2014-03-10 10:00:02 +00:00
2014-01-29 10:47:27 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:54:01 +00:00
2014-01-08 11:53:21 +00:00
2012-06-12 15:39:09 -07:00
2014-01-08 11:53:21 +00:00
2014-02-09 21:54:01 -08:00
2013-03-26 13:18:52 -07:00
2014-01-31 12:03:28 +00:00
2013-09-11 13:18:10 -07:00
2014-01-08 10:17:21 +00:00
2014-01-08 10:17:21 +00:00
2014-01-08 10:17:21 +00:00
2014-01-08 10:17:21 +00:00
2014-02-24 17:39:46 +00:00
2014-01-15 13:09:27 +00:00
2014-01-15 13:09:27 +00:00
2014-01-15 13:09:27 +00:00
2014-01-15 13:09:27 +00:00
2014-01-15 13:09:27 +00:00
2013-08-09 15:04:06 -07:00
2013-08-08 18:38:53 +00:00
2013-07-24 23:44:45 +00:00
2013-08-16 14:48:38 -07:00
2014-02-26 19:07:54 +00:00
2014-02-24 15:50:22 +00:00
2014-02-24 14:33:52 +00:00
2014-02-24 14:33:52 +00:00
2014-02-24 14:33:52 +00:00
2014-02-24 14:33:52 +00:00
2014-02-24 14:33:52 +00:00
2014-02-24 14:33:52 +00:00
2013-11-22 11:18:57 -08:00
2014-01-16 13:18:28 +00:00
2014-01-10 15:36:16 +00:00
2014-01-23 16:25:19 +00:00
2012-05-09 20:14:09 +09:00
2014-02-12 23:09:37 +00:00
2014-02-21 09:53:19 -08:00
2012-05-09 14:53:20 -07:00
2013-10-17 18:19:48 -07:00
2012-10-11 15:58:49 -07:00
2012-06-18 16:17:30 -07:00
2012-09-15 16:12:06 -07:00
2014-02-03 11:20:30 +01:00
2014-01-23 16:25:19 +00:00
2014-01-27 15:25:51 -08:00
2012-08-21 22:27:41 -07:00
2013-11-22 11:18:57 -08:00
2014-01-31 14:14:29 +00:00
2014-01-31 14:14:29 +00:00
2014-01-07 12:48:43 +00:00
2014-02-20 12:55:27 +00:00
2014-01-28 17:40:38 +00:00
2014-01-28 17:40:38 +00:00
2013-05-02 13:32:09 -07:00
2013-05-23 12:50:13 -07:00
2014-01-09 15:12:04 +00:00
2013-07-01 20:11:42 -07:00
2013-08-12 16:39:59 -07:00
2013-07-01 20:11:42 -07:00
2014-01-09 15:12:04 +00:00
2014-01-09 15:12:04 +00:00
2014-01-09 15:12:04 +00:00
2014-01-08 18:19:21 +00:00
2013-07-01 20:11:42 -07:00
2013-09-10 20:47:43 -07:00
2014-01-08 18:31:59 +00:00
2013-09-10 20:47:43 -07:00
2014-01-30 09:50:21 +00:00
2014-01-28 17:40:38 +00:00
2014-02-06 16:57:49 +00:00
2014-01-29 12:21:32 +00:00
2014-01-08 18:48:19 +00:00
2014-02-21 14:34:35 +00:00
2014-03-07 12:32:44 -08:00
2014-01-17 18:27:27 -08:00
2013-12-11 21:58:53 -08:00
2013-11-07 22:35:23 -08:00
2014-01-31 16:27:30 +00:00
2014-02-24 14:33:52 +00:00