Home
last modified time | relevance | path

Searched refs:ConstraintSet (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DDefaultUdfpsAccessibilityOverlaySection.kt22 import androidx.constraintlayout.widget.ConstraintSet
55 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
57 connect(viewId, ConstraintSet.START, ConstraintSet.PARENT_ID, ConstraintSet.START) in applyConstraints()
58 connect(viewId, ConstraintSet.END, ConstraintSet.PARENT_ID, ConstraintSet.END) in applyConstraints()
60 create(R.id.udfps_accessibility_overlay_top_guideline, ConstraintSet.HORIZONTAL) in applyConstraints()
64 ConstraintSet.TOP, in applyConstraints()
66 ConstraintSet.BOTTOM, in applyConstraints()
72 ConstraintSet.BOTTOM, in applyConstraints()
74 ConstraintSet.TOP, in applyConstraints()
77 connect(viewId, ConstraintSet.BOTTOM, ConstraintSet.PARENT_ID, ConstraintSet.BOTTOM) in applyConstraints()
DSmartspaceSection.kt25 import androidx.constraintlayout.widget.ConstraintSet
107 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
114 constrainHeight(sharedR.id.date_smartspace_view, ConstraintSet.WRAP_CONTENT) in applyConstraints()
115 constrainWidth(sharedR.id.date_smartspace_view, ConstraintSet.WRAP_CONTENT) in applyConstraints()
118 ConstraintSet.START, in applyConstraints()
119 ConstraintSet.PARENT_ID, in applyConstraints()
120 ConstraintSet.START, in applyConstraints()
125 constrainHeight(sharedR.id.bc_smartspace_view, ConstraintSet.WRAP_CONTENT) in applyConstraints()
128 ConstraintSet.START, in applyConstraints()
129 ConstraintSet.PARENT_ID, in applyConstraints()
[all …]
DAccessibilityActionsSection.kt23 import androidx.constraintlayout.widget.ConstraintSet
64 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
70 ConstraintSet.TOP, in applyConstraints()
71 ConstraintSet.PARENT_ID, in applyConstraints()
72 ConstraintSet.TOP, in applyConstraints()
77 ConstraintSet.BOTTOM, in applyConstraints()
78 ConstraintSet.PARENT_ID, in applyConstraints()
79 ConstraintSet.BOTTOM, in applyConstraints()
84 ConstraintSet.START, in applyConstraints()
85 ConstraintSet.PARENT_ID, in applyConstraints()
[all …]
DKeyguardSliceViewSection.kt24 import androidx.constraintlayout.widget.ConstraintSet
48 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
55 ConstraintSet.START, in applyConstraints()
56 ConstraintSet.PARENT_ID, in applyConstraints()
57 ConstraintSet.START in applyConstraints()
61 ConstraintSet.END, in applyConstraints()
62 ConstraintSet.PARENT_ID, in applyConstraints()
63 ConstraintSet.END in applyConstraints()
65 constrainHeight(R.id.keyguard_slice_view, ConstraintSet.WRAP_CONTENT) in applyConstraints()
69 ConstraintSet.TOP, in applyConstraints()
[all …]
DDefaultIndicationAreaSection.kt23 import androidx.constraintlayout.widget.ConstraintSet
62 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
68 ConstraintSet.BOTTOM, in applyConstraints()
69 ConstraintSet.PARENT_ID, in applyConstraints()
70 ConstraintSet.BOTTOM, in applyConstraints()
75 ConstraintSet.START, in applyConstraints()
76 ConstraintSet.PARENT_ID, in applyConstraints()
77 ConstraintSet.START in applyConstraints()
81 ConstraintSet.END, in applyConstraints()
82 ConstraintSet.PARENT_ID, in applyConstraints()
[all …]
DClockSection.kt24 import androidx.constraintlayout.widget.ConstraintSet in <lambda>()
25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM in <lambda>()
26 import androidx.constraintlayout.widget.ConstraintSet.END in <lambda>()
27 import androidx.constraintlayout.widget.ConstraintSet.GONE in <lambda>()
28 import androidx.constraintlayout.widget.ConstraintSet.MATCH_CONSTRAINT in <lambda>()
29 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID in <lambda>()
30 import androidx.constraintlayout.widget.ConstraintSet.START in <lambda>()
31 import androidx.constraintlayout.widget.ConstraintSet.TOP in <lambda>()
32 import androidx.constraintlayout.widget.ConstraintSet.VISIBLE in <lambda>()
33 import androidx.constraintlayout.widget.ConstraintSet.WRAP_CONTENT in <lambda>()
[all …]
DSplitShadeMediaSection.kt24 import androidx.constraintlayout.widget.ConstraintSet
25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
26 import androidx.constraintlayout.widget.ConstraintSet.END
27 import androidx.constraintlayout.widget.ConstraintSet.MATCH_CONSTRAINT
28 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
29 import androidx.constraintlayout.widget.ConstraintSet.START
30 import androidx.constraintlayout.widget.ConstraintSet.TOP
75 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
DSplitShadeNotificationStackScrollLayoutSection.kt21 import androidx.constraintlayout.widget.ConstraintSet
22 import androidx.constraintlayout.widget.ConstraintSet.END
23 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
24 import androidx.constraintlayout.widget.ConstraintSet.START
25 import androidx.constraintlayout.widget.ConstraintSet.TOP
51 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
DDefaultNotificationStackScrollLayoutSection.kt21 import androidx.constraintlayout.widget.ConstraintSet
22 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
23 import androidx.constraintlayout.widget.ConstraintSet.END
24 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
25 import androidx.constraintlayout.widget.ConstraintSet.START
26 import androidx.constraintlayout.widget.ConstraintSet.TOP
56 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
DDefaultSettingsPopupMenuSection.kt24 import androidx.constraintlayout.widget.ConstraintSet
25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
26 import androidx.constraintlayout.widget.ConstraintSet.END
27 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
28 import androidx.constraintlayout.widget.ConstraintSet.START
29 import androidx.constraintlayout.widget.ConstraintSet.VISIBILITY_MODE_IGNORE
30 import androidx.constraintlayout.widget.ConstraintSet.WRAP_CONTENT
87 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
DDefaultStatusBarSection.kt24 import androidx.constraintlayout.widget.ConstraintSet
25 import androidx.constraintlayout.widget.ConstraintSet.END
26 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
27 import androidx.constraintlayout.widget.ConstraintSet.START
28 import androidx.constraintlayout.widget.ConstraintSet.TOP
89 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
DAlignShortcutsToUdfpsSection.kt22 import androidx.constraintlayout.widget.ConstraintSet
23 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
24 import androidx.constraintlayout.widget.ConstraintSet.LEFT
25 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
26 import androidx.constraintlayout.widget.ConstraintSet.RIGHT
27 import androidx.constraintlayout.widget.ConstraintSet.TOP
83 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
DAodNotificationIconsSection.kt25 import androidx.constraintlayout.widget.ConstraintSet
26 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
27 import androidx.constraintlayout.widget.ConstraintSet.END
28 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
29 import androidx.constraintlayout.widget.ConstraintSet.START
30 import androidx.constraintlayout.widget.ConstraintSet.TOP
105 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
DDefaultStatusViewSection.kt26 import androidx.constraintlayout.widget.ConstraintSet
27 import androidx.constraintlayout.widget.ConstraintSet.END
28 import androidx.constraintlayout.widget.ConstraintSet.MATCH_CONSTRAINT
29 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
30 import androidx.constraintlayout.widget.ConstraintSet.START
31 import androidx.constraintlayout.widget.ConstraintSet.TOP
101 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DCombinedShadeHeadersConstraintManagerImpl.kt20 import androidx.constraintlayout.widget.ConstraintSet
42 connect(R.id.date, ConstraintSet.END, R.id.barrier, ConstraintSet.START) in emptyCutoutConstraints()
45 ConstraintSet.START, in emptyCutoutConstraints()
50 connect(R.id.shade_header_system_icons, ConstraintSet.START, R.id.date, in emptyCutoutConstraints()
51 ConstraintSet.END) in emptyCutoutConstraints()
52 connect(R.id.privacy_container, ConstraintSet.START, R.id.date, ConstraintSet.END) in emptyCutoutConstraints()
85 connect(R.id.date, ConstraintSet.END, centerStart, ConstraintSet.START) in centerCutoutConstraints()
88 ConstraintSet.START, in centerCutoutConstraints()
90 ConstraintSet.END in centerCutoutConstraints()
94 ConstraintSet.START, in centerCutoutConstraints()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewSizeBinder.kt37 import androidx.constraintlayout.widget.ConstraintSet in <lambda>()
151 val mediumConstraintSet = ConstraintSet() in <lambda>()
154 val smallConstraintSet = ConstraintSet() in <lambda>()
157 val largeConstraintSet = ConstraintSet() in <lambda>()
164 val flipConstraintSet = ConstraintSet() in <lambda>()
192 iconParams.endToEnd = ConstraintSet.UNSET in <lambda>()
196 ConstraintSet.RIGHT in <lambda>()
200 ConstraintSet.LEFT, in <lambda>()
201 ConstraintSet.PARENT_ID, in <lambda>()
202 ConstraintSet.LEFT in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/view/
DSharedNotificationContainer.kt24 import androidx.constraintlayout.widget.ConstraintSet
25 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM
26 import androidx.constraintlayout.widget.ConstraintSet.END
27 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID
28 import androidx.constraintlayout.widget.ConstraintSet.START
29 import androidx.constraintlayout.widget.ConstraintSet.TOP
30 import androidx.constraintlayout.widget.ConstraintSet.VERTICAL
46 private val baseConstraintSet = ConstraintSet()
68 val constraintSet = ConstraintSet() in updateConstraints()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/ui/view/layout/sections/
DCommunalTutorialIndicatorSection.kt28 import androidx.constraintlayout.widget.ConstraintSet
92 override fun applyConstraints(constraintSet: ConstraintSet) { in applyConstraints()
106 ConstraintSet.RIGHT, in applyConstraints()
107 ConstraintSet.PARENT_ID, in applyConstraints()
108 ConstraintSet.RIGHT, in applyConstraints()
113 ConstraintSet.TOP, in applyConstraints()
114 ConstraintSet.PARENT_ID, in applyConstraints()
115 ConstraintSet.TOP in applyConstraints()
119 ConstraintSet.BOTTOM, in applyConstraints()
120 ConstraintSet.PARENT_ID, in applyConstraints()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DDefaultDeviceEntrySectionTest.kt23 import androidx.constraintlayout.widget.ConstraintSet
121 val cs = ConstraintSet() in applyConstraints_udfps_refactor_off()
126 assertThat(constraint.layout.topToTop).isEqualTo(ConstraintSet.PARENT_ID) in applyConstraints_udfps_refactor_off()
127 assertThat(constraint.layout.startToStart).isEqualTo(ConstraintSet.PARENT_ID) in applyConstraints_udfps_refactor_off()
134 val cs = ConstraintSet() in applyConstraints_udfps_refactor_on()
139 assertThat(constraint.layout.topToTop).isEqualTo(ConstraintSet.PARENT_ID) in applyConstraints_udfps_refactor_on()
140 assertThat(constraint.layout.startToStart).isEqualTo(ConstraintSet.PARENT_ID) in applyConstraints_udfps_refactor_on()
146 val cs = ConstraintSet() in testCenterIcon_udfps_refactor_off()
153 assertThat(constraint.layout.topToTop).isEqualTo(ConstraintSet.PARENT_ID) in testCenterIcon_udfps_refactor_off()
154 assertThat(constraint.layout.startToStart).isEqualTo(ConstraintSet.PARENT_ID) in testCenterIcon_udfps_refactor_off()
[all …]
DDefaultIndicationAreaSectionTest.kt22 import androidx.constraintlayout.widget.ConstraintSet
75 val cs = ConstraintSet() in applyConstraints()
80 assertThat(constraint.layout.bottomToBottom).isEqualTo(ConstraintSet.PARENT_ID) in applyConstraints()
81 assertThat(constraint.layout.startToStart).isEqualTo(ConstraintSet.PARENT_ID) in applyConstraints()
82 assertThat(constraint.layout.endToEnd).isEqualTo(ConstraintSet.PARENT_ID) in applyConstraints()
DClockSectionTest.kt24 import androidx.constraintlayout.widget.ConstraintSet in <lambda>()
135 val cs = ConstraintSet() in <lambda>()
158 val cs = ConstraintSet() in <lambda>()
183 val cs = ConstraintSet() in <lambda>()
208 val cs = ConstraintSet() in <lambda>()
232 val cs = ConstraintSet() in <lambda>()
256 val cs = ConstraintSet() in <lambda>()
273 val cs = ConstraintSet() in <lambda>()
292 val cs = ConstraintSet() in <lambda>()
308 val cs = ConstraintSet() in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/clocks/
DClockProviderPlugin.kt20 import androidx.constraintlayout.widget.ConstraintSet
124 fun applyConstraints(constraints: ConstraintSet): ConstraintSet in applyConstraints()
126 fun applyPreviewConstraints(constraints: ConstraintSet): ConstraintSet in applyConstraints()
136 override fun applyConstraints(constraints: ConstraintSet): ConstraintSet { in applyConstraints()
145 override fun applyPreviewConstraints(constraints: ConstraintSet): ConstraintSet { in applyConstraints()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaViewControllerTest.kt35 import androidx.constraintlayout.widget.ConstraintSet in <lambda>()
276 ConstraintSet.MATCH_CONSTRAINT in <lambda>()
386 .isEqualTo(ConstraintSet.INVISIBLE) in <lambda>()
397 .isEqualTo(ConstraintSet.VISIBLE) in <lambda>()
408 .isEqualTo(ConstraintSet.VISIBLE) in <lambda>()
413 .isEqualTo(ConstraintSet.INVISIBLE) in <lambda>()
429 .isEqualTo(ConstraintSet.GONE) in <lambda>()
433 .isEqualTo(ConstraintSet.GONE) in <lambda>()
448 .isEqualTo(ConstraintSet.GONE) in <lambda>()
452 .isEqualTo(ConstraintSet.GONE) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardPreviewClockViewBinder.kt28 import androidx.constraintlayout.widget.ConstraintSet in <lambda>()
29 import androidx.constraintlayout.widget.ConstraintSet.BOTTOM in <lambda>()
30 import androidx.constraintlayout.widget.ConstraintSet.PARENT_ID in <lambda>()
31 import androidx.constraintlayout.widget.ConstraintSet.START in <lambda>()
32 import androidx.constraintlayout.widget.ConstraintSet.TOP in <lambda>()
121 private fun applyClockDefaultConstraints(context: Context, constraints: ConstraintSet) { in <lambda>()
123 constrainWidth(R.id.lockscreen_clock_view_large, ConstraintSet.WRAP_CONTENT) in <lambda>()
124 constrainHeight(R.id.lockscreen_clock_view_large, ConstraintSet.MATCH_CONSTRAINT) in <lambda>()
139 ConstraintSet.END, in <lambda>()
141 ConstraintSet.END in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAdminSecondaryLockScreenController.java18 import static androidx.constraintlayout.widget.ConstraintSet.BOTTOM;
19 import static androidx.constraintlayout.widget.ConstraintSet.END;
20 import static androidx.constraintlayout.widget.ConstraintSet.PARENT_ID;
21 import static androidx.constraintlayout.widget.ConstraintSet.START;
22 import static androidx.constraintlayout.widget.ConstraintSet.TOP;
42 import androidx.constraintlayout.widget.ConstraintSet;
183 ConstraintSet constraintSet = new ConstraintSet(); in show()
189 constraintSet.constrainHeight(mView.getId(), ConstraintSet.MATCH_CONSTRAINT); in show()
190 constraintSet.constrainWidth(mView.getId(), ConstraintSet.MATCH_CONSTRAINT); in show()

123