Searched refs:module (Results 1 - 19 of 19) 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_pd/com/android/camera/util/
H A DRemoteShutterHelper.java32 public void onModuleReady(RemoteCameraModule module) {
/packages/apps/Camera2/src/com/android/camera/app/
H A DModuleManager.java21 import com.android.camera.module.ModuleController;
27 * The module manager which maintains the
34 * The module agent which is responsible for maintaining the static
35 * characteristics and the creation of the module.
40 * @return The module ID.
45 * @return Whether the module will request the app for the camera.
50 * Creates the module.
53 * creates this module.
54 * @return The module.
60 * Registers a module
[all...]
H A DAppController.java32 import com.android.camera.module.ModuleController;
79 * @return a String scope uniquely identifing the current module.
111 * Returns the current module controller.
116 * Returns the currently active module index.
131 * Based on a mode switcher index, choose the correct module index.
134 * @return module index.
141 * @param moduleIndex index of the new module to switch to
167 * Gets called from module when preview is ready to start.
172 * Gets called from module when preview is started.
195 * Gets called from module whe
[all...]
H A DCameraAppUI.java47 import com.android.camera.module.ModuleController;
75 * CameraAppUI centralizes control of views shared across modules. Whereas module
77 * bring the flash animation and capture animation up from each module to app
262 * Once constructed by a module, this class should be
551 * Provides current preview frame and the controls/overlay from the module that
961 // 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
1286 * Called indirectly from each module i
1665 resetBottomControls(ModuleController module, int moduleIndex) argument
1679 areBottomControlsUsed(ModuleController module) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/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...]
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
/packages/apps/Camera/src/com/android/camera/
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();
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.
/packages/apps/Camera2/src/com/android/camera/
H A DCameraModule.java25 import com.android.camera.module.ModuleController;
28 /** Provides common services and functionality to the module. */
57 * @return An instance containing common services to be used by the module.
64 * @return An instance used by the module to get the 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 DPhotoModule.java61 import com.android.camera.module.ModuleController;
346 public MainHandler(PhotoModule module) { argument
348 mModule = new WeakReference<PhotoModule>(module);
353 PhotoModule module = mModule.get();
354 if (module == null) {
359 module.initializeFirstTime();
364 module.setCameraParametersWhenIdle(0);
379 // in the new module. The new module will set the enabled/disabled
380 // of this button when the module'
[all...]
H A DCameraActivity.java104 import com.android.camera.module.ModuleController;
105 import com.android.camera.module.ModulesInfo;
513 throw new IllegalStateException("Camera opened but the module shouldn't be " +
527 // Reset the exposure compensation before handing the camera to module.
1390 // possible so we can call module.init() at the earliest time.
1590 // we need to drop them back in the photo module and have them select
1599 // read the module index from the last time the user changed modes
1680 * Save the last module index after all secure camera and icon launches,
1970 // If a module is in the middle of capture, it should
2190 // Select the correct module inde
2377 openModule(CameraModule module) argument
2388 closeModule(CameraModule module) argument
[all...]
H A DCaptureModule.java51 import com.android.camera.module.ModuleController;
81 * New Capture module that is made to support photo and video capture on top of
152 * Sticky Gcam mode is when this module's sole purpose it to be the Gcam
183 /** State by the module state machine. */
190 /** The current state of the module. */
235 /** Whether the module is paused right now. */
277 /** Constructs a new capture module. */
1016 // Disable this button to prevent callbacks from this module from firing
1380 // override this buffer size. Any module that uses egl to render to a
H A DVideoModule.java62 import com.android.camera.module.ModuleController;
117 // module fields
308 * Construct a new video module.
1346 Log.v(TAG, "in storage callback after module paused");
1479 // b/16300704: Monkey is fast so it could pause the module while recording.
1982 // Not much we can do in the video module.
/packages/apps/Camera2/src/com/android/camera/settings/
H A DAppUpgrader.java26 import com.android.camera.module.ModuleController;
63 * module specific settings changed.
199 // Startup module index: Integer -> String, from default.
207 // Last camera used module index: Integer -> String, from default.
418 ModuleController module = agent.createModule(app);
421 + module.getModuleStringIdentifier());
/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);

Completed in 472 milliseconds