Searched refs:picture (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_Picture.cpp37 Picture* picture = NULL; local
40 picture = Picture::CreateFromStream(strm);
43 return reinterpret_cast<jlong>(picture);
47 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); local
48 SkASSERT(picture);
49 delete picture;
55 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); local
57 SkASSERT(picture);
58 picture->draw(canvas);
63 Picture* picture local
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DPictureDrawable.java27 * Drawable subclass that wraps a Picture, allowing the picture to be used
35 * Construct a new drawable referencing the specified picture. The picture
38 * @param picture The picture to associate with the drawable. May be null.
40 public PictureDrawable(Picture picture) { argument
41 mPicture = picture;
45 * Return the picture associated with the drawable. May be null.
47 * @return the picture associated with the drawable, or null.
54 * Associate a picture wit
58 setPicture(Picture picture) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java26 * drawing a sequence from a picture can be faster than the equivalent API
27 * calls, since the picture performs its playback without incurring any
37 * Creates an empty picture that is ready to record.
44 * Create a picture by making a copy of what has already been recorded in
46 * changes will not be reflected in this picture.
69 * To record a picture, call beginRecording() and then draw into the Canvas
83 * Call endRecording when the picture is built. After this call, the picture
96 * Get the width of the picture as passed to beginRecording. This
97 * does not reflect (per se) the content of the picture
208 drawPicture(Picture picture) argument
[all...]
H A DCanvas.java1896 * Save the canvas state, draw the picture, and restore the canvas state.
1897 * This differs from picture.draw(canvas), which does not perform any
1901 * <strong>Note:</strong> This forces the picture to internally call
1904 * @param picture The picture to be drawn
1906 public void drawPicture(@NonNull Picture picture) { argument
1907 picture.endRecording();
1909 picture.draw(this);
1914 * Draw the picture, stretched to fit into the dst rectangle.
1916 public void drawPicture(@NonNull Picture picture, argument
1929 drawPicture(@onNull Picture picture, @NonNull Rect dst) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailItemView.java89 public void bind(String name, Bitmap picture) { argument
91 mAvatar.setBitmap(picture);
94 public void bind(String name, Drawable picture) { argument
96 mAvatar.setDrawable(picture);
H A DUserDetailView.java73 if (item.picture == null) {
76 v.bind(name, item.picture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java115 * @param forcePictureLoadForId forces the picture of the given user to be reloaded.
125 || r.info.id == forcePictureLoadForId || r.picture == null) {
128 bitmaps.put(r.info.id, r.picture);
150 guestRecord = new UserRecord(info, null /* picture */,
154 Bitmap picture = bitmaps.get(info.id);
155 if (picture == null) {
156 picture = mUserManager.getUserIcon(info.id);
158 if (picture != null) {
159 picture = BitmapHelper.createCircularClip(
160 picture, avatarSiz
435 public final Bitmap picture; field in class:UserSwitcherController.UserRecord
442 UserRecord(UserInfo info, Bitmap picture, boolean isGuest, boolean isCurrent, boolean isAddUser, boolean isRestricted) argument
[all...]
H A DKeyguardUserSwitcher.java257 if (item.picture == null) {
260 v.bind(name, item.picture);
H A DUserInfoController.java202 public void onUserInfoChanged(String name, Drawable picture); argument
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
H A DAutoFocusStateMachine.java200 * Lock the lens from moving. Typically used before taking a picture.
240 * Unlock the lens, allowing it to move again. Typically used after taking a picture.
325 * the lens before taking a picture. Once a picture is taken, use {@link #unlockAutoFocus}
332 * @param picture True for still capture AF, false for video AF.
334 public synchronized void setPassiveAutoFocus(boolean picture, argument
336 if (VERBOSE_LOGGING) Log.v(TAG, "setPassiveAutoFocus - picture " + picture);
338 if (picture) {
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
H A DCameraTooTest.java180 File picture = newFiles.iterator().next();
181 FileInputStream istream = new FileInputStream(picture);
187 assertTrue(picture.delete());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardStatusBarView.java147 public void onUserInfoChanged(String name, Drawable picture) {
148 mMultiUserAvatar.setImageDrawable(picture);
H A DStatusBarHeaderView.java487 public void onUserInfoChanged(String name, Drawable picture) {
488 mMultiUserAvatar.setImageDrawable(picture);
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewContentsClientAdapter.java397 public void onNewPicture(Picture picture) { argument
401 mPictureListener.onNewPicture(mWebView, picture);
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp362 const FLAC__StreamMetadata_Picture *p = &metadata->data.picture;
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java809 public void drawPicture(Picture picture) { argument
810 picture.endRecording();
/frameworks/base/core/java/android/webkit/
H A DWebView.java337 * Used to provide notification that the WebView's picture has changed.
338 * See {@link WebView#capturePicture} for details of the picture.
340 * @param view the WebView that owns the picture
341 * @param picture the new picture. Applications targeting
347 public void onNewPicture(WebView view, Picture picture); argument
777 * @param dest the file to store the serialized picture data. Will be
778 * overwritten with this WebView's picture data.
779 * @return true if the picture was successfully saved
796 * @param src the file where the picture dat
[all...]

Completed in 2557 milliseconds