Home
last modified time | relevance | path

Searched refs:constraintSet (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DConstraintChangeTest.kt38 val constraintSet = ConstraintSet() in testSumNonNull() constant
41 sum?.invoke(constraintSet) in testSumNonNull()
44 inOrder.verify(mock1).invoke(constraintSet) in testSumNonNull()
45 inOrder.verify(mock2).invoke(constraintSet) in testSumNonNull()
51 val constraintSet = ConstraintSet() in testSumThisNull() constant
54 sum?.invoke(constraintSet) in testSumThisNull()
56 verify(mock).invoke(constraintSet) in testSumThisNull()
70 val constraintSet = ConstraintSet() in testSumOtherNull() constant
73 sum?.invoke(constraintSet) in testSumOtherNull()
75 verify(mock).invoke(constraintSet) in testSumOtherNull()
DConstraintChangesTest.kt46 val constraintSet = ConstraintSet() in testSumWithoutNulls() constant
47 sum.qqsConstraintsChanges?.invoke(constraintSet) in testSumWithoutNulls()
48 sum.qsConstraintsChanges?.invoke(constraintSet) in testSumWithoutNulls()
49 sum.largeScreenConstraintsChanges?.invoke(constraintSet) in testSumWithoutNulls()
53 inOrder.verify(mockQQS1).invoke(constraintSet) in testSumWithoutNulls()
54 inOrder.verify(mockQQS2).invoke(constraintSet) in testSumWithoutNulls()
55 inOrder.verify(mockQS1).invoke(constraintSet) in testSumWithoutNulls()
56 inOrder.verify(mockQS2).invoke(constraintSet) in testSumWithoutNulls()
57 inOrder.verify(mockLS1).invoke(constraintSet) in testSumWithoutNulls()
58 inOrder.verify(mockLS2).invoke(constraintSet) in testSumWithoutNulls()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSectionTest.kt64 private lateinit var constraintSet: ConstraintSet variable in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSectionTest
95 constraintSet = ConstraintSet() in setup()
130 underTest.applyConstraints(constraintSet) in testConstraintsWhenNotHasCustomWeatherDataDisplay()
133 val smartspaceConstraints = constraintSet.getConstraint(smartspaceView.id) in testConstraintsWhenNotHasCustomWeatherDataDisplay()
136 val dateConstraints = constraintSet.getConstraint(dateView.id) in testConstraintsWhenNotHasCustomWeatherDataDisplay()
144 underTest.applyConstraints(constraintSet) in testConstraintsWhenHasCustomWeatherDataDisplay()
146 val dateConstraints = constraintSet.getConstraint(dateView.id) in testConstraintsWhenHasCustomWeatherDataDisplay()
154 underTest.applyConstraints(constraintSet) in testNormalDateWeatherVisibility()
155 assertThat(constraintSet.getVisibility(weatherView.id)).isEqualTo(VISIBLE) in testNormalDateWeatherVisibility()
158 underTest.applyConstraints(constraintSet) in testNormalDateWeatherVisibility()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationsQSContainerController.kt278 val constraintSet = ConstraintSet() in <lambda>() constant
279 constraintSet.clone(mView) in <lambda>()
280 setKeyguardStatusViewConstraints(constraintSet) in <lambda>()
281 setQsConstraints(constraintSet) in <lambda>()
282 setNotificationsConstraints(constraintSet) in <lambda>()
283 setLargeScreenShadeHeaderConstraints(constraintSet) in <lambda>()
284 mView.applyConstraints(constraintSet) in <lambda>()
287 private fun setLargeScreenShadeHeaderConstraints(constraintSet: ConstraintSet) { in <lambda>()
289 constraintSet.constrainHeight(R.id.split_shade_status_bar, largeScreenShadeHeaderHeight) in <lambda>()
291 constraintSet.constrainHeight(R.id.split_shade_status_bar, shadeHeaderHeight) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java957 ConstraintSet constraintSet = new ConstraintSet(); in updateSecurityViewGroup() local
958 constraintSet.connect(mViewFlipper.getId(), START, PARENT_ID, START); in updateSecurityViewGroup()
959 constraintSet.connect(mViewFlipper.getId(), END, PARENT_ID, END); in updateSecurityViewGroup()
960 constraintSet.connect(mViewFlipper.getId(), BOTTOM, PARENT_ID, BOTTOM); in updateSecurityViewGroup()
961 constraintSet.connect(mViewFlipper.getId(), TOP, PARENT_ID, TOP); in updateSecurityViewGroup()
962 constraintSet.constrainHeight(mViewFlipper.getId(), MATCH_CONSTRAINT); in updateSecurityViewGroup()
963 constraintSet.constrainWidth(mViewFlipper.getId(), MATCH_CONSTRAINT); in updateSecurityViewGroup()
964 constraintSet.applyTo(mView); in updateSecurityViewGroup()
1232 ConstraintSet constraintSet = new ConstraintSet(); in updateSecurityViewLocation() local
1233 constraintSet.connect(mUserSwitcherViewGroup.getId(), TOP, PARENT_ID, TOP, yTrans); in updateSecurityViewLocation()
[all …]
DAdminSecondaryLockScreenController.java183 ConstraintSet constraintSet = new ConstraintSet(); in show() local
184 constraintSet.clone(mParent); in show()
185 constraintSet.connect(mView.getId(), TOP, PARENT_ID, TOP); in show()
186 constraintSet.connect(mView.getId(), START, PARENT_ID, START); in show()
187 constraintSet.connect(mView.getId(), END, PARENT_ID, END); in show()
188 constraintSet.connect(mView.getId(), BOTTOM, PARENT_ID, BOTTOM); in show()
189 constraintSet.constrainHeight(mView.getId(), ConstraintSet.MATCH_CONSTRAINT); in show()
190 constraintSet.constrainWidth(mView.getId(), ConstraintSet.MATCH_CONSTRAINT); in show()
191 constraintSet.applyTo(mParent); in show()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DSharedNotificationContainer.kt68 val constraintSet = ConstraintSet() in updateConstraints() constant
69 constraintSet.clone(baseConstraintSet) in updateConstraints()
78 constraintSet.apply { in updateConstraints()
84 constraintSet.applyTo(this) in updateConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSection.kt88 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
94 constraintSet.applyDeltaFrom(buildConstraints(clock, constraintSet)) in applyConstraints()
102 constraintSet: ConstraintSet in buildConstraints()
105 applyDefaultConstraints(constraintSet) in buildConstraints()
106 getNonTargetClockFace(clock).applyConstraints(constraintSet) in buildConstraints()
107 getTargetClockFace(clock).applyConstraints(constraintSet) in buildConstraints()
110 return constraintSet.apply { in buildConstraints()
DDefaultDeviceEntrySection.kt117 override fun applyConstraints(constraintSet: ConstraintSet) { in <lambda>()
157 constraintSet in <lambda>()
163 centerIcon(udfpsLocation, authController.udfpsRadius, constraintSet) in <lambda>()
173 constraintSet, in <lambda>()
187 internal fun centerIcon(center: Point, radius: Float, constraintSet: ConstraintSet) { in <lambda>()
205 constraintSet.apply { in <lambda>()
DSplitShadeGuidelines.kt32 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
33 constraintSet.apply { in applyConstraints()
DSmartspaceSection.kt107 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
112 constraintSet.apply { in applyConstraints()
176 updateVisibility(constraintSet) in applyConstraints()
193 private fun updateVisibility(constraintSet: ConstraintSet) { in updateVisibility()
197 constraintSet.apply { in updateVisibility()
DSplitShadeNotificationStackScrollLayoutSection.kt51 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
55 constraintSet.apply { in applyConstraints()
DKeyguardSliceViewSection.kt48 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
52 constraintSet.apply { in applyConstraints()
DDefaultIndicationAreaSection.kt62 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
63 constraintSet.apply { in applyConstraints()
DAodBurnInSection.kt71 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
76 constraintSet.apply { in applyConstraints()
DDefaultUdfpsAccessibilityOverlaySection.kt55 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
56 constraintSet.apply { in applyConstraints()
DAccessibilityActionsSection.kt64 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
66 constraintSet.apply { in applyConstraints()
DSplitShadeMediaSection.kt75 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
80 constraintSet.apply { in applyConstraints()
DDefaultNotificationStackScrollLayoutSection.kt56 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
60 constraintSet.apply { in applyConstraints()
DNotificationStackScrollLayoutSection.kt52 protected fun addNotificationPlaceholderBarrier(constraintSet: ConstraintSet) { in addNotificationPlaceholderBarrier()
53 constraintSet.apply { in addNotificationPlaceholderBarrier()
DDefaultStatusBarSection.kt89 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
90 constraintSet.apply { in applyConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DKeyguardBlueprint.kt77 fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
78 sections.forEach { it.applyConstraints(constraintSet) } in applyConstraints()
DKeyguardSection.kt32 abstract fun applyConstraints(constraintSet: ConstraintSet) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardClockViewBinder.kt203 val constraintSet = ConstraintSet().apply { clone(rootView) } in <lambda>() constant
204 clockSection.applyConstraints(constraintSet) in <lambda>()
209 constraintSet.applyTo(rootView) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/view/layout/sections/
DDefaultCommunalHubSection.kt14 override fun applyConstraints(constraintSet: ConstraintSet) {} in applyConstraints()

12