/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/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 | 1924 * Save the canvas state, draw the picture, and restore the canvas state. 1925 * This differs from picture.draw(canvas), which does not perform any 1929 * <strong>Note:</strong> This forces the picture to internally call 1932 * @param picture The picture to be drawn 1934 public void drawPicture(@NonNull Picture picture) { argument 1935 picture.endRecording(); 1937 picture.draw(this); 1942 * Draw the picture, stretched to fit into the dst rectangle. 1944 public void drawPicture(@NonNull Picture picture, argument 1957 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/libs/hwui/tests/unit/ |
H A D | SkiaCanvasTests.cpp | 48 SkAutoTUnref<const SkPicture> picture(recorder.endRecording()); 50 canvas.asSkCanvas()->drawPicture(picture);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | UserDetailItemView.java | 91 public void bind(String name, Bitmap picture, int userId) { argument 93 mAvatar.setAvatarWithBadge(picture, userId); 96 public void bind(String name, Drawable picture, int userId) { argument 98 mAvatar.setDrawableWithBadge(picture, userId);
|
H A D | UserTile.java | 99 public void onUserInfoChanged(String name, Drawable picture) { argument 100 mLastUpdate = new Pair<>(name, picture);
|
H A D | UserDetailView.java | 78 if (item.picture == null) { 81 v.bind(name, item.picture, item.info.id);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | UserSwitcherController.java | 159 * @param forcePictureLoadForId forces the picture of the given user to be reloaded. 177 if (r == null || r.picture == null || r.info == null || forceAllUsers 181 bitmaps.put(r.info.id, r.picture); 211 guestRecord = new UserRecord(info, null /* picture */, 215 Bitmap picture = bitmaps.get(info.id); 216 if (picture == null) { 217 picture = mUserManager.getUserIcon(info.id); 219 if (picture != null) { 222 picture = Bitmap.createScaledBitmap( 223 picture, avatarSiz 714 public final Bitmap picture; field in class:UserSwitcherController.UserRecord 724 UserRecord(UserInfo info, Bitmap picture, boolean isGuest, boolean isCurrent, boolean isAddUser, boolean isRestricted, boolean isSwitchToEnabled) argument [all...] |
H A D | KeyguardUserSwitcher.java | 275 if (item.picture == null) { 278 v.bind(name, item.picture, item.info.id);
|
H A D | UserInfoController.java | 203 public void onUserInfoChanged(String name, Drawable picture); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | UserGridView.java | 153 if (record == null || record.picture == null) { 156 iconView.setImageBitmap(record.picture);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 293 public void drawPicture(Picture picture) { argument 297 public void drawPicture(Picture picture, RectF dst) { argument 301 public void drawPicture(Picture picture, Rect dst) { argument
|
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardStatusBarView.java | 219 public void onUserInfoChanged(String name, Drawable picture) { 220 mMultiUserAvatar.setImageDrawable(picture);
|
H A D | QuickStatusBarHeader.java | 387 public void onUserInfoChanged(String name, Drawable picture) { argument 388 mMultiUserAvatar.setImageDrawable(picture);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | GlobalScreenshot.java | 151 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig()); 153 c.setBitmap(picture); 176 .bigPicture(picture.createAshmemBitmap());
|
/frameworks/av/media/libstagefright/ |
H A D | FLACExtractor.cpp | 362 const FLAC__StreamMetadata_Picture *p = &metadata->data.picture;
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 420 * Used to provide notification that the WebView's picture has changed. 421 * See {@link WebView#capturePicture} for details of the picture. 423 * @param view the WebView that owns the picture 424 * @param picture the new picture. Applications targeting 430 public void onNewPicture(WebView view, Picture picture); argument 855 * @param dest the file to store the serialized picture data. Will be 856 * overwritten with this WebView's picture data. 857 * @return true if the picture was successfully saved 873 * @param src the file where the picture dat [all...] |