summaryrefslogtreecommitdiffstats
path: root/tests/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge "First gallery reskin iteration." into gb-ub-photos-archesBobby Georgescu2012-08-101-0/+1
|\
| * First gallery reskin iteration.Bobby Georgescu2012-08-091-0/+1
| | | | | | | | Change-Id: I2b79ca9f40346a777141562c9a4762d7a8b460f6
* | Check if the ExifParser paser every part in the testEarl Ou2012-08-081-2/+27
| | | | | | | | Change-Id: I1c58dfbbf74ada1d7f3d629ace4851d5022170f6
* | ignore uncompressed thumbnail when test exif thumbnailEarl Ou2012-08-081-0/+6
| | | | | | | | Change-Id: I32baae44994f3b113405082f55539e1a2a3db8bb
* | Handle error when string length=0 in IfdParserEarl Ou2012-08-081-6/+2
|/ | | | Change-Id: I3a51e85060f3acd5026555e5f8d21f8cb2e0641e
* 1. add interoperability ifd in exif test and 2. add some logEarl Ou2012-08-071-4/+52
| | | | Change-Id: I888d856a17e59754d5a43b10ec8c4d30b582c503
* Change Thumbnail test for ExifParser when there is no thumbnail or ↵Earl Ou2012-08-071-20/+6
| | | | | | thumbnail's information Change-Id: Iabd632612895051ee73b776616355bf5e3680d34
* Use hex to represent unknown type and byte type for ExifParser debuggingEarl Ou2012-08-071-3/+8
| | | | Change-Id: I1d63698a34cc2c582e3c9c1a117231489ea9e3a2
* 1. Use xml to record true data for ExifParserTest 2. A ExifTestRunnerEarl Ou2012-08-072-80/+149
| | | | Change-Id: I6f0133a42670f5f4cbfa37a06bac41a8f6beceef
* use InstrumentationTestCase for ExifParserTestEarl Ou2012-08-061-2/+2
| | | | | | because we don't need to test Activity Change-Id: I3d21f7f5ca05cffba3bd2cd54c5899255e1103c1
* Remove TYPE_SUB_IFD for next() in IfdParserEarl Ou2012-08-061-31/+29
| | | | | | | | We should not read the offset because there are too many exception. Users should check the id of the tag and decide how to read the block by themselves. Change-Id: Ie3f162c5c6dc25f15107e193adc080c7b51112b5
* Check number of exif tag in testEarl Ou2012-08-061-0/+12
| | | | Change-Id: Ic84c7c004fe0ab5fcea9a0cc6e7f9d86db61abd8
* Test read thumbnailEarl Ou2012-08-061-10/+68
| | | | Change-Id: I2f7add7e3c9fc6ffe8c75f191f4b0322bc3047d5
* Test only keep some exif tags for valueEarl Ou2012-08-011-0/+32
| | | | Change-Id: I06962ffb4e1c6844cc8c0d24b686571483f16c22
* Test skip to next ifd in ExifParserTestEarl Ou2012-08-011-0/+25
| | | | Change-Id: Icc53e75d563acb304c23349c28d604d439b4b314
* ExifParserTestEarl Ou2012-08-011-0/+267
| | | | | | test basic parse function of ExifParser Change-Id: I4dbe9231917c205b0cb95aab639744ce0debbec8
* Fix build.Owen Lin2012-05-221-1/+1
| | | | Change-Id: Ied20eb41fcae52f40f319adb0fbbfad4d94e3019
* Add a new state uploading to UploadedTexture.Owen Lin2012-05-221-14/+14
| | | | | | | | | | | | | This state means the texture is being uploaded in background and should not be drawn now to prevent janking. Sometimes, we may lose GLContext and we will need to reupload textures again. In this case, we would like to upload these texture in foreground instead of using TextureUploader. (for simplicity since this won't happen too often). bug: 6519344 Change-Id: Ic5d7547c6a0eb4b044b79aa0eb4eb52397faac03
* Use View.setSystemUiVisibility to enter/leave lights-out mode.Chih-Chung Chang2012-05-172-0/+2
| | | | | | Bug: 6451200 Change-Id: I8e27b3e5eedfa2652f06dfc8f377c9cef8100160
* Add freeze/unfreeze for GLRootView.Chih-Chung Chang2012-05-102-0/+4
| | | | Change-Id: Ieb78041fea22b064d176ea1318cf5883d5d4c94f
* Better orientation change handling.Chih-Chung Chang2012-05-082-2/+10
| | | | | | | | Bug 6451117: Preview location is wrong after rotating the device quickly Bug 6444303: The preview location is wrong when camera is started upside down on tablet Bug 6451710: Tap to focus broken in landscape Change-Id: I12fd57d6618ec5521ccc6efcbf65de57ff2ea3d2
* Add support to draw on texture.Owen Lin2012-05-021-0/+2
| | | | Change-Id: I95dd5d29352692b702503969e1ebe07bc91a8a73
* Support drawing in different orientation in Gallery.Chih-Chung Chang2012-04-302-0/+2
| | | | | | | | | | | | | Bug 6312994: Swipe UX: do not directly show the camera roll when camera starts Bug 6313191: Swipe UX: Change swipe direction after the user rotated the device Bug 6313192: Swiping UX: make Gallery display in rotated mode Bug 6399447: Filmstrip: in Gallery, pressing Back from filmstrip doesn't perform the right animation Bug 6399974: Filmstrip: when swiping from full-screen photo to filmstrip mode, camera view and the photo-roll don't align correctly Bug 6400014: Swiping UX: in Camera portrait mode, tapping on the Thumbnail doesn't align camera view and the photo-roll correctly Bug 6401075: Able to scroll through the gallery pics while capturing video. Bug 6405087: Filmstrip does not change with orientation Change-Id: I8c479d87800c63b7a95c199c0c1c3bc512d66d42
* Remove Position and PositionRepository.Owen Lin2012-04-021-2/+0
| | | | | | Also fix a regression introduced in previous change. Change-Id: I534c8ca7838f3518856cf48878dd49beeb331562
* Use SurfaceTexture to show Camera preview.Chih-Chung Chang2012-04-022-0/+12
| | | | Change-Id: I8bf63dfc5b969ecce51841378b093a650b6f91d8
* Remove unused code.Chih-Chung Chang2012-02-235-450/+1
| | | | Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
* Reduce memory allocation and make small improvements.Chih-Chung Chang2012-02-221-2/+2
| | | | Change-Id: Iac3f302454119de6363cd5cfb158619e739b0536
* Cache animation time value to reduce work and synchronize animation.Chih-Chung Chang2012-02-171-20/+0
| | | | Change-Id: I00081bc6037c01dafc56cf017dcc1da448c1d106
* Make GLCanvas a bit faster.Chih-Chung Chang2012-02-161-0/+1
| | | | | | | | (1) make a faster version of translate(x, y). (2) make mapPoints() faster. (3) avoid calling canvas.rotate() when it is not needed. Change-Id: I364e2aa3fc9ee81c43f42f3af8b2d30a1241b482
* Add profiling tools.Chih-Chung Chang2012-02-141-0/+179
| | | | Change-Id: Ieab118ededaab5ef46408fac6fdb66b9fff4900e
* Fix 5299746: New UI layout, part 2.Chih-Chung Chang2011-09-201-0/+10
| | | | | | | | | | - Replace various icons and add xhdpi/sw600dp-mdpi versions of them. - When user press on the thumbnails, show a color overlay on it. - For a wide (w/h > 2) picture, add panorama overlay on it. - Align photo count label position when there is no icon for it. - Adjust offline page layout. Change-Id: I327d25806e99843bfa05d3ca0e9be5a8f9375595
* Initial code for Gallery2.Owen Lin2011-08-1824-0/+5730
fix: 5176434 Change-Id: I041e282b9c7b34ceb1db8b033be2b853bb3a992c