Commit Graph

58 Commits

Author SHA1 Message Date
Jamie McDonald c6edf3b6de Version bump & add changelog 2014-06-16 23:42:13 +02:00
Jamie McDonald cfba5a90c2 Darken outside with 4 Rects when clipPath is not possible
Fixes #14
2014-06-14 20:20:42 +02:00
Jamie McDonald e0b8a19d2f A little cleanup & fix potential InputStream closing issue 2014-06-13 17:21:52 +02:00
Jamie McDonald e8db891424 Single .gitignore [skip ci] 2014-06-13 16:41:28 +02:00
Jamie McDonald 1a51706dbc Get rid of the m prefix. Yuck. 2014-06-13 16:11:33 +02:00
Jamie McDonald b4de574727 Formatting 2014-06-13 15:50:01 +02:00
Jamie McDonald 140bb030f2 Formatting [skip ci] 2014-06-13 15:41:25 +02:00
Jamie McDonald 6af8ebab65 Merge pull request #20 from daisy1754/fix-scale-too-large-image
Scale large image when loading in accordance with OpenGL texture size listriction
2014-06-13 14:49:01 +02:00
Jamie McDonald 815d41fd17 Support always showing crop handles
Fixes #21
2014-06-13 12:12:41 +02:00
Jamie McDonald deae59d463 Gradle update 2014-06-13 10:53:12 +02:00
daisy1754 26d9257033 Scale large image when loading in accordance with OpenGL texture size listriction
Otherwise, the bitmap is just not displayed with logging warning like '[WARN] :   OpenGLRenderer: Bitmap too large to be uploaded into a texture'
2014-06-04 23:35:57 +09:00
Jamie McDonald 96bf73c37e Added some additional info to POM [skip ci] 2014-04-24 18:28:49 +02:00
Jamie McDonald 6e7afec335 Dropped ApkLib packaging 2014-04-24 18:04:18 +02:00
Jamie McDonald db6f4f57d8 Only shade outside crop area if clipPath is supported
Fixes #13
2014-04-08 17:48:04 +02:00
Jamie McDonald 8d58d01465 Cleaning 2014-04-04 16:16:04 +02:00
Jamie McDonald 97f2401cfd Remove unused constant [skip ci] 2014-04-04 14:31:20 +02:00
nostra13 37c5eec676 Possibility to receive result in fragment. 2014-04-03 19:50:19 +03:00
Jamie McDonald 0d5d48d78f Support some basic customisation via theme 2014-03-21 00:07:35 +01:00
Jamie McDonald 6093f2832d Added option to display guides on thirds of the crop area
This is a bit like what the current Android gallery app crop selection does.
2014-03-20 01:24:40 +01:00
Jamie McDonald 71578358bb Removed dated scale drawables and just draw circles 2014-03-20 00:04:47 +01:00
Jamie McDonald 645e8e2cfd Drop support for return data Bitmap & small refactors 2014-03-19 22:54:46 +01:00
Jamie McDonald 6a18e47aea A little formatting 2014-03-19 21:43:53 +01:00
Jamie McDonald ef9eab9bc7 Make MonitoredActivity abstract 2014-03-18 10:20:35 +01:00
Jamie McDonald b2bfd48aef Fixed typo 2014-03-17 23:53:02 +01:00
Jamie McDonald b9afaf0da5 Also prefix styles just to be safe 2014-03-17 22:35:05 +01:00
Jamie McDonald 753a821339 Testing that the builder is really a builder 2014-03-17 22:21:47 +01:00
Jamie McDonald 18db14cba7 Prefix resources to avoid clashes 2014-03-17 22:15:00 +01:00
Jamie McDonald 1d920eb92a Remove pointless dependency 2014-03-17 18:36:15 +01:00
Jamie McDonald 0fc1ff9166 Fixed messed up ApkLib structure 2014-03-17 18:25:16 +01:00
Jamie McDonald 6e9e191acf Deployment stuff 2014-03-17 17:26:54 +01:00
Jamie McDonald d04186515f Setup test project and added Intent builder tests 2014-03-17 16:30:26 +01:00
Jamie McDonald 57972e7716 Formatting 2014-03-17 13:11:44 +01:00
Jamie McDonald 07c3ca8816 Refined and documented builder
Fixes #5
2014-03-16 18:13:44 +01:00
Jamie McDonald a07deca320 Use action bar heights for done/discard bar 2014-03-16 13:42:50 +01:00
Jamie McDonald b769a2a461 Return errors with their own result code
No longer just returns the source image if we fail to crop. Fixes #4
2014-03-16 13:25:07 +01:00
Jamie McDonald eca283c04e Removed IDE files 2014-03-16 12:33:51 +01:00
Jamie McDonald 6959d31d5a Added support for returning crops in Intent
This is only useful if the max crop size is tiny...
2014-03-16 12:23:18 +01:00
Jamie McDonald 4d17b75b35 Removed ProGuard stuff 2014-03-15 17:39:33 +01:00
Jamie McDonald 8b3ae24b14 Builds ApkLib and names artifacts properly 2014-03-15 17:07:59 +01:00
Jamie McDonald 2247c2a769 Moving return options to builder 2014-03-15 12:53:20 +01:00
Jamie McDonald 2fa1be3329 Moved Exif helpers to utils 2014-03-15 00:13:31 +01:00
Jamie McDonald daff569acf Formatting 2014-03-14 23:15:44 +01:00
Jamie McDonald a001ecad91 Fix invalid return value for Exif rotation 2014-03-13 19:11:57 +01:00
Jamie McDonald 578a2f52ab Fixed a couple of lint issues 2014-03-13 00:14:54 +01:00
Jamie McDonald 42e1357afa Suppress lint warning about no divider on old versions 2014-03-13 00:04:36 +01:00
Jamie McDonald d3b33c1521 Working around selector and divider compat issues 2014-03-13 00:02:50 +01:00
Jamie McDonald e4cb4a303c Simplified example and added helpers for error handling
The isError() and getError() helpers mean that the calling classes no longer need any internal knowledge of intent extras etc.
2014-03-12 23:07:00 +01:00
Jamie McDonald ce3aa7be3c Builder for crop intents!
This also includes a helper for starting an image picker intent.
2014-03-12 22:34:14 +01:00
Jamie McDonald 3d1e3aafbb Removed nonsense 2014-03-12 19:35:37 +01:00
Jamie McDonald f148844ef6 Get rid of measurement in absolute pixels 2014-03-12 19:23:23 +01:00