/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
AndroidCamera2Settings.java | 52 /** Bounds of visible preview portion (measured WRT the active array). */ 72 * @param preview Dimensions of preview streams. 80 Size preview, Size photo) throws CameraAccessException { 99 setPreviewSize(preview); 302 // We're also going from preview image--relative to sensor active array--relative. 543 * Calculate the effective crop rectangle for this preview viewport; 544 * assumes the preview is centered to the sensor and scaled to fit across one of the dimensions 550 * @param previewSize Size of the preview buffer render target, in pixels (not in sensor space). 551 * @return A rectangle that serves as the preview stream's effective crop region (unzoomed), i [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
VideoModule.java | 130 // Preference must be read before starting preview. We check this before starting 131 // preview. 168 boolean mPreviewing = false; // True if preview is started. 254 // Restart the preview if display rotation has changed. 347 * To reduce startup time, we start the preview in another thread. 348 * We make sure the preview is started at the end of onCreate. 670 // for preview during recording. When the recording is done, we switch 671 // back to use SurfaceTexture for preview and we need to stop then start 672 // the preview. This will cause the preview flicker since the previe [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/v1/ |
CameraOps.java | 216 * Set up SurfaceView dimensions for camera preview 237 Log.i(TAG, "Set preview size to " + sz.toString()); 241 throw new ApiFailureException("Error setting up minimal preview", e); 247 * Update current preview with user-specified control inputs. 275 Log.e(TAG, "Update camera preview failed"); 330 * Configure streams and run minimal preview 338 throw new ApiFailureException("Preview surface is not created"); 353 throw new ApiFailureException("Error setting up minimal preview", e); 439 // TODO: For preview, create preview stream class, and do the same thing like recording [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
LinearLayoutRuleTest.java | 75 // as well as a single vertical line as a drop preview located 312 // Preview of the dropped rectangle 315 // Without drag bounds it should be identical except no preview 343 // Preview of the dropped rectangle 371 // Preview of the dropped rectangle 402 // Preview line along insert axis 405 // Preview of dropped rectangle 431 // Preview of the dropped rectangle 436 // Drag a button to the last position -- and confirm that the preview rectangle 459 // Drop Preview [all...] |
/frameworks/base/docs/html-intl/intl/ja/preview/testing/ |
performance.jd | 71 M Preview ???????????????????????????????????????????? logcat ??????? 98 M Preview ???gfxinfo ????????????<em>framestats</em> ?????????????????? ????????????????????????????????????????????????????? 337 <img src="{@docRoot}preview/images/perf-test-framestats.png"> 357 <img src="{@docRoot}preview/images/perf-test-frame-latency.png"> 439 Android M Developer Preview ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
|
/frameworks/base/docs/html-intl/intl/ru/preview/testing/ |
performance.jd | 71 ? M Preview ??? ??????? ????????? ? logcat ?????????????? ?????? ?????? ? ??????, ?????????? 98 ? M Preview ???????????? ????? ??????? ??? gfxinfo ? <em>framestats</em>. ??? ????????? ???????? 337 <img src="{@docRoot}preview/images/perf-test-framestats.png"> 357 <img src="{@docRoot}preview/images/perf-test-frame-latency.png"> 439 ???????????? ??????????, ? ???????????????? ??. ? ?????? Android M Developer Preview ?????? ????? ??????? ??????? ????????, ??????? ????????? ? ?????????
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ListViewTypeMenu.java | 42 * "Preview List Content" context menu which lists available data types and layouts 54 * Creates a "Preview List Content" menu 61 super(isGrid ? "Preview Grid Content" : isSpinner ? "Preview Spinner Layout" 62 : "Preview List Content");
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 193 mPreviewView = (SurfaceView) findViewById(R.id.preview); 431 logE("Unable to set up preview!"); 484 /** UI controls enable/disable for all preview-only controls */ 532 log("Stopping preview and callbacks to switch resolutions"); 542 log("Setting preview size to " + width + "x" + height); 548 log("Restarting preview"); 568 log("Setting preview frame rate to " + ((TextView)view).getText()); 584 logE("Can't change preview state while taking picture!"); 604 logE("Can't change preview state while taking picture!"); 608 log("Starting preview"); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
MainKeyboardView.java | 141 // Drawing preview placer view 148 // Key preview 162 // Gesture floating preview text 391 // Remove any pending messages, except dismissing preview and key repeat. 414 * Enables or disables the key preview popup. This is a popup that shows a magnified 415 * version of the depressed key. By default the preview is enabled. 416 * @param previewEnabled whether or not to enable the key feedback preview 417 * @param delay the delay after which the preview is dismissed 424 * Enables or disables the key preview popup animations and set animations' parameters. 426 * @param hasCustomAnimationParams false to use the default key preview popup animation [all...] |
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/ |
Camera2RawFragment.java | 155 * Camera state: Showing camera preview. 168 * but the orientation of the has changed, and thus the preview rotation must be updated. 204 * An {@link AutoFitTextureView} for camera preview. 242 * A {@link CameraCaptureSession } for camera preview. 252 * The {@link Size} of camera preview. 301 * {@link CaptureRequest.Builder} for the camera preview 328 // This method is called when the camera is opened. We start camera preview here if 335 // Start the preview session if the TextureView has been set up already. 398 * A {@link CameraCaptureSession.CaptureCallback} that handles events for the preview and 408 // We have nothing to do when the camera preview is running normally [all...] |
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/ |
Camera2RawFragment.java | 155 * Camera state: Showing camera preview. 168 * but the orientation of the has changed, and thus the preview rotation must be updated. 204 * An {@link AutoFitTextureView} for camera preview. 242 * A {@link CameraCaptureSession } for camera preview. 252 * The {@link Size} of camera preview. 301 * {@link CaptureRequest.Builder} for the camera preview 328 // This method is called when the camera is opened. We start camera preview here if 335 // Start the preview session if the TextureView has been set up already. 398 * A {@link CameraCaptureSession.CaptureCallback} that handles events for the preview and 408 // We have nothing to do when the camera preview is running normally [all...] |
/frameworks/base/docs/html-intl/intl/pt-br/preview/ |
api-overview.jd | 2 page.keywords=preview,sdk,compatibility 48 <li><a href="{@docRoot}preview/download.html">API de nível 22 para M Preview »</a> </li> 54 <p>O M Developer Preview fornece uma visualização avançada no próximo lançamento 58 <p>O M Developer Preview foi feito para <strong>novos desenvolvedores 61 <a href="{@docRoot}preview/setup-sdk.html">experimente o M Developer 62 Preview</a> e envie-nos feedback!</p> 65 que usam o M Developer Preview na Google Play Store.</p> 70 documentação de API preliminar destes elementos, faça o download da <a href="{@docRoot}preview/download.html#docs">referência da prévia</a>.</p> 84 <a href="{@docRoot}preview/features/app-linking.html">vínculo de aplicativo</a> [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
CameraVideoActivity.java | 163 // Step 5: set preview output 164 // This is not necessary since preview has been taken care of 325 // Invoked every time there's a new Camera preview frame 358 Log.v(TAG, "onItemSelected: setting preview size " 364 Log.v(TAG, "onItemSelected: started new preview"); 539 // Match preview size with current recording size mCurrentVideoSizeId 573 // Last resort, just use the first preview size 604 // Get preview resolutions 676 // Start up preview if display is ready 732 Log.e(TAG, "preview texture is null.") [all...] |
/frameworks/av/media/libstagefright/ |
CameraSource.cpp | 254 * If the preview and video output is separate, we only set the 255 * the video size, and applications should set the preview size 257 * change the preview size; otherwise, if the video and preview 258 * output is the same, we need to set the preview to be the same 397 // The actual video size is the same as the preview size 399 // preview output. In this case, we retrieve the video 400 // size from preview. 406 // video size is the same as preview size 409 // video size may not be the same as preview [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
RemotePrintDocument.java | 188 public boolean update(PrintAttributes attributes, PageRange[] pages, boolean preview) { 204 if (!mUpdateSpec.hasSameConstraints(attributes, preview)) { 218 mDocumentInfo, oldAttributes, attributes, preview, mCommandResultCallback); 250 mUpdateSpec.update(attributes, preview, pages); 483 boolean preview; field in class:RemotePrintDocument.UpdateSpec 486 public void update(PrintAttributes attributes, boolean preview, 489 this.preview = preview; 495 preview = false; 499 public boolean hasSameConstraints(PrintAttributes attributes, boolean preview) { [all...] |
/hardware/ti/omap4-aah/camera/ |
ANativeWindowDisplayAdapter.cpp | 62 CAMHAL_LOGEA("Preview format is NULL, defaulting to NV12"); 476 CAMHAL_LOGEA("Preview surface abandoned!"); 484 ///Set the number of buffers needed for camera preview 490 CAMHAL_LOGEA("Preview surface abandoned!"); 511 CAMHAL_LOGEA("Preview surface abandoned!"); 543 CAMHAL_LOGEA("Preview surface abandoned!"); 556 // Tag remaining preview buffers as preview frames 593 CAMHAL_LOGEA("Preview surface abandoned!"); 710 CAMHAL_LOGEA("Preview surface abandoned!") [all...] |
CameraHal.cpp | 174 @param[in] data_cb Buffer callback for sending the preview/raw frames to the app 237 CAMHAL_LOGDA("Preview currently paused...will enable preview callback when restarted"); 241 CAMHAL_LOGDA("Enabling Preview Callback"); 246 CAMHAL_LOGDB("Preview callback not enabled %x", msgType); 274 CAMHAL_LOGDA("Disabling Preview Callback"); 366 ///Ensure that preview is not enabled when the below parameters are changed. 374 CAMHAL_LOGEB("Invalid preview format: %s. Supported: %s", valstr, 476 CAMHAL_LOGDB("Stereo 3D preview image layout is %s", valstr); 503 CAMHAL_LOGEA("Unable to get preview size") [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
RequestThreadManager.java | 105 private final FpsCounter mPrevCounter = new FpsCounter("Incoming Preview"); 176 * Fake preview for jpeg captures when there is no active preview 272 Log.v(TAG, "stopPreview - preview running? " + mPreviewRunning); 282 Log.v(TAG, "startPreview - preview running? " + mPreviewRunning); 292 if (DEBUG) Log.d(TAG, "doJpegCapturePrepare - preview running? " + mPreviewRunning); 312 Log.v(TAG, "doPreviewCapture - preview running? " + mPreviewRunning); 321 "Preview capture called with no preview surfaces configured."); 347 * Try to release the previous preview's surface texture earlier if we end u [all...] |
/build/tools/droiddoc/templates-pdk/ |
sdkpage.cs | 215 <?cs if:sdk.preview ?><?cs # it's preview offline docs ?> 216 <p>Welcome developers! We are pleased to provide you with a preview SDK for the upcoming 221 href="<?cs var:toroot ?>sdk/preview/start.html">Getting Started</a> document for more information 222 about how to set up the preview SDK and get started.</p> 224 .non-preview { display:none; }
|
/device/generic/goldfish/camera/ |
EmulatedCamera.h | 168 * 0 if preview is disabled, != 0 if enabled. 265 * Preview management. 269 /* Starts preview. 272 * frames, but didn't create the preview window yet. 278 /* Stops preview. 371 /* Preview window. */
|
/hardware/libhardware/include/hardware/ |
camera.h | 93 // preview stream. They do not need to be comparable between 94 // consecutive or parallel preview streams, cameras, or app runs. 100 /** Set the ANativeWindow to which preview frames are sent */ 142 * Start preview mode. 147 * Stop a previously started preview. 152 * Returns true if preview is enabled.
|
/packages/apps/Camera2/src/com/android/camera/one/ |
OneCamera.java | 355 * Normalized coordinates are referenced to portrait preview window with (0, 390 * Starts a preview stream and renders it to the given surface. 392 * @param surface the surface on which to render preview frames 425 * Based on the selected picture size, this returns the best preview size. 429 * preview size might not match the aspect ratio of the given 432 * @return The preview size that best matches the picture aspect ratio that
|
/hardware/libhardware/tests/camera2/ |
CameraMultiStreamTests.cpp | 48 // This test intends to test large preview size but less than 1080p. 451 * 1. Preview stream, with large size that is no bigger than 1080p 466 * concurrently: one preview stream, 2 other YUV stream. 529 // Find the right sizes for preview, metering, and capture streams 568 // Cap preview size. 577 ALOGV("preview size: %dx%d, metering size: %dx%d, capture size: %dx%d", 583 // Preview stream: small resolution, render on the screen. 615 // Create Preview request. 621 // Start preview 667 // Sweep the exposure value for preview, just for visual inspection purpose [all...] |
/hardware/ti/omap4xxx/camera/ |
ANativeWindowDisplayAdapter.cpp | 66 CAMHAL_LOGEA("Preview format is NULL, defaulting to CbYCrY"); 104 CAMHAL_LOGEA("Preview format is NULL, defaulting to CbYCrY"); 132 CAMHAL_LOGEA("Preview format is NULL"); 546 CAMHAL_LOGEA("Preview surface abandoned!"); 554 ///Set the number of buffers needed for camera preview 560 CAMHAL_LOGEA("Preview surface abandoned!"); 581 CAMHAL_LOGEA("Preview surface abandoned!"); 613 CAMHAL_LOGEA("Preview surface abandoned!"); 654 CAMHAL_LOGEA("Preview surface abandoned!"); 775 CAMHAL_LOGEA("Preview surface abandoned!") [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
StillCaptureTest.java | 102 * Preview and and jpeg output streams are configured. Max still capture 104 * is: start preview, auto focus, precapture metering (if AE is not 155 * - Configuring the camera with a preview, jpeg, and raw output stream. 156 * - Running preview until AE/AF can settle. 181 * AF is in CAF mode when preview is started, test uses several pre-selected 209 * Test all combination of available preview sizes and still sizes. 218 Log.i(TAG, "Testing Still preview capture combination for Camera " + id); 340 * Test preview is still running after a still request 345 Log.i(TAG, "Testing preview persistence for Camera " + id); 384 * Start preview,take a picture and test preview is still running after snapsho [all...] |