/frameworks/base/core/jni/ |
H A D | android_graphics_Picture.cpp | 35 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 D | PictureDrawable.java | 27 * 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 D | UserInfoController.java | 26 public void onUserInfoChanged(String name, Drawable picture, String userAccount); argument
|
H A D | UserSwitcherController.java | 166 * @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 D | KeyguardUserSwitcher.java | 279 if (item.picture == null) { 282 v.bind(name, item.picture, item.info.id);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Picture.java | 26 * 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 D | Canvas.java | 1137 * 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 D | draw_sw.h | 48 typedef jobject (AwCreatePictureFunction)(JNIEnv* env, SkPicture* picture);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailItemView.java | 93 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 D | UserDetailView.java | 83 if (item.picture == null) { 86 v.bind(name, item.picture, item.info.id);
|
H A D | UserTile.java | 104 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument 105 mLastUpdate = new Pair<>(name, picture);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaCanvasTests.cpp | 51 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 D | CarQSFooter.java | 93 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument 94 mMultiUserAvatar.setImageDrawable(picture);
|
/frameworks/base/core/java/android/view/ |
H A D | RecordingCanvas.java | 288 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 D | QSFooterImpl.java | 405 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 D | AutoFocusStateMachine.java | 200 * 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 D | NopCanvas.java | 297 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 D | CameraTooTest.java | 180 File picture = newFiles.iterator().next(); 181 FileInputStream istream = new FileInputStream(picture); 187 assertTrue(picture.delete());
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 226 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 D | LockIcon.java | 86 public void onUserInfoChanged(String name, Drawable picture, String userAccount) { argument 87 mUserAvatarIcon = picture;
|
H A D | KeyguardStatusBarView.java | 235 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 D | UserGridView.java | 310 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 D | PipMediaController.java | 128 userInfoController.addCallback((String name, Drawable picture, String userAccount) ->
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 165 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig()); 167 c.setBitmap(picture); 190 .bigPicture(picture.createAshmemBitmap());
|
/frameworks/av/media/libstagefright/ |
H A D | FLACExtractor.cpp | 366 const FLAC__StreamMetadata_Picture *p = &metadata->data.picture;
|