MCPcopy Create free account
hub / github.com/google/gapid / loadTextStyle

Method loadTextStyle

gapic/src/main/com/google/gapid/widgets/Theme.java:404–411  ·  view source on GitHub ↗
(Method method)

Source from the content-addressed store, hash-verified

402 }
403
404 private boolean loadTextStyle(Method method) {
405 TextStyle style = method.getDeclaredAnnotation(TextStyle.class);
406 if (style != null) {
407 resources.put(method.getName(), new DisposableStyler(display, style));
408 return true;
409 }
410 return false;
411 }
412
413 public boolean loadFont(Method method) {
414 Text text = method.getDeclaredAnnotation(Text.class);

Callers 1

loadResourceMethod · 0.95

Calls 2

putMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected