/frameworks/base/libs/hwui/jni/ |
D | android_graphics_Picture.cpp | 35 Picture* picture = NULL; in android_graphics_Picture_deserialize() local 38 picture = Picture::CreateFromStream(strm); in android_graphics_Picture_deserialize() 41 return reinterpret_cast<jlong>(picture); in android_graphics_Picture_deserialize() 45 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_killPicture() local 46 SkASSERT(picture); in android_graphics_Picture_killPicture() 47 delete picture; in android_graphics_Picture_killPicture() 53 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_draw() local 55 SkASSERT(picture); in android_graphics_Picture_draw() 56 picture->draw(canvas); in android_graphics_Picture_draw() 61 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_serialize() local [all …]
|
D | AnimatedImageDrawable.cpp | 82 sk_sp<SkPicture> picture; in AnimatedImageDrawable_nCreate() local 93 picture = recorder.finishRecordingAsPicture(); in AnimatedImageDrawable_nCreate() 94 bytesUsed += picture->approximateBytesUsed(); in AnimatedImageDrawable_nCreate() 100 std::move(picture)); in AnimatedImageDrawable_nCreate()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BaseUserSwitcherAdapterTest.kt | 60 picture = mock(), in <lambda>() 66 picture = mock(), in <lambda>() 72 picture = null, in <lambda>() 110 picture = mock(), in <lambda>() 117 picture = mock(), in <lambda>() 124 picture = null, in <lambda>() 141 picture = mock(), in <lambda>() 148 picture = mock(), in <lambda>() 155 picture = null, in <lambda>() 192 picture = mock(), in <lambda>() [all …]
|
D | KeyguardUserSwitcherAdapterTest.kt | 65 private lateinit var picture: Bitmap variable in com.android.systemui.statusbar.policy.KeyguardUserSwitcherAdapterTest 79 picture = UserIcons.convertToBitmap(mContext.getDrawable(R.drawable.ic_avatar_user)) in setUp() 190 picture,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/ |
D | LegacyUserDataHelper.kt | 43 picture: Bitmap?, in createRecord() 51 picture = in createRecord() 56 picture = picture, in createRecord() 132 picture: Bitmap?, in getPicture() 138 if (picture != null) { in getPicture() 139 return picture in getPicture()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PictureCaptureDemo.java | 62 Picture picture = new Picture(); in onCreate() local 63 Canvas canvas = picture.beginRecording(100, 100); in onCreate() 69 picture.endRecording(); in onCreate() 72 iv1.setImageBitmap(Bitmap.createBitmap(picture, 100, 100, Bitmap.Config.ARGB_8888)); in onCreate() 78 iv2.setImageBitmap(Bitmap.createBitmap(picture, 100, 100, Bitmap.Config.HARDWARE)); in onCreate() 113 Picture picture = Picture.createFromStream( in onCreate() 116 if (canvas != null && picture != null) { in onCreate() 117 canvas.drawPicture(picture); in onCreate()
|
D | DrawIntoHwBitmapActivity.java | 39 Picture picture = new Picture(); in createBitmap() local 40 Canvas canvas = picture.beginRecording(500, 500); in createBitmap() 49 picture.endRecording(); in createBitmap() 50 return Bitmap.createBitmap(picture); in createBitmap()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | PictureDrawable.java | 40 public PictureDrawable(Picture picture) { in PictureDrawable() argument 41 mPicture = picture; in PictureDrawable() 58 public void setPicture(Picture picture) { in setPicture() argument 59 mPicture = picture; in setPicture()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 130 final Picture picture = new Picture(); in createDrawableBitmap() local 131 final Canvas canvas = picture.beginRecording(width, height); in createDrawableBitmap() 141 picture.endRecording(); in createDrawableBitmap() 142 return Bitmap.createBitmap(picture); in createDrawableBitmap() 183 final Picture picture = new Picture(); in createViewBitmap() local 184 final Canvas canvas = picture.beginRecording(bitmapWidth, bitmapHeight); in createViewBitmap() 187 picture.endRecording(); in createViewBitmap() 188 bitmap = Bitmap.createBitmap(picture); in createViewBitmap()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BitmapRenderer.java | 49 Picture picture = new Picture(); in createHardwareBitmap() local 50 renderer.draw(picture.beginRecording(width, height)); in createHardwareBitmap() 51 picture.endRecording(); in createHardwareBitmap() 52 return Bitmap.createBitmap(picture); in createHardwareBitmap()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
D | RecentsTransition.java | 109 final Picture picture = new Picture(); 110 final Canvas canvas = picture.beginRecording(width, height); 112 picture.endRecording(); 113 return Bitmap.createBitmap(picture);
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/ |
D | FakeUserInfoController.kt | 36 listener.onUserInfoChanged(fakeInfo.name, fakeInfo.picture, fakeInfo.userAccount) in <lambda>() 44 listener.onUserInfoChanged(fakeInfo.name, fakeInfo.picture, fakeInfo.userAccount) in <lambda>() 55 var picture: Drawable = mock(), in <lambda>() variable in com.android.systemui.statusbar.policy.FakeUserInfoController.FakeInfo
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailItemView.java | 90 public void bind(String name, Bitmap picture, int userId) { in bind() argument 92 mAvatar.setAvatarWithBadge(picture, userId); in bind() 95 public void bind(String name, Drawable picture, int userId) { in bind() argument 97 mAvatar.setDrawableWithBadge(picture, userId); in bind()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Picture.java | 262 public void drawPicture(Picture picture) { in drawPicture() argument 263 if (mPicture == picture) { in drawPicture() 266 super.drawPicture(picture); in drawPicture()
|
D | BaseRecordingCanvas.java | 297 public final void drawPicture(@NonNull Picture picture) { in drawPicture() argument 298 picture.endRecording(); in drawPicture() 300 picture.draw(this); in drawPicture() 305 public final void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture() argument 308 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() 309 scale((float) dst.width() / picture.getWidth(), in drawPicture() 310 (float) dst.height() / picture.getHeight()); in drawPicture() 312 drawPicture(picture); in drawPicture() 317 public final void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture() argument 320 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() [all …]
|
D | Canvas.java | 1304 public void drawPicture(@NonNull Picture picture) { in drawPicture() argument 1305 picture.endRecording(); in drawPicture() 1307 picture.draw(this); in drawPicture() 1314 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture() argument 1317 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() 1318 scale(dst.width() / picture.getWidth(), dst.height() / picture.getHeight()); in drawPicture() 1320 drawPicture(picture); in drawPicture() 1327 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture() argument 1330 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture() 1331 scale((float) dst.width() / picture.getWidth(), in drawPicture() [all …]
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/ |
D | AutoFocusStateMachine.java | 334 public synchronized void setPassiveAutoFocus(boolean picture, in setPassiveAutoFocus() argument 336 if (VERBOSE_LOGGING) Log.v(TAG, "setPassiveAutoFocus - picture " + picture); in setPassiveAutoFocus() 338 if (picture) { in setPassiveAutoFocus()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | SkiaCanvasTests.cpp | 78 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture(); in TEST() local 81 canvas.drawPicture(*picture); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserInfoController.java | 26 public void onUserInfoChanged(String name, Drawable picture, String userAccount); in onUserInfoChanged() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/footer/ui/viewmodel/ |
D | FooterActionsViewModelTest.kt | 120 val picture: Drawable = mock() in <lambda>() constant 121 val userInfoController = FakeUserInfoController(FakeInfo(picture = picture)) in <lambda>() 172 .isEqualTo(Icon.Loaded(picture, ContentDescription.Loaded("Signed in as foo"))) in <lambda>() 195 userInfoController.updateInfo { this.picture = mock<UserIconDrawable>() } in <lambda>()
|
/frameworks/base/native/webview/plat_support/ |
D | draw_sw.h | 48 typedef jobject (AwCreatePictureFunction)(JNIEnv* env, SkPicture* picture);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 297 public void drawPicture(Picture picture) { in drawPicture() argument 301 public void drawPicture(Picture picture, RectF dst) { in drawPicture() argument 305 public void drawPicture(Picture picture, Rect dst) { in drawPicture() argument
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
D | CameraTooTest.java | 180 File picture = newFiles.iterator().next(); in capturedImageSaver() local 181 FileInputStream istream = new FileInputStream(picture); in capturedImageSaver() 187 assertTrue(picture.delete()); in capturedImageSaver()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/footer/data/repository/ |
D | UserSwitcherRepository.kt | 113 UserInfoController.OnUserInfoChangedListener { _, picture, _ -> in <lambda>() method 114 launch { trySendWithFailureLogging(picture to isGuestUser(), TAG) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/source/ |
D | UserRecord.kt | 29 @JvmField val picture: Bitmap? = null, constant in com.android.systemui.user.data.source.UserRecord
|