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

12

/frameworks/base/core/jni/
H A Dandroid_graphics_Picture.cpp35 Picture* picture = NULL; local
38 picture = Picture::CreateFromStream(strm);
41 return reinterpret_cast<jlong>(picture);
45 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); local
46 SkASSERT(picture);
47 delete picture;
53 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); local
55 SkASSERT(picture);
56 picture->draw(canvas);
61 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DUserInfoController.java26 public void onUserInfoChanged(String name, Drawable picture, String userAccount); argument
H A DUserSwitcherController.java166 * @param forcePictureLoadForId forces the picture of the given user to be reloaded.
184 if (r == null || r.picture == null || r.info == null || forceAllUsers
188 bitmaps.put(r.info.id, r.picture);
218 guestRecord = new UserRecord(info, null /* picture */,
222 Bitmap picture = bitmaps.get(info.id);
223 if (picture == null) {
224 picture = mUserManager.getUserIcon(info.id);
226 if (picture != null) {
229 picture = Bitmap.createScaledBitmap(
230 picture, avatarSiz
782 public final Bitmap picture; field in class:UserSwitcherController.UserRecord
792 UserRecord(UserInfo info, Bitmap picture, boolean isGuest, boolean isCurrent, boolean isAddUser, boolean isRestricted, boolean isSwitchToEnabled) argument
[all...]
H A DKeyguardUserSwitcher.java279 if (item.picture == null) {
282 v.bind(name, item.picture, item.info.id);
/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
30 * <p class="note"><strong>Note:</strong> Prior to API level 23 a picture cannot
40 * Creates an empty picture that is ready to record.
47 * Create a picture by making a copy of what has already been recorded in
49 * changes will not be reflected in this picture.
73 * To record a picture, call beginRecording() and then draw into the Canvas
87 * Call endRecording when the picture is built. After this call, the picture
100 * Get the width of the picture a
199 drawPicture(Picture picture) argument
[all...]
H A DCanvas.java1137 * Save the canvas state, draw the picture, and restore the canvas state.
1138 * This differs from picture.draw(canvas), which does not perform any
1142 * <strong>Note:</strong> This forces the picture to internally call
1145 * @param picture The picture to be drawn
1147 public void drawPicture(@NonNull Picture picture) { argument
1148 picture.endRecording();
1150 picture.draw(this);
1155 * Draw the picture, stretched to fit into the dst rectangle.
1157 public void drawPicture(@NonNull Picture picture, argument
1170 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.java93 public void bind(String name, Bitmap picture, int userId) { argument
95 mAvatar.setAvatarWithBadge(picture, userId);
98 public void bind(String name, Drawable picture, int userId) { argument
100 mAvatar.setDrawableWithBadge(picture, userId);
H A DUserDetailView.java83 if (item.picture == null) {
86 v.bind(name, item.picture, item.info.id);
H A DUserTile.java104 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument
105 mLastUpdate = new Pair<>(name, picture);
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaCanvasTests.cpp51 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
53 canvas.asSkCanvas()->drawPicture(picture);
119 // Test picture recording. We will kDefer the xform at recording time, but handle it when
125 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture(); local
128 deferCanvas.asSkCanvas()->drawPicture(picture);
132 canvas.asSkCanvas()->drawPicture(picture);
155 // Create a picture canvas.
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/car/
H A DCarQSFooter.java93 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument
94 mMultiUserAvatar.setImageDrawable(picture);
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java288 public final void drawPicture(@NonNull Picture picture) { argument
289 picture.endRecording();
291 picture.draw(this);
296 public final void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { argument
299 if (picture.getWidth() > 0 && picture.getHeight() > 0) {
300 scale((float) dst.width() / picture.getWidth(),
301 (float) dst.height() / picture.getHeight());
303 drawPicture(picture);
308 public final void drawPicture(@NonNull Picture picture, argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSFooterImpl.java405 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument
406 if (picture != null &&
408 picture = picture.getConstantState().newDrawable().mutate();
409 picture.setColorFilter(
413 mMultiUserAvatar.setImageDrawable(picture);
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java297 public void drawPicture(Picture picture) { argument
301 public void drawPicture(Picture picture, RectF dst) { argument
305 public void drawPicture(Picture picture, Rect dst) { argument
/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/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp226 sk_sp<SkPicture> picture = recorder->finishRecordingAsPicture(); local
227 if (picture->approximateOpCount() > 0) {
231 picture->serialize(&stream, &serializer);
236 surface->getCanvas()->drawPicture(picture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockIcon.java86 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument
87 mUserAvatarIcon = picture;
H A DKeyguardStatusBarView.java235 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument
236 mMultiUserAvatar.setImageDrawable(picture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DUserGridView.java310 if (record == null || (record.picture == null && !record.isAddUser)) {
317 iconView.setImageBitmap(record.picture);
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipMediaController.java128 userInfoController.addCallback((String name, Drawable picture, String userAccount) ->
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java165 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig());
167 c.setBitmap(picture);
190 .bigPicture(picture.createAshmemBitmap());
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp366 const FLAC__StreamMetadata_Picture *p = &metadata->data.picture;

Completed in 537 milliseconds

12