Lines Matching defs:overlay
389 * in the overlay caption.
391 * @param overlay The style to apply
392 * @return A caption style with the overlay style applied
396 public CaptionStyle applyStyle(@NonNull CaptionStyle overlay) {
397 final int newForegroundColor = overlay.hasForegroundColor() ?
398 overlay.foregroundColor : foregroundColor;
399 final int newBackgroundColor = overlay.hasBackgroundColor() ?
400 overlay.backgroundColor : backgroundColor;
401 final int newEdgeType = overlay.hasEdgeType() ?
402 overlay.edgeType : edgeType;
403 final int newEdgeColor = overlay.hasEdgeColor() ?
404 overlay.edgeColor : edgeColor;
405 final int newWindowColor = overlay.hasWindowColor() ?
406 overlay.windowColor : windowColor;
407 final String newRawTypeface = overlay.mRawTypeface != null ?
408 overlay.mRawTypeface : mRawTypeface;