Home
last modified time | relevance | path

Searched refs:childTextView (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/animation/
DDisableSubpixelTextTransitionListenerTest.kt40 private var childTextView = TextView(context) variable in com.android.systemui.shared.animation.DisableSubpixelTextTransitionListenerTest
47 rootView.addView(childTextView) in setup()
57 assertThat(childTextView.paintFlags and Paint.SUBPIXEL_TEXT_FLAG).isGreaterThan(0) in onTransitionStarted_addsSubpixelFlagToChildTextView()
76 assertThat(childTextView.paintFlags and Paint.SUBPIXEL_TEXT_FLAG).isEqualTo(0) in onTransitionFinished_removeSupbixelFlagFromChildTextView()
99 childTextView.paintFlags = childTextView.paintFlags or Paint.SUBPIXEL_TEXT_FLAG in whenFlagAlreadyPresent_flagNotRemovedOnTransitionFinished()
105 assertThat(childTextView.paintFlags and Paint.SUBPIXEL_TEXT_FLAG).isGreaterThan(0) in whenFlagAlreadyPresent_flagNotRemovedOnTransitionFinished()
110 childTextView.paintFlags = childTextView.paintFlags or Paint.SUBPIXEL_TEXT_FLAG in whenFlagNotPresent_flagRemovedOnTransitionFinished()
128 assertThat(childTextView.paintFlags and Paint.SUBPIXEL_TEXT_FLAG).isEqualTo(0) in whenRootViewHasNoChildTextView_flagNotAddedToRelatedTextviews()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/
DDisableSubpixelTextTransitionListener.kt43 val childTextView = child.get() ?: return@forEach in <lambda>() constant
44 childTextView.paintFlags = childTextView.paintFlags or Paint.SUBPIXEL_TEXT_FLAG in <lambda>()
55 val childTextView = child.get() ?: return@forEach in <lambda>() constant
56 childTextView.paintFlags = in <lambda>()
57 childTextView.paintFlags and Paint.SUBPIXEL_TEXT_FLAG.inv() in <lambda>()