Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ internal class PreparedLayoutTextView(context: Context) : ViewGroup(context), Re
return delegateHandled || super.dispatchKeyEvent(event)
}

// This potentially a lie, to avoid clipping outside of layout bounds when we are translucent, at
// the cost of incorrect alpha blending.
// TODO T225199534: Add support for "needsOffscreenAlphaCompositing" to Text
override fun hasOverlappingRendering(): Boolean = false

@RequiresApi(api = Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
private object Api34Utils {
private var highlightPaths: List<Path>? = null
Expand Down
Loading