Camera 小结

android.hardware.Parameters;
android.util.Log;
一个比较大的工作要从宏观上先确定大的步骤
再分块去实现,处理
Camera的小结
几个BroadcastReceiver
1.ScreenOffReceiver
2.ShutDownReceiver
3.storageReceiver
几个service
1.MediaSavaService
几个事件监听器
1.MyOrientationEventListener
2.OnActionBarVisibilityListener
3.FilmStripView.Listener
4.ImageTaskManager.TaskListener mPlaceholderListeners
5.ImageTaskManager.TaskListener mStitchingListener
几个ContentObserver
1.LocalImagesObserver
2.LocalVideosObserver
几个回调函数
1.CameraOpenErrorCallback
几个Handler
1.MainHandler
几个主要的字段
1.LocalDataAdapter mDataAdapter
2.FilmStripView
3.LocalData
几个主要的方法
1.setPreviewControlsVisibility()设置预览模式




private void setScreenBrightness(int paramInt) {
Window localWindow = getWindow();
WindowManager.LayoutParams localLayoutParams = localWindow
.getAttributes();
float f = paramInt / 255.0F;
localLayoutParams.screenBrightness = f;
localWindow.setAttributes(localLayoutParams);
}
public void onCreate(Bundle state) {
Log.d(TAG, "performance:    onCreate start..... ");
if (PerfAutoTestLog.isAutoTest()) {
PerfAutoTestLog.startLog(TAG, "onCreate to ModuleInit");
}
super.onCreate(state);
GcamHelper.init(getContentResolver());


UiUtils.initialize(this);
getWindow().requestFeature(Window.FEATURE_ACTION_BAR);
setContentView(R.layout.camera_filmstrip);
mActionBar = getActionBar();
mActionBar.addOnMenuVisibilityListener(this);
}

你可能感兴趣的:(android)