summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Use exiftool as ground truth for Exif API testEarl Ou2012-10-123-109/+97
|/ | | | | | | | The ground truth XML file was generated by parsing the output from Phil Harvey's exiftool. Then we can test photos from 5000+ different camera provided by exiftool's website. Change-Id: Ida2c0409929be450a3cbb4331504aadb41138bea
* Revert "Upload screennails in tiles to prevent jank"Bart Sears2012-10-061-2/+0
| | | | | | | | | | This CL is reported to cause images to not be displayed correctly when opened via the view intent. Bug: 7299123 This reverts commit e29fc4a51b99f12f7fae13fae272858df2e1af36 Change-Id: I5052548a826c275cb4559eeb4721c19f06861b3d
* Upload screennails in tiles to prevent jankOwen Lin2012-10-051-0/+2
| | | | | | bug: 6399444 Change-Id: Id2338db34d7f87fbabd7861f78b42f2a81d9794b
* Fix build break in testsGeorge Mount2012-10-041-0/+2
| | | | | | Bug 7259843 Change-Id: If40a7da72261039e3d6fcd3a00669ed7c900c658
* Tests for ExifDataEarl Ou2012-09-197-26/+304
| | | | | | Bug:7192363 Change-Id: Ic74ecad2eff50e26efa85f928ef7904a2c51ecc7
* Simplify the usage of ExifDataEarl Ou2012-09-192-4/+4
| | | | | | Bug:7192363 Change-Id: I2c6ab9974f4472f63483a4de814728584944535e
* Rearrange the constants in ExifTagEarl Ou2012-09-062-14/+14
| | | | Change-Id: I62ab6e52869dfa5b3fee7993bd109f4c5eed91a9
* Remove the parameter of getAllExifTags() in IfdDataEarl Ou2012-08-311-1/+1
| | | | Change-Id: Iec7f04a9866c53caa2d66d5ea6f679460980b378
* ExifOutputStreamEarl Ou2012-08-302-0/+78
| | | | Change-Id: I9f2de77e87a502ccdadba0b18658621028c538c9
* Redesign the set function of ExifTagEarl Ou2012-08-302-6/+6
| | | | Change-Id: Iaf5632d759fe14c167cba54099b99719b31e3431
* Merge "Read thumbnail into ExifData" into gb-ub-photos-archesHung-ying Tyan2012-08-261-1/+57
|\
| * Read thumbnail into ExifDataEarl Ou2012-08-271-1/+57
| | | | | | | | Change-Id: Iccc0fbbda1734795ff431075bade700ca5076a08
* | Ongoing reskin of Gallery appBobby Georgescu2012-08-241-1/+1
|/ | | | | | | | | | Bug: 7050303 Moved the majority of color settings from hardcoded to colors.xml in order to allow rapid iteration with UX input. Started changing some colors and layouts to reflect latest UX mocks. Change-Id: I300338e9f75c71f3ed3f36140d16e893387f3184
* Re-design ExifParser for some strange Exif headerEarl Ou2012-08-243-346/+136
| | | | | | | The previous design failed to parser file with strange IFD position. Therefore we need a new design. Change-Id: I9f008a9259df6ef7d9a5022e126d6f25069e3d00
* A simple ExifReader and its testEarl Ou2012-08-154-80/+263
| | | | Change-Id: I1a30d24591bbdab288e04e3705ece388b533f247
* 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