8f51086c8177056345de996963515c4bd3415254 |
|
19-Feb-2015 |
Sascha Haeberling <haeberling@google.com> |
Centralize logic for Camera API feature determination. Bug: 19179276 This captures camera capabilities in a centralized class and allows them to be overridden by GServices in the field or using adb. Since this is not it's own class it would be trivial to create another instance for testing and pass that into CameraActivity or even to change these values using a UI before the actual Activity is started. Change-Id: I74262c8467f631c7b5e42b02d269d5f401d4e9e7
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
8be316c7a8caf962cf3fcf5e49d332fb2718319f |
|
20-Jan-2015 |
Paul Rohde <codelogic@google.com> |
Make it possible for singletons that rely on application context to be initalized lazily. * Add AndroidContext * Add AndroidServices * Make LogHelper ues thread safe lazy initialization * Convert several unused fields into local variables in CameraApp. Change-Id: I9c73e9b91efb49a01d848a8cca1e8e65f059b5d0
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
1fc61197e36b25c593e8b0e95a10a9167d7d621e |
|
21-Jun-2014 |
Sascha Häberling <haeberling@google.com> |
Revert "Memory window analysis in Camera2. Bug: 13280671" This seems to introduce jank in the app. This reverts commit b4f3483bfb5c2edcaefd0b44e84bb080e46502c8. Change-Id: Iad87e32a411eae1e2fdf09d6829c0e006a8eb5f8
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
b4f3483bfb5c2edcaefd0b44e84bb080e46502c8 |
|
17-Apr-2014 |
Kevin Gabayan <gabayan@google.com> |
Memory window analysis in Camera2. Bug: 13280671 Change-Id: I22249e6aeb76dca2fe79e49d3bd75c089fa7936f
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
f66eb70a66bb194f4bef54fe74a04d6c9a3515de |
|
10-Apr-2014 |
Sascha Haeberling <haeberling@google.com> |
Don't crash when listener registration gets out of sync Bug: 13914960 In some cases it can happen that resume/pause sequences happen on two CameraActivities at the same time, especially when switching from lock-screen to non-lockscreen activities. Change-Id: Ic0826fc4a1d601b0ba0e6ac9cef84c022d958ad4
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
0aeb0c82704401a050ad3b892ed1c9efa457013d |
|
08-Apr-2014 |
Kevin Gabayan <gabayan@google.com> |
Query memory consumption at end of onCreate. Bug: 13280671 Change-Id: Iedc4c8907a6e726a1835494bd6fad93e6ee8a666
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
23262280ef73104d909d23d0fa811c217a349497 |
|
29-Mar-2014 |
Sascha Haeberling <haeberling@google.com> |
Enable a memory override through Gservices. Bug: 13591498 Change-Id: I8515c57c2349279fb74071854b85021716895fa6
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
366c13baa640bc597cac360c5a1ffad5a3618b11 |
|
28-Mar-2014 |
Sascha Haeberling <haeberling@google.com> |
Change processing logic so that it can be suspended Bug: 13591498 Change-Id: Ib6e86bd6da197415676a80b212ea910ad0215f5d
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
5596b4c902dcb685928b43678f428746ca5ffd08 |
|
12-Mar-2014 |
Angus Kong <shkong@google.com> |
Use debug.Log instead of android.util.Log. 1. Change to use com.android.camera.debug.Log instead of android.util.Log. 2. Add DebugCameraProxy to support more detailed debug info. 3. Add CameraErrorCallback in CameraManager. 4. Support posting to a specific handler for CameraErrorCallback. 5. Trim down some TAGs to match the framework tag length limit. 6. Remove some unused codes in CameraSettings. bug:13324870 Change-Id: I8c20a8a0d11cfd50b6e199b03cbc88d3c4ad2ceb
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
77d24065a133adfb4f94db367aafea176aa56270 |
|
20-Dec-2013 |
Sascha Haeberling <haeberling@google.com> |
Change naming to reflect that it's 'allowed' memory. ... and not current usage. Change-Id: Ifcbdf95c33112d74cb6a21f66a079ad0d6e7ebd5
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
10809bdc41ec2203e5f4f4aa3d1016c0e94b97df |
|
20-Dec-2013 |
Sascha Haeberling <haeberling@google.com> |
Implement the method to determine our max native memory usage. Bug: 12246801 Change-Id: I5af99bd802be090df9e4c7f909de8e2ca3600f40
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
4417e2a9bc380e0386dccfcd73c4782ab9a9444e |
|
14-Dec-2013 |
Sascha Haeberling <haeberling@google.com> |
Fix secure camera. Let's not crash in memory manager when removing a listener that was not added. This was to do with pause() being called twice in secure mode. Instead just issue a warning. Change-Id: I72ad41fd72c92e746d4972014f23ad0a86082b2d
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|
a63dbb6231f06031204fe20b19a87d0440bd1661 |
|
22-Nov-2013 |
Sascha Haeberling <haeberling@google.com> |
Add a capture-session API to be used by all modules. Bug: 11747284 This refactors the way we think of sessions. Instead of having multiple session and notification APIs being used by different modules, we create on central capture session API to be used by all modules. This also adds a first implementation of a Memory API which tells modules about the current memory situation. Change-Id: I7f030e32fc2f70f4007825ba7bbbdce9521a2bd9
/packages/apps/Camera2/src/com/android/camera/app/MemoryManagerImpl.java
|