OSDN Git Service

android-x86/packages-apps-Gallery2.git
11 years agoMerge "Clean up the test tags used by the continuous test service to determine which...
Jason Noguchi [Sat, 3 Aug 2013 00:17:06 +0000 (00:17 +0000)]
Merge "Clean up the test tags used by the continuous test service to determine which tests to run on every dev build. Add SmallTest or MediumTest tags for unit tests that are currently being skipped and remove LargeTest tags from long running stress tests which are not necessary in this context." into gb-ub-photos-carlsbad

11 years agoClean up the test tags used by the continuous test service to determine which
Jason Noguchi [Wed, 31 Jul 2013 21:16:31 +0000 (14:16 -0700)]
Clean up the test tags used by the continuous test service to determine which
tests to run on every dev build. Add SmallTest or MediumTest tags for unit
tests that are currently being skipped and remove LargeTest tags from long
running stress tests which are not necessary in this context.

Change-Id: I2d3db31b0800dcbed42c881c5eaa589517fd9f87

11 years agoFix display bug with highres
nicolasroard [Fri, 2 Aug 2013 18:35:32 +0000 (11:35 -0700)]
Fix display bug with highres

Change-Id: I8961beca6bf80efdf3cf1c3b6cae691dd0f473ed

11 years agoAdd quality selector to export.
Ruben Brunk [Fri, 2 Aug 2013 02:05:18 +0000 (19:05 -0700)]
Add quality selector to export.

- Adds the option to change the quality of the jpeg compression
  when flattening an exported bitmap.

Change-Id: I252913fc15ff32a0fcff683edb5b33e17b5daac4

11 years agoHide "View Photo Sphere" button by default.
Sascha Haeberling [Fri, 2 Aug 2013 00:55:49 +0000 (17:55 -0700)]
Hide "View Photo Sphere" button by default.

Change-Id: Idb31a96d0dcb19e6d57c1c5d388ef8d180382345

11 years agoMerge "add Per Channel Saturation" into gb-ub-photos-carlsbad
John Hoford [Fri, 2 Aug 2013 00:49:20 +0000 (00:49 +0000)]
Merge "add Per Channel Saturation" into gb-ub-photos-carlsbad

11 years agoAdd LocalDataAdapter and wrappers.
Angus Kong [Tue, 30 Jul 2013 18:36:00 +0000 (11:36 -0700)]
Add LocalDataAdapter and wrappers.

1. FixedFirstDataAdapter wraps another adapter and add a data at the first
position.
2. FixedLastDataAdapter wraps another adapter and add a data at the last
position.
3. Make the LocalData interface more complete.
  - onFullScreen()
  - canSwipeInFullScreen()
  - getPath()
3. Add methods to the FilmStripView.DataAdapter to receive UI events.
  - onDataCentered()
  - onDataFullScreen()

Change-Id: I26d3a3b7facd0c451af43ce5fbbcab2baaaec427

11 years agoadd Per Channel Saturation
John Hoford [Tue, 30 Jul 2013 21:40:18 +0000 (14:40 -0700)]
add Per Channel Saturation

Change-Id: Icfd24c817674b81ac9caecc2d73348dc7734f037

11 years agoMerge "Adds back the PhotoSphere View icon in filmstrip." into gb-ub-photos-carlsbad
Sascha Haeberling [Thu, 1 Aug 2013 22:50:52 +0000 (22:50 +0000)]
Merge "Adds back the PhotoSphere View icon in filmstrip." into gb-ub-photos-carlsbad

11 years agoAdds back the PhotoSphere View icon in filmstrip.
Sascha Haeberling [Wed, 31 Jul 2013 18:28:21 +0000 (11:28 -0700)]
Adds back the PhotoSphere View icon in filmstrip.

This also exercises the "leave a place cleaner than you found it" rule
by cleaning up stuff:

- Formatting according to the Android format rules
- Removing unused code
- Putting braces where they belong.

Change-Id: Ie1dbfe9195bf3e20d9624d7ae85eeba16df8f931

11 years agoRefactoring Geometry handling.
Ruben Brunk [Thu, 18 Jul 2013 23:37:30 +0000 (16:37 -0700)]
Refactoring Geometry handling.

Bug: 9170644
Bug: 9366654
Bug: 9366263

- Consolidates all the geometry transforms in GeometryMathUtils and
  significantly reduces complexity.
- Removes GeometryMetadata object and dependent code.
- Removes ImageGeometry and geometry update callbacks.

Change-Id: I59add51907459593244c9ebaadef585efc7486d5

11 years agoFix problem with N-1 caching when no filters / one filter
nicolasroard [Wed, 31 Jul 2013 23:22:59 +0000 (16:22 -0700)]
Fix problem with N-1 caching when no filters / one filter

- also fix equals() for geometry

Change-Id: I6f6f21d1e274b3b95ac4b5189b2fa7f419912864

11 years agoMerge "Add wrapper for face detection listener." into gb-ub-photos-carlsbad
Angus Kong [Wed, 31 Jul 2013 22:21:21 +0000 (22:21 +0000)]
Merge "Add wrapper for face detection listener." into gb-ub-photos-carlsbad

11 years agoMerge "Implements N-1 Caching" into gb-ub-photos-carlsbad
nicolasroard [Wed, 31 Jul 2013 22:19:22 +0000 (22:19 +0000)]
Merge "Implements N-1 Caching" into gb-ub-photos-carlsbad

11 years agoImplements N-1 Caching
nicolasroard [Wed, 31 Jul 2013 03:01:21 +0000 (20:01 -0700)]
Implements N-1 Caching

Change-Id: Ief1a04dbe4f6ced15f937177a556733cfcdb5879

11 years agoAdd wrapper for face detection listener.
Angus Kong [Wed, 31 Jul 2013 21:05:20 +0000 (14:05 -0700)]
Add wrapper for face detection listener.

  bug:10113532

Change-Id: I01dc051d7b25cb97153b5e3e4cf06744dccb9fd4

11 years agoSet default video quality to the highest
Doris Liu [Wed, 31 Jul 2013 18:25:09 +0000 (11:25 -0700)]
Set default video quality to the highest

Bug: 9886141

Change-Id: I4741d5c898ac666923cfc12abc78d5d3517cb05f

11 years agoFix switching camera failure.
Angus Kong [Wed, 31 Jul 2013 19:46:54 +0000 (12:46 -0700)]
Fix switching camera failure.

  bug:10110830

Change-Id: I1adcefc229ce4a245880bc037a086c949c73da55

11 years agoMerge "Do antialiasing on wallpaper preview." into gb-ub-photos-carlsbad
Ruben Brunk [Wed, 31 Jul 2013 18:28:43 +0000 (18:28 +0000)]
Merge "Do antialiasing on wallpaper preview." into gb-ub-photos-carlsbad

11 years agoDo antialiasing on wallpaper preview.
Ruben Brunk [Wed, 31 Jul 2013 06:06:19 +0000 (23:06 -0700)]
Do antialiasing on wallpaper preview.

Bug: 9052851
Change-Id: I890fae2d4bb9907c7204cc6fa34c42c7fe7c7309

11 years agoMerge "clean up some bugs and update the icons" into gb-ub-photos-carlsbad
John Hoford [Tue, 30 Jul 2013 23:26:20 +0000 (23:26 +0000)]
Merge "clean up some bugs and update the icons" into gb-ub-photos-carlsbad

11 years agoclean up some bugs and update the icons
John Hoford [Tue, 30 Jul 2013 23:02:10 +0000 (16:02 -0700)]
clean up some bugs and update the icons

Change-Id: I6952bae8cfea2ec64064f3126eece93687c02eae

11 years agoAdd user presets saving/loading
nicolasroard [Mon, 15 Jul 2013 18:24:36 +0000 (11:24 -0700)]
Add user presets saving/loading

Change-Id: I85c5dd0df1e9264a01c8d7a6d44602e87799890c

11 years agoMerge "add Grad filter" into gb-ub-photos-carlsbad
John Hoford [Tue, 30 Jul 2013 00:27:30 +0000 (00:27 +0000)]
Merge "add Grad filter" into gb-ub-photos-carlsbad

11 years agoadd Grad filter
John Hoford [Sat, 20 Jul 2013 00:11:31 +0000 (17:11 -0700)]
add Grad filter

Change-Id: I30fc0810c54f3daa31726188a4c3762df33953a7

11 years agoRefactor CameraManager.
Angus Kong [Fri, 19 Jul 2013 01:04:19 +0000 (18:04 -0700)]
Refactor CameraManager.

1. CameraManager should be the only class accessing android.hardware.Camera.
2. For potential future upgrade in Camera HAL and android.hardward.Camera API
   upgrade, CameraManager should be just an interface instead of concrete
   implementation.
3. waitDone() in CameraProxy is removed.
4. ShutterCallback, PreviewCallback, PictureCallback and AF Callbacks are
   wrapped by our own interfaces.

Change-Id: I595da17a1a9c6d476ee805b71c7f45ebb609e465

11 years agoMerge "Refocus integration phase 1." into gb-ub-photos-carlsbad
Sascha Haeberling [Sat, 27 Jul 2013 00:20:15 +0000 (00:20 +0000)]
Merge "Refocus integration phase 1." into gb-ub-photos-carlsbad

11 years agoFix disappearing fragment
nicolasroard [Fri, 26 Jul 2013 17:01:06 +0000 (10:01 -0700)]
Fix disappearing fragment

Change-Id: Ic478ad75a458bb36001c91f8627aab7643fa0a47

11 years agoFix geometry serialization
nicolasroard [Fri, 26 Jul 2013 14:51:29 +0000 (07:51 -0700)]
Fix geometry serialization

Change-Id: I3040cfdb08f6cc6dbd4fd1eb5444b3395a68c7da

11 years agoAdded support to export to a flattened photo.
Ruben Brunk [Thu, 25 Jul 2013 03:06:20 +0000 (20:06 -0700)]
Added support to export to a flattened photo.

Bug: 10008212

- Adds a menu item to allow a photo with edits to be flattened
  into a separate photo.
- Fixes bug where crop intents fail to save cropped images.

Change-Id: I1dcf1bb9ba22e72378f24e7971a74f81b8db7564

11 years agoRefocus integration phase 1.
Sascha Haeberling [Wed, 24 Jul 2013 01:30:17 +0000 (18:30 -0700)]
Refocus integration phase 1.

  Bug: 9966846

Change-Id: I591ce1ee878a9f4d6bd63eddef6e79608ffd69ec

11 years agoRemove legacy code ActivityBase.java.
Angus Kong [Fri, 19 Jul 2013 21:55:07 +0000 (14:55 -0700)]
Remove legacy code ActivityBase.java.

Change-Id: I7b372e5d69c3d01b4012ab61bbf725a7fec8a445

11 years agoFix geometry transform
nicolasroard [Wed, 24 Jul 2013 00:10:18 +0000 (17:10 -0700)]
Fix geometry transform

Change-Id: I0c3af6f4122d045f5a8656bc709127aa7ae2ecab

11 years agoMerge "Move ImageCurves to the ImageShow package" into gb-ub-photos-carlsbad
nicolasroard [Mon, 22 Jul 2013 23:55:44 +0000 (23:55 +0000)]
Merge "Move ImageCurves to the ImageShow package" into gb-ub-photos-carlsbad

11 years agoMove ImageCurves to the ImageShow package
nicolasroard [Mon, 22 Jul 2013 21:08:04 +0000 (14:08 -0700)]
Move ImageCurves to the ImageShow package

Change-Id: I458d20df930b9228dcbc60c3ec27f74b152d38cf

11 years agoFix saving issues with online image.
ztenghui [Mon, 22 Jul 2013 18:08:28 +0000 (11:08 -0700)]
Fix saving issues with online image.

bug:9468909

Change-Id: I10762dba307999d87fac08b3a2ce7e104264a813

11 years agoMerge "Remove FilteringPipeline" into gb-ub-photos-carlsbad
nicolasroard [Fri, 19 Jul 2013 22:51:46 +0000 (22:51 +0000)]
Merge "Remove FilteringPipeline" into gb-ub-photos-carlsbad

11 years agoRemove FilteringPipeline
nicolasroard [Fri, 19 Jul 2013 21:45:32 +0000 (14:45 -0700)]
Remove FilteringPipeline

Reorganize things around the filtering service.
- add HighresRenderingTask
- add RenderingRequestTask
- add UpdatePreviewTask

Change-Id: I3da34fee8c624fb55311c3e1639857fc1bcdadad

11 years agoMerge "Update Uri instead of removing" into gb-ub-photos-carlsbad
ztenghui [Fri, 19 Jul 2013 22:19:16 +0000 (22:19 +0000)]
Merge "Update Uri instead of removing" into gb-ub-photos-carlsbad

11 years agoUpdate Uri instead of removing
ztenghui [Thu, 18 Jul 2013 21:40:10 +0000 (14:40 -0700)]
Update Uri instead of removing

In this way, the processing service can have a better presentation.
The cache key now include the file Uri and local abs path if exists.

bug:9468909

Change-Id: I0919c09ad26bea2e798c99ad376996547f8f2bf8

11 years agoAdd stitching manager in Camera.
Angus Kong [Tue, 16 Jul 2013 22:14:58 +0000 (15:14 -0700)]
Add stitching manager in Camera.

Change-Id: I2f27c2c0e77ed3d618df890e709ca09076591f70

11 years agoRefine MediaSaveService to use memory limit.
Angus Kong [Wed, 17 Jul 2013 22:59:03 +0000 (15:59 -0700)]
Refine MediaSaveService to use memory limit.

Change-Id: Ieeb06eddbd742896ecb7c50f0f51facaa77b2d21

11 years agoRefactoring GeometryMetadata.
Ruben Brunk [Tue, 16 Jul 2013 01:32:50 +0000 (18:32 -0700)]
Refactoring GeometryMetadata.

Bug: 9170644

- First part of multi-step refactor, splits
  GeometryMetadata functionality into 4
  FilterRepresentation subclasses as requested.

Change-Id: I212193db8c154f64c550adb9735c0502bcaa7468

11 years agoremove clone
John Hoford [Tue, 16 Jul 2013 00:44:31 +0000 (17:44 -0700)]
remove clone

Change-Id: Ia9f4c1778e06416018eeb07be657bcdd0af1496b

11 years agofix restoring frames
John Hoford [Fri, 12 Jul 2013 22:31:09 +0000 (15:31 -0700)]
fix restoring frames

Change-Id: I77a75f3feb8a1affdb579e3c7b196928af1b2bf0

11 years agoFix help for GalleryGoogle builds
John Reck [Wed, 17 Jul 2013 16:50:01 +0000 (09:50 -0700)]
Fix help for GalleryGoogle builds

 Bug: 9886976

Change-Id: I23fc78b924f3757f8ab12f84d3a0c97c1adc2333
(cherry picked from commit 7a43c8c3b85d6f9162651d8ed8b3a11a87490824)

11 years agoAdd background processing service
nicolasroard [Sat, 13 Jul 2013 01:27:54 +0000 (18:27 -0700)]
Add background processing service

bug:7298624

Change-Id: Ie79f88fd84fdf8f4dab6a8071f06a819e247b357

11 years agoMerge "Add equality check into FilterCurveRep" into gb-ub-photos-carlsbad
ztenghui [Tue, 16 Jul 2013 17:07:23 +0000 (17:07 +0000)]
Merge "Add equality check into FilterCurveRep" into gb-ub-photos-carlsbad

11 years agoMerge "Remove unnecessary startPreview thread in video." into gb-ub-photos-carlsbad
Angus Kong [Tue, 16 Jul 2013 01:22:49 +0000 (01:22 +0000)]
Merge "Remove unnecessary startPreview thread in video." into gb-ub-photos-carlsbad

11 years agoRemove unnecessary startPreview thread in video.
Angus Kong [Mon, 15 Jul 2013 19:42:41 +0000 (12:42 -0700)]
Remove unnecessary startPreview thread in video.

Change-Id: I42dc46748fad3b321178280069555ecdd5c4a962

11 years agoAdd equality check into FilterCurveRep
ztenghui [Mon, 15 Jul 2013 23:04:32 +0000 (16:04 -0700)]
Add equality check into FilterCurveRep

Consequently add equality check support in Spline and ControlPoint.

bug:9468909
Change-Id: I8078b994beac4056ca92e76da0e15d618389e56e

11 years agoFilterDirectRepresentation always should be considered as has modification.
ztenghui [Mon, 15 Jul 2013 21:18:08 +0000 (14:18 -0700)]
FilterDirectRepresentation always should be considered as has modification.

Therefore isNil should be false.

bug:9468909
Change-Id: I9946d060e7a1c73b6dc27c73d8f3b7986343de98

11 years agoCombine ImageLoader and CropLoader utility classes.
Ruben Brunk [Sat, 13 Jul 2013 00:23:39 +0000 (17:23 -0700)]
Combine ImageLoader and CropLoader utility classes.

Bug: 9356969
Bug: 9170644

- Refactor to eliminate code duplication in image loading classes.
- Fix bugs caused by the inability to determine MIME types for images
  that aren't in Gallery's content provider (causes b/9356969).

Change-Id: I30c2ba5c0cd37aac624681a2cec9abddaa78f9c2

11 years agoMerge "Use ValueAnimator to ensure callbacks get called" into gb-ub-photos-carlsbad
Doris Liu [Fri, 12 Jul 2013 17:35:03 +0000 (17:35 +0000)]
Merge "Use ValueAnimator to ensure callbacks get called" into gb-ub-photos-carlsbad

11 years agoUse ValueAnimator to ensure callbacks get called
Doris Liu [Thu, 11 Jul 2013 23:32:13 +0000 (16:32 -0700)]
Use ValueAnimator to ensure callbacks get called

Bug: 9597743
Change-Id: I6b119bb7a6f8bbba76ccc09c28293eb7b5a0457e

11 years agoAdded jpeg streaming classes.
Ruben Brunk [Sat, 29 Jun 2013 03:02:54 +0000 (20:02 -0700)]
Added jpeg streaming classes.

- Provides streaming operations for decompressing/compressing
  JPEG files.
- Allows pixel operations to be performed on large JPEG images
  without holding the entire bitmap in memory.

Change-Id: I597ddf282b59d2ba6d6bca4722208121e3728f94

11 years agoRefactoring ImageLoader.
Ruben Brunk [Tue, 9 Jul 2013 01:11:49 +0000 (18:11 -0700)]
Refactoring ImageLoader.

- Moves state (history, loadlisteners, bitmaps, etc.)
  from ImageLoader to MasterImage.
- Makes ImageLoader into a utility class.

Change-Id: I7a8a988c61848694a86a4b2919bf8f30bfd2be8c

11 years agoFix selection in categories
nicolasroard [Thu, 11 Jul 2013 01:57:08 +0000 (18:57 -0700)]
Fix selection in categories

Change-Id: Ica9ff5ba4a6d195f8b1ea1a686e9bbc6772d655f

11 years agoFix state panel
nicolasroard [Wed, 10 Jul 2013 23:14:51 +0000 (16:14 -0700)]
Fix state panel

Labels were not reflecting looks changes

bug:9746512
Change-Id: Ia2dd2a760f38dbd48c8a4d43e3d46ee2b875771f

11 years agoMeasure children after the dimension is determined.
Angus Kong [Tue, 9 Jul 2013 16:30:32 +0000 (09:30 -0700)]
Measure children after the dimension is determined.

Also, the setMeasuredDimension() in onMeasure() is not necessary as we already
called super.

bug:9680271
Change-Id: I639454e515edb3027c9e79347d2124a1fcaa529b

11 years agoRemove FilterIconButton
nicolasroard [Wed, 3 Jul 2013 17:22:26 +0000 (10:22 -0700)]
Remove FilterIconButton

Change-Id: Ie1d7c4e8d3f397323f702eba2809f2589b8071f0

11 years agoMerge "Improves portrait categories buttons" into gb-ub-photos-carlsbad
nicolasroard [Wed, 3 Jul 2013 01:25:06 +0000 (01:25 +0000)]
Merge "Improves portrait categories buttons" into gb-ub-photos-carlsbad

11 years agoImproves portrait categories buttons
nicolasroard [Wed, 3 Jul 2013 00:54:05 +0000 (17:54 -0700)]
Improves portrait categories buttons

- use only CategoryView, no FilterIconButton
- add xml values for the font size/margins
- for now reuse the same Action bitmap
- add accessibility contentDescription

Change-Id: Ic1ae8015abba27bea0b3c4a2bccbd1a7c9ff4731

11 years agoTry to restore the original file instead of copying when appropiate.
ztenghui [Fri, 28 Jun 2013 00:14:41 +0000 (17:14 -0700)]
Try to restore the original file instead of copying when appropiate.

bug:9468909

Change-Id: I09ac244459389b0fdf6f64a79987c176ba8756d8

11 years agoMove classes to pipeline package
nicolasroard [Tue, 2 Jul 2013 22:46:23 +0000 (15:46 -0700)]
Move classes to pipeline package

Change-Id: I9d664537d845d9daeb352c8006d0296a3f546dca

11 years agoFix crash in geometry
nicolasroard [Tue, 2 Jul 2013 22:33:24 +0000 (15:33 -0700)]
Fix crash in geometry

Change-Id: I4c9292b539643f2e2738d788dcb58f0a129254f9

11 years agoSpeed up load times
nicolasroard [Tue, 2 Jul 2013 22:02:43 +0000 (15:02 -0700)]
Speed up load times

Compute the small res image on the fly
Load the high res preview image after first load

Change-Id: Icc556c2204cb4fd25766d90064a5756c877b11cc

11 years agoAdd stop check in ImageFilterFX
nicolasroard [Tue, 2 Jul 2013 20:21:31 +0000 (13:21 -0700)]
Add stop check in ImageFilterFX

speed up switching / interrupting of rendering.

Change-Id: I3ef4b1d16047b00a062c86d72cdfff2bfe9817a2

11 years agoMerge "Pipeline refactoring" into gb-ub-photos-carlsbad
nicolasroard [Tue, 2 Jul 2013 19:45:17 +0000 (19:45 +0000)]
Merge "Pipeline refactoring" into gb-ub-photos-carlsbad

11 years agoPipeline refactoring
nicolasroard [Tue, 2 Jul 2013 18:00:01 +0000 (11:00 -0700)]
Pipeline refactoring

Remove the temp representations and instead use a triple
buffer for ImagePresets.

Change-Id: I4cdcfbe4941af72b38fe42385085ff4a20eb78cc

11 years agoAdd in carlsbad: Avoid duplicated location popups
Doris Liu [Tue, 2 Jul 2013 19:03:32 +0000 (12:03 -0700)]
Add in carlsbad: Avoid duplicated location popups

Bug: 9505556
Change-Id: I00859d8d851ea3c75d3bda4fcf5df373f06c2ee0

11 years agoPipeline refactoring
nicolasroard [Mon, 1 Jul 2013 23:58:51 +0000 (16:58 -0700)]
Pipeline refactoring

Add SharedBuffer and Buffer class

Change-Id: I823a9520541e3be5321a3deb5e58a358588b6cf3

11 years agoMerge "Fix the save button issue." into gb-ub-photos-carlsbad
ztenghui [Mon, 1 Jul 2013 23:42:03 +0000 (23:42 +0000)]
Merge "Fix the save button issue." into gb-ub-photos-carlsbad

11 years agoFix the save button issue.
ztenghui [Fri, 28 Jun 2013 16:25:23 +0000 (09:25 -0700)]
Fix the save button issue.

When dealing with non Fx filters, the hasModification() really need to go deep
to figure out whether things has changed.

bug:9468909

Change-Id: I89495f147f7af7c35490def84805aae98e3f917f

11 years agoEnsure no account duplicates.
George Mount [Mon, 1 Jul 2013 20:02:52 +0000 (13:02 -0700)]
Ensure no account duplicates.

Bug 9502314
Add a uniqueness constraint to account name.

Change-Id: I1f0607e5ce9b90054b3b98bed1557b223d7e89a7

11 years agoMerge "Add a switch to turn on/off the aux directory saving" into gb-ub-photos-carlsbad
ztenghui [Fri, 28 Jun 2013 16:27:56 +0000 (16:27 +0000)]
Merge "Add a switch to turn on/off the aux directory saving" into gb-ub-photos-carlsbad

11 years agoAdd a switch to turn on/off the aux directory saving
ztenghui [Thu, 27 Jun 2013 22:46:39 +0000 (15:46 -0700)]
Add a switch to turn on/off the aux directory saving

bug:9468909

Change-Id: Iaecda20a74a02556d883f0e97250e9ec4d856677

11 years agosmall bug in reading presets
John Hoford [Fri, 28 Jun 2013 00:33:52 +0000 (17:33 -0700)]
small bug in reading presets

Change-Id: I791a8407d72b92f5e46a33c254d44747308b2ba5

11 years agoRefactor HistoryAdapter
nicolasroard [Thu, 27 Jun 2013 21:41:58 +0000 (14:41 -0700)]
Refactor HistoryAdapter

- Remove the adapter part
- Rename into HistoryManager

Change-Id: I58de5661770f8796882ff4a633aec700bd8bc1a5

11 years agoSave button now behaves correctly for filter changes.
ztenghui [Mon, 24 Jun 2013 20:54:04 +0000 (13:54 -0700)]
Save button now behaves correctly for filter changes.

Basically, save the original filter from the file's XMP.
Compare the current filter against original one to decide whether or not the
file has been modified and needed to be saved.

At the same time, make sure we don't save "None" filter in the ImagePreset.

bug:9468909

Change-Id: I5b86ab95556b6b010367c9577b02c0bb42ffb824

11 years agoMove history classes to their own package
nicolasroard [Thu, 27 Jun 2013 21:12:17 +0000 (14:12 -0700)]
Move history classes to their own package

Change-Id: Ib4f50c56b445788cad3b973673008d8a89244867

11 years agoMerge "Fix selected frame in looks and borders" into gb-ub-photos-carlsbad
nicolasroard [Thu, 27 Jun 2013 19:45:39 +0000 (19:45 +0000)]
Merge "Fix selected frame in looks and borders" into gb-ub-photos-carlsbad

11 years agoMerge "Bump up the version number to 1.1.40030" into gb-ub-photos-carlsbad
Bart Sears [Thu, 27 Jun 2013 18:46:07 +0000 (18:46 +0000)]
Merge "Bump up the version number to 1.1.40030" into gb-ub-photos-carlsbad

11 years agoFix selected frame in looks and borders
nicolasroard [Tue, 25 Jun 2013 23:32:01 +0000 (16:32 -0700)]
Fix selected frame in looks and borders

Change-Id: Id1839a028f3044929043d7c910df30a1fcabdda1

11 years agoBump up the version number to 1.1.40030
Bart Sears [Thu, 27 Jun 2013 18:37:23 +0000 (11:37 -0700)]
Bump up the version number to 1.1.40030

Change-Id: I391e9515e50ec9d61855f4e939b4033dad648ac5

11 years agoImagePreset cleanup
nicolasroard [Wed, 26 Jun 2013 23:56:31 +0000 (16:56 -0700)]
ImagePreset cleanup

Get rid of remaining ivars related to history

Change-Id: Ic106ef6a96f4727c6dd46d7be3d059bdc42e5a2a

11 years agofix icon repaint on simple load
John Hoford [Thu, 27 Jun 2013 01:18:44 +0000 (18:18 -0700)]
fix icon repaint on simple load

Change-Id: I841475949e67b63fd3d24a2267fda9f2e450898d

11 years agoMerge "support non destructive edits of Curves" into gb-ub-photos-carlsbad
John Hoford [Thu, 27 Jun 2013 00:32:46 +0000 (00:32 +0000)]
Merge "support non destructive edits of Curves" into gb-ub-photos-carlsbad

11 years agoFix tot
nicolasroard [Thu, 27 Jun 2013 00:18:03 +0000 (17:18 -0700)]
Fix tot

Change-Id: I75b28ac56f9c3b295280690078f5c854fda7eb66

11 years agosupport non destructive edits of Curves
John Hoford [Mon, 24 Jun 2013 22:13:13 +0000 (15:13 -0700)]
support non destructive edits of Curves

Change-Id: I597be6570a17072a4116bf6227a6a35796266bc3

11 years agoMerge "Cleanup in ImagePreset" into gb-ub-photos-carlsbad
nicolasroard [Wed, 26 Jun 2013 23:05:11 +0000 (23:05 +0000)]
Merge "Cleanup in ImagePreset" into gb-ub-photos-carlsbad

11 years agoCleanup in ImagePreset
nicolasroard [Wed, 26 Jun 2013 21:33:15 +0000 (14:33 -0700)]
Cleanup in ImagePreset

Move GeometryMetadata to the list of filters

Change-Id: I0bef13ca0d9cb41e68eddd108000ff7bd426b313

11 years agoMerge "Clean up PreviewGestures" into gb-ub-photos-carlsbad
Michael Kolb [Wed, 26 Jun 2013 21:36:35 +0000 (21:36 +0000)]
Merge "Clean up PreviewGestures" into gb-ub-photos-carlsbad

11 years agoClean up PreviewGestures
Michael Kolb [Wed, 26 Jun 2013 21:27:56 +0000 (14:27 -0700)]
Clean up PreviewGestures

  - remove dead code and state
  - fix zoom only mode during video recording

Change-Id: I2238f99b9823ba091d300046d07448c67bc2ad78

11 years agoMerge "Fix ambiguous naming and typo" into gb-ub-photos-carlsbad
ztenghui [Wed, 26 Jun 2013 21:26:55 +0000 (21:26 +0000)]
Merge "Fix ambiguous naming and typo" into gb-ub-photos-carlsbad

11 years agoMerge "Add fullscreen mode." into gb-ub-photos-carlsbad
Angus Kong [Wed, 26 Jun 2013 20:55:12 +0000 (20:55 +0000)]
Merge "Add fullscreen mode." into gb-ub-photos-carlsbad

11 years agoFix ambiguous naming and typo
ztenghui [Wed, 26 Jun 2013 20:54:17 +0000 (13:54 -0700)]
Fix ambiguous naming and typo

bug:9468909
Change-Id: Ic52f3b6f6b5d0c874e8291ce7b3a76cb6c22f60f

11 years agoAdd fullscreen mode.
Angus Kong [Tue, 18 Jun 2013 23:47:57 +0000 (16:47 -0700)]
Add fullscreen mode.

1. Single tap to center a picture.
2. Double tap to fullscreen
3. In fullscreen, the next picture is on the left but the previous one
   is under the current one.

Change-Id: I728da2487ea649162be4f1858a8524331c625157

11 years agoMerge "Fix check of failing decoding boundaries calls" into gb-ub-photos-carlsbad
Angus Kong [Wed, 26 Jun 2013 18:32:17 +0000 (18:32 +0000)]
Merge "Fix check of failing decoding boundaries calls" into gb-ub-photos-carlsbad

11 years agoFix check of failing decoding boundaries calls
Angus Kong [Wed, 26 Jun 2013 18:25:09 +0000 (11:25 -0700)]
Fix check of failing decoding boundaries calls

Change-Id: I7b7780de9988312f9ce79c2a27132b7f6acb1c4e