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
203 drawPicture(Picture picture) argument
[all...]
H A DCanvas.java1913 * Save the canvas state, draw the picture, and restore the canvas state.
1914 * This differs from picture.draw(canvas), which does not perform any
1918 * <strong>Note:</strong> This forces the picture to internally call
1921 * @param picture The picture to be drawn
1923 public void drawPicture(@NonNull Picture picture) { argument
1924 picture.endRecording();
1926 picture.draw(this);
1931 * Draw the picture, stretched to fit into the dst rectangle.
1933 public void drawPicture(@NonNull Picture picture, argument
1946 drawPicture(@onNull Picture picture, @NonNull Rect dst) argument
[all...]
/frameworks/webview/chromium/plat_support/
H A Ddraw_sw.h48 typedef jobject (AwCreatePictureFunction)(JNIEnv* env, SkPicture* picture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailItemView.java88 public void bind(String name, Bitmap picture) { argument
90 mAvatar.setBitmap(picture);
93 public void bind(String name, Drawable picture) { argument
95 mAvatar.setDrawable(picture);
H A DUserDetailView.java74 if (item.picture == null) {
77 v.bind(name, item.picture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserSwitcherController.java136 * @param forcePictureLoadForId forces the picture of the given user to be reloaded.
153 if (r == null || r.picture == null ||
157 bitmaps.put(r.info.id, r.picture);
180 guestRecord = new UserRecord(info, null /* picture */,
184 Bitmap picture = bitmaps.get(info.id);
185 if (picture == null) {
186 picture = mUserManager.getUserIcon(info.id);
188 if (picture != null) {
189 picture = BitmapHelper.createCircularClip(
190 picture, avatarSiz
520 public final Bitmap picture; field in class:UserSwitcherController.UserRecord
527 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.java151 public void onUserInfoChanged(String name, Drawable picture) {
152 mMultiUserAvatar.setImageDrawable(picture);
H A DStatusBarHeaderView.java502 public void onUserInfoChanged(String name, Drawable picture) {
503 mMultiUserAvatar.setImageDrawable(picture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java149 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig());
151 c.setBitmap(picture);
183 .bigPicture(picture.createAshmemBitmap());
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp362 const FLAC__StreamMetadata_Picture *p = &metadata->data.picture;
/frameworks/base/core/java/android/webkit/
H A DWebView.java390 * Used to provide notification that the WebView's picture has changed.
391 * See {@link WebView#capturePicture} for details of the picture.
393 * @param view the WebView that owns the picture
394 * @param picture the new picture. Applications targeting
400 public void onNewPicture(WebView view, Picture picture); argument
825 * @param dest the file to store the serialized picture data. Will be
826 * overwritten with this WebView's picture data.
827 * @return true if the picture was successfully saved
843 * @param src the file where the picture dat
[all...]

Completed in 523 milliseconds