9
0
mirror of https://gitee.com/shuto/customCamera.git synced 2026-05-02 00:07:24 +08:00
Commit Graph

139 Commits

Author SHA1 Message Date
Christophe BOUCAUT c04469a881 Create the directory for storage the picture in gallery if it doesn't exist. 2015-07-10 09:38:58 +02:00
Christophe BOUCAUT d080fececf Fix bug: the overlay picture was not resized when it is smaller than the screen even with displayMetrics.density. 2015-07-09 16:51:45 +02:00
Christophe BOUCAUT 6a723fe9d5 Set the best resolution for the picture taken. 2015-07-09 14:29:33 +02:00
Christophe BOUCAUT 08773e2c24 Use the density to display the picture like in the webview and update the plugin version. 2015-06-26 17:57:26 +02:00
Christophe BOUCAUT a170a73f7a Remove a function not used. 2015-06-24 17:09:09 +02:00
Christophe BOUCAUT 7a11ed6df4 Improve the memory used and repair the miniature feature. 2015-06-24 17:07:36 +02:00
Christophe BOUCAUT 1004a6ea90 Improve the plugin to try/catch outofmemory when we try to rotate or compress a picture. 2015-06-24 16:37:21 +02:00
Christophe BOUCAUT 04677cd5e5 Little optimization to reduce the dead code 2015-06-23 09:33:57 +02:00
Christophe BOUCAUT 12d78875a5 Improve the memory used to display the overlay picture. 2015-06-22 15:55:31 +02:00
Christophe BOUCAUT 1498a84f7b Remove useless code. 2015-06-19 18:03:54 +02:00
Christophe BOUCAUT 142fd804e2 Add pictures. Remove useless files. Add padding bottom on button of take picture. 2015-06-05 09:35:20 +02:00
Christophe BOUCAUT e5002b13bf Set size of take picture button and seekbars for every resolutions 2015-06-04 17:11:59 +02:00
Christophe BOUCAUT 451ca43b15 Remove useless picture and update round_button to adapt the background with new image button. 2015-06-04 16:05:55 +02:00
Christophe BOUCAUT bd80103958 Fix bug status miniature is not kept when the user turn the device. 2015-06-04 15:51:21 +02:00
Christophe BOUCAUT 01ec0ce0d0 Update position for miniature function. 2015-06-04 15:20:37 +02:00
Christophe BOUCAUT 168932340e Remove background on take picture button. 2015-06-04 14:42:56 +02:00
Christophe BOUCAUT 33be9e6b87 Change operation with miniature. Use only the button to minimize or maximize the picture. 2015-06-04 12:16:46 +02:00
Christophe BOUCAUT 0f74460bf2 Fix tabulation space 2015-06-04 11:44:59 +02:00
Christophe BOUCAUT ab703905fb add margin on seekbars 2015-06-04 11:38:40 +02:00
Christophe BOUCAUT 12321868f3 Fix design of seekbars. 2015-06-04 11:35:15 +02:00
Christophe BOUCAUT 3937a06501 Change default style seekbar 2015-06-03 16:34:03 +02:00
Christophe BOUCAUT e5ea4fdaa0 Change picto camera 2015-06-03 16:33:31 +02:00
Christophe BOUCAUT 579a6fbf2a Implement leave button. 2015-06-03 14:29:42 +02:00
Christophe BOUCAUT 49338b08c5 Fix bug miniature button. 2015-06-03 14:07:54 +02:00
Christophe BOUCAUT 609035de49 Fix bug where texts "-" and "+" aren't hidden after that we took a picture. 2015-06-03 12:49:19 +02:00
Christophe BOUCAUT 0e66be0099 Change style opacity bar use default style). 2015-06-03 12:36:57 +02:00
Christophe BOUCAUT a1b1e91bcf Design the take picture bar and zoom + set the position of the opacity bar 2015-06-03 12:25:18 +02:00
Christophe BOUCAUT 1c828f9f9d Remove alpha and add transparence in black color. fix position confirme/delete button. 2015-06-02 17:48:07 +02:00
Christophe BOUCAUT 28f96533d5 Mise à jour des pictos en hdpi + ajout de padding sur la barre d'action 2015-06-02 17:14:45 +02:00
Christophe BOUCAUT 47e3d7a882 Use gone and not invisible to hide elements. As this, the alignment is kept 2015-06-02 15:17:54 +02:00
Christophe BOUCAUT d3cbdef908 Create an actionbar to regroup actions buttons. 2015-06-02 15:05:58 +02:00
Christophe BOUCAUT ec4e965c7b Correction pour n'afficher le bouton de switch de flash que si on a un flash et si on l'a demandé dans le plugin. 2015-02-12 09:21:49 +01:00
Thomas BOY 1e8d3bb9f3 Modification des noms de variables.
Fix bug:
  - Etirement preview : On determine la meilleure resolution de la camera parmi celles disponibles et en fonction de la taille de la preview.
2015-02-10 11:06:39 +01:00
Thomas BOY 957444735e Merge branch 'master' into issue#64 2015-02-10 09:47:28 +01:00
Thomas BOY b1c2579465 Utilisation de Math pour déterminer le minSize et maxSize 2015-02-10 09:45:39 +01:00
Thomas BOY f764f51da3 Modification de la position du bouton switchCamera 2015-02-09 16:37:41 +01:00
Thomas BOY bc0844f1ed If we don't have a background image, disable miniature and opacity options since CameraLauncher.java. 2015-02-09 16:22:57 +01:00
Thomas BOY 3449cea59c Centralisation de la gestion des affichages pour les boutons.
Gestion du bouton de switch camera.
2015-02-09 16:05:49 +01:00
Thomas BOY 8e1f2faa14 Déplacement du code pour regrouper les override d'activité ensemble. 2015-02-09 15:47:29 +01:00
Thomas BOY e7016f24e1 Fix bug :
+ Bouton flash réapparait si on décline la photo malgré que l'on précise en JS que l'on veut masquer le bouton.
+ Bar de zoom réapparait si on décline la photo malgré qu'il n'y ait pas de zoom supporté.

Réalisé :
+ Gestion du zoom (et de la seekbar) lorsque l'on switch de camera.
2015-02-09 15:33:34 +01:00
Thomas BOY edc3b221e8 Ajout d'un getter. 2015-02-09 12:24:57 +01:00
Thomas BOY e4fd766f20 Correctifs de codes (commentaires, deplacement). Deplacement de setDisplayOrientation dans ManagerCamera et appel dans initCameraResource. Modification du hook pour la langue par defaut. 2015-02-09 11:20:30 +01:00
Christophe BOUCAUT 91349dc4ed Ajout des options JS pour :
+ Activer / desactiver le switch de camera.
 + Choisir une camera par défaut.
2015-02-09 10:29:16 +01:00
Thomas BOY 7763b2ba8c Reecriture pour avoir getRotation via windowManager 2015-02-09 10:00:11 +01:00
Thomas BOY 04286312f7 Rajout d'un commentaire 2015-02-06 16:29:31 +01:00
Thomas BOY 8fb6b04f79 Implémentation du switch camera avec prise en compte des rotations de la preview et de l'effet miroir 2015-02-06 15:20:14 +01:00
Christophe BOUCAUT f219e2d291 Refacto du redimensionnement de la preview. 2015-02-06 14:52:56 +01:00
Christophe BOUCAUT 8da0c5a4e0 Première mise en place d'un fix. A retravailler. 2015-02-06 12:16:34 +01:00
Thomas BOY d264c5ebda Modification pour prendre en compte une langue par defaut.
Nouvelle implementation du switch camera. Modifications de ManagerCamera.java.
Prise en compte du flash en cas de changement de camera.
2015-02-05 15:47:50 +01:00
Thomas BOY 392a07a892 Implémentation du switch de camera. 2015-02-04 17:44:13 +01:00