/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AttachmentTileGrid.java | 243 for (AttachmentPreview preview : previews) { 244 mAttachmentPreviews.put(preview.attachmentIdentifier, preview); 250 * Save the preview for an attachment 253 public void set(Attachment attachment, Bitmap preview) { 257 attachmentIdentifier, new AttachmentPreview(attachment, preview)); 262 * Returns a saved preview that was previously set 271 return attachmentPreview.preview;
|
/packages/inputmethods/LatinIME/java/res/layout/ |
main_keyboard_frame.xml | 28 <!-- To ensure that key preview popup is correctly placed when the current system locale is 38 <!-- To ensure that key preview popup is correctly placed when the current system locale is
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourcePreviewHelper.java | 56 * The width of the preview rendering 58 * TODO: Make the preview rendering resize if the tray area is resized 61 /** The height of the preview rendering */ 88 * Updates the preview based on the current selection and resource type, possibly 162 AdtPlugin.log(e, "Can't read preview image %1$s", path); 176 // AdtPlugin.log(t, "Can't generate preview for %1$s", resource); 179 // preview, so just log a warning (unfortunately without the trace) instead. 180 AdtPlugin.log(IStatus.WARNING, "Can't generate preview for %1$s", resource);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraGLTest.java | 162 // preview callbacks in the queue after quit is called. The preview 174 /** The camera preview callback. Stops capture after the first callback */ 187 /** A simple SurfaceTexture listener callback, meant to be used together with the camera preview 194 // Assumes preview is stopped elsewhere 215 if (LOGV) Log.v(TAG, "SurfaceTextureBurstCallback stopping preview."); 217 if (LOGVV) Log.v(TAG, "SurfaceTextureBurstCallback preview stopped."); 239 /** Waits until the camera preview callback has fired */ 241 if (LOGVV) Log.v(TAG, "Wait for preview callback"); 336 /** Test Camera.setPreviewTexture in conjunction with the standard Camera preview callback * [all...] |
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 46 * @return Best match camera preview size to fit in the view. 57 // Start with max value and refine as we iterate over available preview sizes. This is the 64 // Try to find a preview size that matches aspect ratio and the target view size. 77 // Cannot find preview size that matches the aspect ratio, ignore the requirement
|
/developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 46 * @return Best match camera preview size to fit in the view. 57 // Start with max value and refine as we iterate over available preview sizes. This is the 64 // Try to find a preview size that matches aspect ratio and the target view size. 77 // Cannot find preview size that matches the aspect ratio, ignore the requirement
|
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
Camera2BasicFragment.java | 89 * Camera state: Showing camera preview. 144 * An {@link AutoFitTextureView} for camera preview. 149 * A {@link CameraCaptureSession } for camera preview. 159 * The {@link android.util.Size} of camera preview. 171 // This method is called when the camera is opened. We start camera preview here. 232 * {@link CaptureRequest.Builder} for the camera preview 262 // We have nothing to do when the camera preview is working normally. 357 // Collect the supported resolutions that are at least as big as the preview Surface 372 Log.e(TAG, "Couldn't find any suitable preview size"); 409 // a camera and start preview from here (otherwise, we wait until the surface is ready i [all...] |
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 46 * @return Best match camera preview size to fit in the view. 57 // Start with max value and refine as we iterate over available preview sizes. This is the 64 // Try to find a preview size that matches aspect ratio and the target view size. 77 // Cannot find preview size that matches the aspect ratio, ignore the requirement
|
/developers/samples/android/common/src/java/com/example/android/common/media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 46 * @return Best match camera preview size to fit in the view. 57 // Start with max value and refine as we iterate over available preview sizes. This is the 64 // Try to find a preview size that matches aspect ratio and the target view size. 77 // Cannot find preview size that matches the aspect ratio, ignore the requirement
|
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/ |
Camera2BasicFragment.java | 95 * Camera state: Showing camera preview. 153 * An {@link AutoFitTextureView} for camera preview. 158 * A {@link CameraCaptureSession } for camera preview. 168 * The {@link android.util.Size} of camera preview. 179 // This method is called when the camera is opened. We start camera preview here. 240 * {@link CaptureRequest.Builder} for the camera preview 270 // We have nothing to do when the camera preview is working normally. 358 // Collect the supported resolutions that are at least as big as the preview Surface 373 Log.e(TAG, "Couldn't find any suitable preview size"); 408 // a camera and start preview from here (otherwise, we wait until the surface is ready i [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 46 * @return Best match camera preview size to fit in the view. 57 // Start with max value and refine as we iterate over available preview sizes. This is the 64 // Try to find a preview size that matches aspect ratio and the target view size. 77 // Cannot find preview size that matches the aspect ratio, ignore the requirement
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 46 * @return Best match camera preview size to fit in the view. 57 // Start with max value and refine as we iterate over available preview sizes. This is the 64 // Try to find a preview size that matches aspect ratio and the target view size. 77 // Cannot find preview size that matches the aspect ratio, ignore the requirement
|
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/ |
Camera2BasicFragment.java | 89 * Camera state: Showing camera preview. 144 * An {@link AutoFitTextureView} for camera preview. 149 * A {@link CameraCaptureSession } for camera preview. 159 * The {@link android.util.Size} of camera preview. 171 // This method is called when the camera is opened. We start camera preview here. 232 * {@link CaptureRequest.Builder} for the camera preview 262 // We have nothing to do when the camera preview is working normally. 357 // Collect the supported resolutions that are at least as big as the preview Surface 372 Log.e(TAG, "Couldn't find any suitable preview size"); 409 // a camera and start preview from here (otherwise, we wait until the surface is ready i [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
CameraHelper.java | 39 * Iterate over supported camera preview sizes to see which one best fits the 43 * @param sizes Supported camera preview sizes. 46 * @return Best match camera preview size to fit in the view. 57 // Start with max value and refine as we iterate over available preview sizes. This is the 64 // Try to find a preview size that matches aspect ratio and the target view size. 77 // Cannot find preview size that matches the aspect ratio, ignore the requirement
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
StreamingProcessor.cpp | 118 ALOGE("%s: Camera %d: Unable to create default preview request: " 126 ALOGE("%s: Camera %d: Unable to update common entries of preview " 135 ALOGE("%s: Camera %d: Unable to update request id for preview: %s (%d)", 160 ALOGE("%s: Camera %d: Error querying preview stream info: " 166 ALOGV("%s: Camera %d: Preview size switch: %d x %d -> %d x %d", 171 ALOGE("%s: Camera %d: Error waiting for preview to drain: " 178 "for preview: %s (%d)", __FUNCTION__, mId, 192 ALOGE("%s: Camera %d: Unable to create preview stream: %s (%d)", 201 ALOGE("%s: Camera %d: Unable to set preview stream transform: " 227 ALOGE("%s: Error waiting for preview to drain: %s (%d)" [all...] |
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
StateStartingPreview.java | 45 * Represents a state that the module is waiting for the preview video stream 158 // Pick a preview size with the right aspect ratio. 175 // another way to get the correct preview size. 184 // before starting preview. Otherwise the size of preview video stream 201 // Start preview right away. Don't dispatch it on other threads or it
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureTrailsDrawingPreview.java | 33 * Draw preview graphics of multiple gesture trails during gesture input. 121 // Update preview. 126 * Draws the preview 127 * @param canvas The canvas where the preview is drawn. 153 * Set the position of the preview. 154 * @param tracker The new location of the preview is based on the points in PointerTracker.
|
KeyPreviewChoreographer.java | 39 // Free {@link KeyPreviewView} pool that can be used for key preview. 42 // preview. 87 // Dismiss preview without animation. 116 // The key preview is horizontally aligned with the center of the visible part of the 133 // The key preview is placed vertically above the top edge of the parent key with an 152 // Show preview with animation.
|
/frameworks/av/services/camera/libcameraservice/api1/ |
Camera2Client.cpp | 179 result.appendFormat(" Preview size: %d x %d\n", 181 result.appendFormat(" Preview FPS range: %d - %d\n", 183 result.appendFormat(" Preview HAL pixel format: 0x%x\n", 185 result.appendFormat(" Preview transform: %x\n", 342 result.appendFormat(" Preview stream ID: %d\n", 564 ALOGE("%s: Camera %d: Cannot set preview display while in state %s", 572 case Parameters::PREVIEW: 573 // Already running preview - need to stop and create a new stream 576 ALOGE("%s: Unable to stop preview to swap windows: %s (%d)", 587 ALOGE("%s: Unable to set new preview window: %s (%d)" [all...] |
CameraClient.cpp | 293 // If preview has been already started, register preview buffers now. 318 // set the buffer consumer that the preview will use 336 // set the preview callback flag to affect how the received frames from 337 // preview are handled. 358 // start preview mode 370 // start preview or recording 381 // still able to start preview in this case. 399 // if preview has been enabled, nothing needs to be done 425 // if preview has not been started, start preview firs [all...] |
/frameworks/base/docs/html-intl/intl/ko/preview/ |
api-overview.jd | 48 <li><a href="{@docRoot}preview/download.html">M ?? ??? ?? API ?? 22 »</a> </li> 59 Android ?????? ??? ??? ??? ??? ? ??? ?????, <a href="{@docRoot}preview/setup-sdk.html">M ??? ?? ??? ??? ???</a> ???? ?????! 69 ??? ??? ?? ?? API ?? ??? ??? ??, <a href="{@docRoot}preview/download.html#docs">?? ?? ??</a>? ???????. 81 ???? ? ?? ??? ??? ??? ? ??? ???? ? ??? ?? ?? ??? ? ?? ????? ?? ????? ???? ??? ? ????. ? ??? ???? ??? ????? <a href="{@docRoot}preview/features/app-linking.html">? ??</a>? ?????. 89 ? ??? ?? ??? ?? ????? ?? ?? ???? ??? ?? ????? <a href="{@docRoot}preview/backup/index.html">?? ?? ??</a>? ?????. 119 <img src="{@docRoot}preview/images/fingerprint-screen.png" srcset="{@docRoot}preview/images/fingerprint-screen.png 1x, {@docRoot}preview/images/fingerprint-screen_2x.png 2x" style="float:right; margin:0 0 10px 20px" width="282" height="476" /> 167 <img src="{@docRoot}preview/images/direct-share-screen.png" srcset="{@docRoot}preview/images/direct-share-screen.png 1x, {@docRoot}preview/images/direct-share-screen_2x.png 2x" style=" (…) [all...] |
/frameworks/base/docs/html-intl/intl/zh-cn/preview/ |
api-overview.jd | 48 <li><a href="{@docRoot}preview/download.html">API ?? 22 ? M ???»</a> </li> 59 ???????? Android ????????<a href="{@docRoot}preview/setup-sdk.html">???? M ??????</a>????????? 69 ??????????? API ??????<a href="{@docRoot}preview/download.html#docs">???????</a>? 81 ???????????????? Web ????????????????????????????????????????<a href="{@docRoot}preview/features/app-linking.html">????</a>? 89 ???????????????????????????????<a href="{@docRoot}preview/backup/index.html">??????</a>? 119 <img src="{@docRoot}preview/images/fingerprint-screen.png" srcset="{@docRoot}preview/images/fingerprint-screen.png 1x, {@docRoot}preview/images/fingerprint-screen_2x.png 2x" style="float:right; margin:0 0 10px 20px" width="282" height="476" /> 167 <img src="{@docRoot}preview/images/direct-share-screen.png" srcset="{@docRoot}preview/images/direct-share-screen.png 1x, {@docRoot}preview/images/direct-share-screen_2x.png 2x" style=" (…) [all...] |
/frameworks/base/docs/html-intl/intl/zh-tw/preview/ |
api-overview.jd | 48 <li><a href="{@docRoot}preview/download.html">API ?? 22 ? M ???»</a> </li> 59 ????????? Android ??????????<a href="{@docRoot}preview/setup-sdk.html">???? M ???????</a>???????????????? 69 ??????? API ????????<a href="{@docRoot}preview/download.html#docs">???????</a>? 81 ???????????????????? Web ?????????????????????????????????????????????<a href="{@docRoot}preview/features/app-linking.html">??????</a>? 89 ????????????????????????????????????<a href="{@docRoot}preview/backup/index.html">????????????</a>? 119 <img src="{@docRoot}preview/images/fingerprint-screen.png" srcset="{@docRoot}preview/images/fingerprint-screen.png 1x, {@docRoot}preview/images/fingerprint-screen_2x.png 2x" style="float:right; margin:0 0 10px 20px" width="282" height="476" /> 167 <img src="{@docRoot}preview/images/direct-share-screen.png" srcset="{@docRoot}preview/images/direct-share-screen.png 1x, {@docRoot}preview/images/direct-share-screen_2x.png 2x" style=" (…) [all...] |
/frameworks/base/docs/html/guide/topics/media/ |
camera.jd | 23 <li><a href="#camera-preview">Creating a preview class</a></li> 24 <li><a href="#preview-layout">Placing preview in a layout</a></li> 101 <dd>This class is used to present a live camera preview to the user.</dd> 369 <li><strong>Create a Preview Class</strong> - Create a camera preview class that extends {@link 372 <li><strong>Build a Preview Layout</strong> - Once you have the camera preview class, create a 373 view layout that incorporates the preview and the user interface controls you want.</li [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
CameraAppUI.java | 80 * swipe gestures that happen on the preview by attaching a touch listener to 81 * a full-screen view on top of preview TextureView. Since CameraAppUI has knowledge 512 * Preview down-sample rate when taking a screenshot. 574 * Provides current preview frame and the controls/overlay from the module that 575 * are shown on top of the preview. 579 * Returns the current preview frame down-sampled using the given down-sample 583 * preview frame. (e.g. a down sample factor of 584 * 2 means to scale down the preview frame to 1/2 586 * @return down-sampled preview frame 592 * the preview drawn into a bitmap with no scaling applied [all...] |