Home
last modified time | relevance | path

Searched refs:createFrom (Results 1 – 25 of 25) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestUtils.h40 static std::unique_ptr<TestAshmem> createFrom(const test_helper::TestBuffer& buffer) { in createFrom() function
41 return createFrom(buffer.get<void>(), buffer.size()); in createFrom()
45 static std::unique_ptr<TestAshmem> createFrom(const void* data, uint32_t length) { in createFrom() function
DTestGenerated.cpp204 auto ashmem = TestAshmem::createFrom(operand.data); in computeWithDeviceMemories()
230 auto ashmem = TestAshmem::createFrom(output); in computeWithDeviceMemories()
DTestMemoryDomain.cpp443 auto ashmem1 = TestAshmem::createFrom(&initValue1, sizeof(float)); in TEST_F()
444 auto ashmem2 = TestAshmem::createFrom(&initValue2, sizeof(float)); in TEST_F()
/frameworks/base/libs/hwui/hwui/
DBitmap.h74 static sk_sp<Bitmap> createFrom(sp<GraphicBuffer> graphicBuffer,
79 static sk_sp<Bitmap> createFrom(const SkImageInfo& info, size_t rowBytes, int fd, void* addr,
81 static sk_sp<Bitmap> createFrom(const SkImageInfo&, SkPixelRef&);
DBitmap.cpp129 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom() function in android::Bitmap
136 sk_sp<Bitmap> Bitmap::createFrom(sp<GraphicBuffer> graphicBuffer, SkColorType colorType, in createFrom() function in android::Bitmap
144 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, size_t rowBytes, int fd, void* addr, in createFrom() function in android::Bitmap
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DMessagingLayoutTransformState.java205 TransformState ownState = TransformState.createFrom(child, mTransformInfo); in appear()
214 TransformState ownState = TransformState.createFrom(child, mTransformInfo); in disappear()
290 TransformState ownState = TransformState.createFrom(ownView, mTransformInfo); in transformView()
297 TransformState otherState = TransformState.createFrom(otherView, mTransformInfo); in transformView()
305 TransformState otherState = TransformState.createFrom(otherView, mTransformInfo); in transformView()
378 TransformState ownState = TransformState.createFrom(child, mTransformInfo); in setVisible()
423 TransformState ownState = TransformState.createFrom(child, mTransformInfo); in resetTransformedView()
DTransformState.java434 public static TransformState createFrom(View view, in createFrom() method in TransformState
/frameworks/base/services/core/java/com/android/server/slice/
DSlicePermissionManager.java183 p = SliceClientPermissions.createFrom(parser.parser, tracker); in writeBackup()
185 p = SliceProviderPermissions.createFrom(parser.parser, tracker); in writeBackup()
218 SliceClientPermissions client = SliceClientPermissions.createFrom(parser, in readRestore()
228 SliceProviderPermissions provider = SliceProviderPermissions.createFrom( in readRestore()
254 client = SliceClientPermissions.createFrom(parser.parser, this); in getClient()
284 provider = SliceProviderPermissions.createFrom(parser.parser, this); in getProvider()
DSliceProviderPermissions.java100 public static SliceProviderPermissions createFrom(XmlPullParser parser, DirtyTracker tracker) in createFrom() method in SliceProviderPermissions
DSliceClientPermissions.java158 public static SliceClientPermissions createFrom(XmlPullParser parser, DirtyTracker tracker) in createFrom() method in SliceClientPermissions
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraCapabilitiesFactory.java27 public static CameraCapabilities createFrom(Camera.Parameters p) { in createFrom() method in CameraCapabilitiesFactory
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java217 final ControllerImpl controller = ControllerImpl.createFrom( in testControllerImpl()
271 final ControllerImpl controller = ControllerImpl.createFrom( in testControllerImplWithUserAction()
321 final ControllerImpl newController = ControllerImpl.createFrom(controller, in testControllerImplWithUserAction()
333 final ControllerImpl anotherController = ControllerImpl.createFrom(controller, in testControllerImplWithUserAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java63 return TransformState.createFrom(view, this); in getCurrentState()
250 TransformState state = TransformState.createFrom(view, this); in resetTransformedView()
/frameworks/base/libs/hwui/tests/common/scenes/
DHwBitmapInCompositeShader.cpp53 sk_sp<Bitmap> hardwareBitmap(Bitmap::createFrom(buffer, kRGBA_8888_SkColorType, in createContent()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceProviderPermissionsTest.java105 SliceProviderPermissions deser = SliceProviderPermissions.createFrom(parser, in testSerialization()
DSliceClientPermissionsTest.java224 SliceClientPermissions deser = SliceClientPermissions.createFrom(parser, in testSerialization()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingController.java396 public static ControllerImpl createFrom(final ControllerImpl currentInstance, in createFrom() method in InputMethodSubtypeSwitchingController.ControllerImpl
514 mController = ControllerImpl.createFrom(mController, in resetCircularListLocked()
/frameworks/base/core/jni/android/graphics/
DMovie.cpp79 sk_sp<android::Bitmap> wrapper = android::Bitmap::createFrom(b.info(), *b.pixelRef()); in movie_draw()
DBitmap.cpp746 nativeBitmap = Bitmap::createFrom(bitmap->info(), bitmap->rowBytes(), dupFd, in Bitmap_createFromParcel()
1111 sk_sp<Bitmap> bitmap = Bitmap::createFrom(src.info(), *src.pixelRef()); in Bitmap_copyPreserveInternalConfig()
1121 sk_sp<Bitmap> bitmap = Bitmap::createFrom(buffer, ct, in Bitmap_wrapHardwareBufferBitmap()
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp407 return Bitmap::createFrom(buffer, bitmap.colorType(), bitmap.refColorSpace(), in allocateHardwareBitmap()
/frameworks/base/core/java/android/view/
DSurface.java551 public void createFrom(SurfaceControl other) { in createFrom() method in Surface
DSurfaceView.java891 mSurface.createFrom(mSurfaceControl); in updateSurface()
/frameworks/base/core/jni/
Dandroid_view_ThreadedRenderer.cpp994 sk_sp<Bitmap> bitmap = Bitmap::createFrom(buffer, ct, cs); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/frameworks/base/services/
Dart-profile7340 …ver/inputmethod/InputMethodSubtypeSwitchingController$ControllerImpl;->createFrom(Lcom/android/ser…
12972 HSPLcom/android/server/slice/SliceClientPermissions;->createFrom(Lorg/xmlpull/v1/XmlPullParser;Lcom…
13034 PLcom/android/server/slice/SliceProviderPermissions;->createFrom(Lorg/xmlpull/v1/XmlPullParser;Lcom…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt76352 Landroid/view/Surface;->createFrom(Landroid/view/SurfaceControl;)V