MCPcopy Create free account
hub / github.com/Snapchat/Valdi / applyDynamicTypeScale

Method applyDynamicTypeScale

valdi/src/valdi/android/RuntimeManagerWrapper.cpp:260–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259#if SNAP_DRAWING_ENABLED
260void RuntimeManagerWrapper::applyDynamicTypeScale(
261 const Valdi::Ref<AndroidSnapDrawingRuntime>& snapDrawingRuntime) const {
262 auto viewManager = snapDrawingRuntime->getViewManager();
263 auto resources = viewManager->getResources();
264 resources->setDynamicTypeScale(_dynamicTypeScale);
265}
266#endif
267
268void RuntimeManagerWrapper::setDynamicTypeScale(jfloat dynamicTypeScale) {

Callers

nothing calls this directly

Calls 2

getViewManagerMethod · 0.80
setDynamicTypeScaleMethod · 0.45

Tested by

no test coverage detected