changjiashuai's blog

Runnig...

The future belongs to those who believe in the beauty of their dreams.


Android Camera2

CameraApp

  1. MediaSaver
  2. CaptureSessionManager
  3. SessionStorageManager
  4. MemoryManagerImpl
  5. PlaceholderManager
  6. RemoteShutterListener
  7. MotionManager
  8. SettingsManager
  9. CameraServices
    • Functionality available to all modules and services

    /** * Returns the capture session manager instance that modules use to store * temporary or final capture results. */ public CaptureSessionManager getCaptureSessionManager();

    /** * Returns the memory manager which can be used to get informed about memory * status updates. */ public MemoryManager getMemoryManager();

    /** * Returns the motion manager which senses when significant motion of the * camera should unlock a locked focus. */ public MotionManager getMotionManager();

    /** * Returns the media saver instance. * <p> * Deprecated. Use {@link #getCaptureSessionManager()} whenever possible. * This direct access to media saver will go away. */ @Deprecated public MediaSaver getMediaSaver();

    /** * @return A listener to be informed by events interesting for remote * capture apps. Will never return null. */ public RemoteShutterListener getRemoteShutterListener();

    /** * @return The settings manager which allows get/set of all app settings. */ public SettingsManager getSettingsManager();

AbstractGalleryActivity

ActivityBase

CameraActivity

最近的文章

Android 图像处理(1)

图像构成位图(bitmap)(r, g, b, a)—>(pixel)—>image通过调整颜色处理图像操作的对象是每个像素,我们可以改变图像的色相(Hue)、饱和度(Saturation)、明度(Luminance)ColorActivity通过颜色矩阵处理图形ColorMatrixActivity颜色矩阵(ColorMatrix)颜色矩阵M是一个5*4的矩阵,如图1所示。在Android中,颜色矩阵M是以一维数组m=[a,b,c,d,e,f,g,h,i,j,k,l,m,n,...…

AndroidImageFilter继续阅读
更早的文章

Android Studio查看Android源码

下载源码 使用repo从源码仓库下载Source 从百度网盘下载别人下载好的Android5.0编译源码1. 进入Android 源码根目录2. 执行#这行命令的意思是编译idegen这个项目,生成idegen.jar文件.生成成功后,会显示这个jar包的位置,并显示 #### make completed successfully (20 seconds)####mmm development/tools/idegen/3. 执行#这行命令的意思是生成对应的文件:android.iw...…

AndroidAndroidStudio继续阅读