Commit Graph

78 Commits

Author SHA1 Message Date
Jamie McDonald d8a549bb56 Don’t attempt to scale an image that could not be decoded 2015-11-20 15:23:47 +01:00
Jamie McDonald b4be2c2703 Fix image offset on ACTION_MOVE 2015-09-09 11:58:11 +02:00
Jamie McDonald b532e0095a Cleaning 2015-09-09 11:20:56 +02:00
Jamie McDonald dfe8cd0724 Lint fixes 2015-09-08 22:15:47 +02:00
Jamie McDonald da391b4973 Formatting 2015-09-08 19:35:04 +02:00
Jamie McDonald d9b55467f1 Merge pull request #123 from torstenojaperv/master
Fixed multiple touch zoom in issue and image "twitching" when zoomin …
2015-09-08 19:21:12 +02:00
Jamie McDonald bafa75b42e Clear windowTranslucentStatus flag in case it’s set in the app theme
Fixes #162
2015-09-07 16:18:10 +02:00
Jamie McDonald d38710fd91 Formatting 2015-09-07 15:38:35 +02:00
Jamie McDonald ccd2faba89 Cleaning & builder interface docs 2015-09-07 15:30:07 +02:00
Jamie McDonald 7186cf2b61 Merge pull request #158 from growingdever/pick-from-fragment
pick image for fragment
2015-09-07 15:02:38 +02:00
loki 3a3c404ec8 pick image for fragment 2015-08-17 01:20:58 +09:00
Huxley Oosthuizen ad483ebf4a setResult on exception instead of finish 2015-07-27 12:21:42 +02:00
Torsten Ojaperv 32772d8087 Fixed multiple touch zoom in issue and image "twitching" when zoomin back to maximum bounds. 2015-05-29 10:42:07 +03:00
Jamie McDonald cd5ac96ad7 Interface change since output is not optional 2015-04-24 13:23:13 -04:00
Jamie McDonald 02758958be Docs on public interface 2015-04-17 15:36:32 -04:00
Jamie McDonald bbe009289e Merge pull request #86 from nostra13/master
Support Fragments from support-v4
2015-04-17 15:01:51 -04:00
Jamie McDonald fea38b4f9f Typo [skip ci] 2015-04-17 13:52:21 -04:00
Jamie McDonald f734d4c22b Merge pull request #93 from BoD/feature/showCircle
'Show circle' feature
2015-04-17 13:49:23 -04:00
Jamie McDonald ecbc98997a Cleaning 2015-04-17 13:43:38 -04:00
Jamie McDonald 9d654fa2b3 Remove Gingerbread support (in-memory crop) 2015-04-17 13:36:49 -04:00
BoD 0df72f4627 'Show circle' feature.
This optionally draws a circle in the HighlightView, in the same style as the 'thirds'.
This is useful as many apps use circle avatars nowadays.  Also useful to crop images
that will be shown on a round watch.
2015-03-28 18:42:47 +01:00
nostra13 058b870a13 Support Fragments from support-v4.
Update versions of buildTools and support-v4.
2015-02-19 17:49:43 +03:00
Jamie McDonald d7a3ae2fb8 Resize after decodeRegionCrop for max size params 2015-02-13 16:30:17 +01:00
Jamie McDonald 3c2e3e6b99 Very slightly less weird interface to crop methods 2015-02-13 14:06:11 +01:00
Jamie McDonald 7b02695b07 Cleaning 2015-02-13 13:59:55 +01:00
Jamie McDonald fb412bb245 Naming [skip ci] 2015-02-13 13:46:30 +01:00
Jamie McDonald 3888d516fd Formatting [skip ci] 2015-02-13 13:44:15 +01:00
Jamie McDonald 92c5f04038 Cleaning 2015-02-13 13:38:38 +01:00
Alex Black de1373d609 fix placeholder temp filename params 2015-01-22 22:40:23 -08:00
Alex Black 7130917f4e Fallback to using ParcelFileDescriptor to support getting images from Google Drive 2015-01-22 22:35:02 -08:00
Jamie McDonald 3756e24ffa Move Log and reduce visibility 2015-01-09 15:58:43 +01:00
Jamie McDonald c99ef79169 Typos [skip ci] 2015-01-09 14:59:31 +01:00
Jamie McDonald 12421b25d2 Expose generated Intent to allow custom start logic
Fixes #37
2015-01-09 14:55:28 +01:00
Jamie McDonald 1388d09012 Clean builder docs 2015-01-09 12:19:57 +01:00
h46incon 78ae55e24a Allow user to start the intent with custom requestCode.
User may handler result differently according to requestCode.
2014-08-29 14:09:24 +08:00
Jamie McDonald 5d5afcbe83 Updated error handling 2014-07-13 15:50:47 +02:00
Jamie McDonald 32f289d454 Use default image max if we can't get the texture size 2014-07-13 12:06:45 +02:00
Jamie McDonald 2b04e98ea4 Define a hard limit on image size
This maintains some level of performance when GL_MAX_TEXTURE_SIZE is huge (e.g. on a Genymotion emulator).
2014-06-22 15:02:15 +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 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
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 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