Searched defs:session (Results 1 - 25 of 38) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
H A DPictureTaker.java20 import com.android.camera.session.CaptureSession;
26 public void takePicture(OneCamera.PhotoCaptureParameters params, CaptureSession session); argument
H A DPictureTakerImpl.java30 import com.android.camera.session.CaptureSession;
54 CaptureSession session) {
57 mSession = session;
80 public void takePicture(OneCamera.PhotoCaptureParameters params, final CaptureSession session) { argument
94 session);
97 imageExposureCallback, imageSaver, session));
52 PictureTakerCommand(Updatable<Void> imageExposureCallback, ImageSaver imageSaver, CaptureSession session) argument
/packages/apps/Camera2/src/com/android/camera/session/
H A DSessionStorageManager.java17 package com.android.camera.session;
25 * Interface for the session storage manager which handles management of storage
26 * space that can be used for temporary session files.
35 * clean of expired session data.
38 * session space, e.g. "foo".
45 * Initializes the directories for storing the final session output
52 * @param title the title of this session. Will be used to create a unique
H A DCaptureSessionFactory.java17 package com.android.camera.session;
23 * Creates a new capture session.
25 * @param sessionManager the capture session manager.
27 * session.
28 * @param title the title of the new session.
29 * @param sessionStartMillis the start time of the new session (millis since
31 * @param location the location of the new session.
H A DStackSaver.java17 package com.android.camera.session;
H A DStackSaverFactory.java17 package com.android.camera.session;
47 * @param mTitle the title of this stack session.
48 * @param location the GPS location that the media in this session was
H A DTemporarySessionFile.java17 package com.android.camera.session;
25 * Used to create temporary session files to be used by e.g. Photo Sphere to
H A DPlaceholderManager.java17 package com.android.camera.session;
69 * @return A session instance representing the new placeholder.
83 * @return A session instance representing the new placeholder.
115 * @return A session that can be used to update the progress of the new
116 * session.
125 * @param placeholder the session that is being finished.
147 * @param session the session to update
150 public void replacePlaceholder(Placeholder session, Bitmap placeholder) { argument
151 Storage.replacePlaceholder(session
[all...]
H A DCaptureSessionFactoryImpl.java17 package com.android.camera.session;
24 /** Sub-directory for storing temporary session files. */
H A DSessionStorageManagerImpl.java17 package com.android.camera.session;
34 /** Delete temporary session directory remnants after ONE day. */
41 * This is where we used to store temp session data, but it was the wrong
51 * @return A session storage manager.
67 throw new IOException("Could not create session directory: " + sessionDirectory);
91 Log.e(TAG, "Could not get temp session directory", e);
92 throw new IOException("Could not get temp session directory", e);
105 Log.e(TAG, "Could not create temp session file", e);
106 throw new IOException("Could not create temp session file", e);
H A DStackSaverImpl.java17 package com.android.camera.session;
H A DSessionNotifier.java17 package com.android.camera.session;
23 * Internal interface that e.g. a capture session can use to update about the
24 * status of session.
46 /** The underlying session data has been updated. */
H A DCaptureSessionManager.java17 package com.android.camera.session;
31 * Callback interface for session events.
35 * Called when the session with the given Uri was queued and will be
41 * Called when the media underlying the session with the given Uri has
47 * Called when the capture indicator for the given session has changed
55 /** Called when the session with the given Uri finished. */
58 /** Called when the session with the given Uri failed processing. */
61 /** Called when the session with the given Uri was canceled. */
64 /** Called when the session with the given Uri has progressed. */
67 /** Called when the session wit
118 putSession(Uri sessionUri, CaptureSession session) argument
[all...]
H A DCaptureSessionManagerImpl.java17 package com.android.camera.session;
37 * <li>Create a new capture session.</li>
38 * <li>Pass it around to anywhere where the status of a session needs to be
41 * that processing of this session has started. The Camera app right now will
54 * It's OK to call saveAndFinish either before or after the session has been
57 * If startSession is called after the session has been finished, it will be
250 /** Used to fire events to the session listeners from the main thread. */
253 /** Failed session messages. Uri -> message ID. */
262 * @param sessionFactory used to create new capture session objects.
264 * temporary session dat
285 putSession(Uri sessionUri, CaptureSession session) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
H A DDeferredPictureTaker.java21 import com.android.camera.session.CaptureSession;
39 public void takePicture(OneCamera.PhotoCaptureParameters params, CaptureSession session) { argument
43 taker.takePicture(params, session);
H A DPreviewStarter.java32 * When the preview surface is available, creates a capture session, and then
33 * notifies the listener when the session is available.
37 public void onCameraCaptureSessionCreated(CameraCaptureSessionProxy session, Surface argument
49 * @param sessionListener A callback to be invoked when the capture session
66 // When we have the preview surface, start the capture session.
70 // Need to create a capture session with the single preview stream first
71 // to lock it as the first stream. Then resend the another session with preview
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
H A DImageSaver.java24 import com.android.camera.session.CaptureSession;
64 CaptureSession session);
61 build( OneCamera.PictureSaverCallback pictureSaverCallback, OrientationManager.DeviceOrientation orientation, CaptureSession session) argument
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
H A DAndroidCameraDeviceProxy.java43 public void onConfigured(CameraCaptureSession session) { argument
44 mStateCallback.onConfigured(new AndroidCameraCaptureSessionProxy(session));
48 public void onConfigureFailed(CameraCaptureSession session) { argument
49 mStateCallback.onConfigureFailed(new AndroidCameraCaptureSessionProxy(session));
53 public void onReady(CameraCaptureSession session) { argument
54 mStateCallback.onReady(new AndroidCameraCaptureSessionProxy(session));
58 public void onActive(CameraCaptureSession session) { argument
59 mStateCallback.onActive(new AndroidCameraCaptureSessionProxy(session));
63 public void onClosed(CameraCaptureSession session) { argument
64 mStateCallback.onClosed(new AndroidCameraCaptureSessionProxy(session));
[all...]
H A DAndroidCameraCaptureSessionProxy.java42 public void onCaptureStarted(CameraCaptureSession session, CaptureRequest request, argument
49 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request, argument
56 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, argument
62 public void onCaptureFailed(CameraCaptureSession session, CaptureRequest request, argument
68 public void onCaptureSequenceCompleted(CameraCaptureSession session, int sequenceId, argument
75 public void onCaptureSequenceAborted(CameraCaptureSession session, int sequenceId) { argument
82 public AndroidCameraCaptureSessionProxy(CameraCaptureSession session) { argument
83 mSession = session;
H A DCameraCaptureSessionProxy.java34 * unchecked exception) resulting from the underlying session being closed into
40 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, argument
43 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, argument
46 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, argument
49 public void onCaptureSequenceAborted(CameraCaptureSessionProxy session, int sequenceId); argument
51 public void onCaptureSequenceCompleted(CameraCaptureSessionProxy session, int sequenceId, argument
54 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, argument
59 public void onActive(CameraCaptureSessionProxy session); argument
61 public void onClosed(CameraCaptureSessionProxy session); argument
63 public void onConfigureFailed(CameraCaptureSessionProxy session); argument
65 onConfigured(CameraCaptureSessionProxy session) argument
67 onReady(CameraCaptureSessionProxy session) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/processing/
H A DProcessingTask.java23 import com.android.camera.session.CaptureSession;
38 * @param session the capture session for the processed task.
40 public ProcessingResult(boolean success, CaptureSession session) { argument
42 mSession = session;
64 * @param session the {@code CaptureSession}
68 CaptureSession session);
67 process(Context context, CameraServices services, CaptureSession session) argument
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DImageShadowTask.java27 import com.android.camera.session.CaptureSession;
62 * @param captureSession the capture session associated with this shadow
96 public ProcessingResult process(Context context, CameraServices services, CaptureSession session) { argument
/packages/apps/Settings/src/com/android/settings/net/
H A DChartDataLoader.java59 public ChartDataLoader(Context context, INetworkStatsSession session, Bundle args) { argument
61 mSession = session;
H A DSummaryForAllUidLoader.java43 public SummaryForAllUidLoader(Context context, INetworkStatsSession session, Bundle args) { argument
45 mSession = session;
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
H A DTagDispatchCaptureSession.java57 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, argument
64 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, argument
71 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, argument
78 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, argument
85 public void onCaptureSequenceAborted(CameraCaptureSessionProxy session, int sequenceId) { argument
92 public void onCaptureSequenceCompleted(CameraCaptureSessionProxy session, int sequenceId, argument

Completed in 789 milliseconds

12