/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWidget.java | 97 FastBitmapDrawable preview = (FastBitmapDrawable) image.getDrawable(); local 99 mInfo != null && preview != null && preview.getBitmap() != null) { 100 mWidgetPreviewLoader.recycleBitmap(mInfo, preview.getBitmap()); 149 void applyPreview(FastBitmapDrawable preview, int index) { 152 if (preview != null) { 154 image.setImageDrawable(preview); 158 int centerAmount = (imageSize[0] - preview.getIntrinsicWidth()) / 2;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureTrailsPreview.java | 37 * Draw gesture trail preview graphics during gesture. 68 final GestureTrailsPreview preview = getOuterInstance(); local 69 if (preview == null) return; 72 preview.getDrawingView().invalidate(); 152 * Draws the preview 153 * @param canvas The canvas where the preview is drawn. 178 * Set the position of the preview. 179 * @param tracker The new location of the preview is based on the points in PointerTracker.
|
/device/lge/mako/camera/ |
QCameraHWI_Preview.cpp | 32 /* following code implement the preview mode's image capture & display logic of this class*/ 37 // Preview Callback 61 ALOGW(" Setting NULL preview window "); 62 /* TODO: Current preview window will be invalidated. 265 ALOGE("%s: unmapping Preview Buffer", __func__); 307 if (mDisplayBuf.preview.buf.mp != NULL) { 308 delete[] mDisplayBuf.preview.buf.mp; 309 mDisplayBuf.preview.buf.mp = NULL; 398 if (mDisplayBuf.preview.buf.mp != NULL) { 399 delete[] mDisplayBuf.preview.buf.mp [all...] |
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI_Preview.cpp | 32 /* following code implement the preview mode's image capture & display logic of this class*/ 37 // Preview Callback 61 LOGW(" Setting NULL preview window "); 62 /* TODO: Current preview window will be invalidated. 293 if (mDisplayBuf.preview.buf.mp != NULL) { 294 delete[] mDisplayBuf.preview.buf.mp; 295 mDisplayBuf.preview.buf.mp = NULL; 378 if (mDisplayBuf.preview.buf.mp != NULL) { 379 delete[] mDisplayBuf.preview.buf.mp; 380 mDisplayBuf.preview.buf.mp = NULL [all...] |
/frameworks/av/include/camera/ |
Camera.h | 80 // start preview mode, must call setPreviewDisplay first 83 // stop preview mode 86 // get preview state 110 // set preview/capture parameters - key/value pairs 113 // get preview/capture parameters - key/value pairs
|
CameraParameters.h | 80 // separate output for video frames and preview frame. 82 // Retrieve the preferred preview size (width and height) in pixels 84 // supported preview sizes returned from getSupportedPreviewSizes(). 109 // Preview frame size in pixels (width x height). 112 // Supported preview frame sizes in pixels. 115 // The current minimum and maximum preview fps. This controls the rate of 116 // preview frames received (CAMERA_MSG_PREVIEW_FRAME). The minimum and 121 // The supported preview fps (frame-per-second) ranges. Each range contains 129 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in 134 // Supported image formats for preview frames [all...] |
/frameworks/base/docs/html/tools/help/ |
draw9patch.jd | 27 pane is the preview area, where you can preview your graphic when stretched.</p> 49 <li><strong>Patch scale</strong>: Adjust the scale of the images in the preview area.</li> 51 <li><strong>Show patches</strong>: Preview the stretchable patches in the drawing area (pink is a 53 <li><strong>Show content</strong>: Highlight the content area in the preview images
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/ |
CameraManager.java | 35 * implementation encapsulates the steps needed to take preview-sized images, which are used for 36 * both preview and decoding. 60 * Preview frames are delivered here, which we pass on to the registered handler. Make sure to 77 * @param holder The surface object which the camera will draw preview frames into. 121 * Asks the camera hardware to begin drawing preview frames to the screen. 132 * Tells the camera to stop drawing preview frames. 144 * A single preview frame will be returned to the handler supplied. The data will arrive as byte[] 206 * Like {@link #getFramingRect} but coordinates are in terms of the preview frame, 259 * of the preview buffers, as described by Camera.Parameters. 261 * @param data A preview frame [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewList.java | 135 * configuration preview list 180 RenderPreview preview = RenderPreview.create(manager, configuration); local 182 preview.setDescription(description); 183 previews.add(preview); 189 void remove(@NonNull RenderPreview preview) { 190 ConfigurationDescription description = preview.getDescription(); 200 void add(@NonNull RenderPreview preview) { 201 Configuration configuration = preview.getConfiguration(); 205 description.displayName = preview.getDisplayName(); 207 preview.setDescription(description) [all...] |
/frameworks/base/core/java/android/hardware/ |
Camera.java | 47 * The Camera class is used to set image capture settings, start/stop preview, 76 * will be unable to start the preview. 79 * preview surface. Preview must be started before you can take a picture. 85 * <li>After taking a picture, preview display will have stopped. To take more 88 * <li>Call {@link #stopPreview()} to stop updating the preview surface. 99 * <li>Obtain and initialize a Camera and start preview as described above. 109 * <li>If desired, restart preview and take more photos or videos. 115 * Most long-running operations (preview, focus, photo capture, etc) happen 427 * Sets the {@link Surface} to be used for live preview [all...] |
/device/lge/mako/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_preview.c | 185 CDBG_ERROR("%s:Stop preview err=%d\n", __func__, rc); 192 CDBG_ERROR("%s:Start preview err=%d\n", __func__, rc); 214 CDBG_ERROR("%s:Stop preview err=%d\n", __func__, rc); 221 CDBG_ERROR("%s:stream on preview err=%d\n", __func__, rc); 272 CDBG("Allocating Preview Memory for %d buffers frame_len = %d",num_bufs,frame_offset_info->frame_len); 570 //dumpFrameToFile(frame->frame,pme->dim.display_width,pme->dim.display_height,"preview", 1); 571 dumpFrameToFile(frame,pme->dim.display_width,pme->dim.display_height,"preview", 1); 582 CDBG_ERROR("%s: Failed in Preview Qbuf\n", __func__); 610 //dumpFrameToFile(preview_frame->frame,pme->dim.display_width,pme->dim.display_height,"preview", 1); 633 CDBG_ERROR("%s: Failed in Preview Qbuf\n", __func__); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CameraTest.java | 107 // preview callbacks in the queue after quit is called. The preview 118 Log.v(TAG, "Preview callback start"); 129 Log.v(TAG, "Preview callback stop"); 194 Log.v(TAG, "Start preview"); 210 Log.v(TAG, "start preview"); 238 * Test case 2: Set the preview and
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CameraPreview.java | 47 private Preview mPreview; 65 mPreview = new Preview(this); 137 // Acquire the next camera and request Preview to reconfigure 145 // Start the preview 157 * A simple wrapper around a Camera and a SurfaceView that renders a centered preview of the Camera 159 * support preview sizes at the same aspect ratio as the device's display. 161 class Preview extends ViewGroup implements SurfaceHolder.Callback { 162 private final String TAG = "Preview"; 170 Preview(Context context) { 208 // wrapper to a SurfaceView that centers the camera preview instea [all...] |
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
CameraFragment.java | 43 private Preview mPreview; 57 mPreview = new Preview(this.getActivity()); 140 // Acquire the next camera and request Preview to reconfigure 147 // Start the preview 166 * preview of the Camera to the surface. We need to center the SurfaceView 167 * because not all devices have cameras that support preview sizes at the same 170 class Preview extends ViewGroup implements SurfaceHolder.Callback { 171 private final String TAG = "Preview"; 180 Preview(Context context) { 214 // wrapper to a SurfaceView that centers the camera preview instea [all...] |
/device/generic/goldfish/camera/ |
EmulatedQemuCameraDevice.h | 83 /* Gets current preview fame into provided buffer. 84 * We override this method in order to provide preview frames cached in this 111 /* Current preview framebuffer. */
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
StreamingProcessor.h | 38 * Management and processing for preview and recording streams 63 PREVIEW, 102 // Preview-related members
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
ImageFilterDownsample.java | 64 // scale preview to same size as the resulting bitmap from a "save" 68 // only scale preview if preview isn't already scaled enough
|
/packages/wallpapers/LivePicker/ |
AndroidManifest.xml | 43 <meta-data android:name="android.wallpaper.preview" 49 android:theme="@style/Preview"> 58 android:theme="@style/Preview" />
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
previewable_contents_controller_unittest.mm | 29 // TODO(rohitrao): Test showing and hiding the preview. This may require
|
/external/chromium/chrome/browser/ui/gtk/ |
tab_contents_container_gtk.h | 41 void SetPreview(TabContentsWrapper* preview); 79 // traverse to the preview contents. 86 // unless there is a preview contents. 89 // The current preview contents (for instant). If non-NULL, it will be
|
/external/chromium/chrome/browser/ui/webui/ |
print_preview_ui.h | 21 // Notify the Web UI renderer that preview data is available.
|
/frameworks/base/media/java/android/media/videoeditor/ |
Effect.java | 91 * Set the duration of the effect. If a preview or export is in progress, 92 * then this change is effective for next preview or export session. 123 * Set start time of the effect. If a preview or export is in progress, then 124 * this change is effective for next preview or export session.
|
/packages/apps/Camera/src/com/android/camera/ |
PreviewFrameLayout.java | 31 * A layout which handles the preview aspect ratio. 37 /** A callback to be invoked when the preview frame's size changes. */ 94 // Resize the preview frame with correct aspect ratio. 119 // Ask children to follow the new preview dimension.
|
/packages/apps/Gallery2/src/com/android/camera/ |
PreviewFrameLayout.java | 32 * A layout which handles the preview aspect ratio. 38 /** A callback to be invoked when the preview frame's size changes. */ 86 // Resize the preview frame with correct aspect ratio. 111 // Ask children to follow the new preview dimension.
|
/packages/apps/Protips/res/xml/ |
widget_build.xml | 21 android:previewImage="@drawable/preview"
|