Searched defs:module (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/remote/
H A DRemoteShutterListener.java25 * Called when the module is active and ready for shutter presses.
27 void onModuleReady(RemoteCameraModule module); argument
30 * Called when module is no longer ready for shutter presses.
/packages/apps/Camera2/src/com/android/camera/module/
H A DModulesInfo.java17 package com.android.camera.module;
35 * A class holding the module information and registers them to
77 // capture module is using OneCamera. At some point we'll
78 // refactor all modules to use OneCamera, then the new module
H A DModuleController.java17 package com.android.camera.module;
38 * Returns a unique string which identifies this module.
40 * specific to each module.
47 * Initializes the module.
56 * Resumes the module. Always call this method whenever it's being put in
62 * Pauses the module. Always call this method whenever it's being put in the
68 * Destroys the module. Always call this method to release the resources used
69 * by this module.
109 * Called by the app when the camera is available. The module should use
117 * Called by the app on startup or module switche
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DPhotoController.java46 public PhotoController(CameraActivity activity, PhotoModule module, PieRenderer pie) { argument
48 mModule = module;
H A DVideoController.java48 public VideoController(CameraActivity activity, VideoModule module, PieRenderer pie) { argument
50 mModule = module;
H A DPreviewGestures.java74 public PreviewGestures(CameraActivity ctx, CameraModule module, argument
77 mModule = module;
168 // assume module wasn't initialzed and ignore this event.
H A DCameraActivity.java168 private void openModule(CameraModule module, boolean canReuse) { argument
169 module.init(this, mFrame, canReuse && canReuseScreenNail());
171 module.onResumeBeforeSuper();
172 module.onResumeAfterSuper();
175 private void closeModule(CameraModule module) { argument
176 module.onPauseBeforeSuper();
177 module.onPauseAfterSuper();
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureModuleUI.java70 /** Set up listener to receive zoom changes from View and send to module. */
126 public CaptureModuleUI(CameraActivity activity, CaptureModule module, View parent, argument
129 mModule = module;
H A DCameraActivity.java105 import com.android.camera.module.ModuleController;
106 import com.android.camera.module.ModulesInfo;
510 throw new IllegalStateException("Camera opened but the module shouldn't be " +
524 // Reset the exposure compensation before handing the camera to module.
1338 // possible so we can call module.init() at the earliest time.
1530 // we need to drop them back in the photo module and have them select
1539 // read the module index from the last time the user changed modes
1620 * Save the last module index after all secure camera and icon launches,
1920 // If a module is in the middle of capture, it should
2123 // Select the correct module inde
2311 openModule(CameraModule module) argument
2320 closeModule(CameraModule module) argument
[all...]
H A DPhotoModule.java63 import com.android.camera.module.ModuleController;
356 public MainHandler(PhotoModule module) { argument
358 mModule = new WeakReference<PhotoModule>(module);
363 PhotoModule module = mModule.get();
364 if (module == null) {
369 module.initializeFirstTime();
374 module.setCameraParametersWhenIdle(0);
389 // in the new module. The new module will set the enabled/disabled
390 // of this button when the module'
[all...]
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_btservice_AdapterService.cpp680 hw_module_t* module; local
723 err = hw_get_module(id, (hw_module_t const**)&module);
727 err = module->methods->open(module, id, &abstraction);
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraAppUI.java48 import com.android.camera.module.ModuleController;
76 * CameraAppUI centralizes control of views shared across modules. Whereas module
78 * bring the flash animation and capture animation up from each module to app
263 * Once constructed by a module, this class should be
553 * Provides current preview frame and the controls/overlay from the module that
963 // Go to new module when the previous operation is successful.
1202 * modules. Then each module inflates their own views in the given view group. For
1203 * now, this is called every time switching from a not-yet-refactored module to a
1204 * refactored module. In the future, this should only need to be done once per app
1289 * Called indirectly from each module i
1645 resetBottomControls(ModuleController module, int moduleIndex) argument
1659 areBottomControlsUsed(ModuleController module) argument
[all...]

Completed in 168 milliseconds