Home
last modified time | relevance | path

Searched refs:divider (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DDividerItemDecoration.java78 private Drawable divider; field in DividerItemDecoration
87 final Drawable divider = in DividerItemDecoration() local
97 setDivider(divider); in DividerItemDecoration()
104 if (divider == null) { in onDraw()
114 divider.setBounds(0, top, width, top + dividerHeight); in onDraw()
115 divider.draw(c); in onDraw()
185 public void setDivider(Drawable divider) { in setDivider() argument
186 if (divider != null) { in setDivider()
187 dividerIntrinsicHeight = divider.getIntrinsicHeight(); in setDivider()
191 this.divider = divider; in setDivider()
[all …]
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/template/
DRecyclerMixinTest.java102 final Drawable divider = mixin.getDivider(); in testDividerLegacyInset() local
103 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerLegacyInset()
118 final Drawable divider = mixin.getDivider(); in testDividerInsets() local
119 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsets()
136 final Drawable divider = mixin.getDivider(); in testDividerInsetLegacyRtl() local
137 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetLegacyRtl()
157 final Drawable divider = mixin.getDivider(); in testDividerInsetsRtl() local
158 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetsRtl()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DListMixinTest.java106 final Drawable divider = mListView.getDivider(); in testDividerInsetLegacy() local
107 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetLegacy()
122 final Drawable divider = mListView.getDivider(); in testDividerInsets() local
123 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsets()
140 final Drawable divider = mListView.getDivider(); in testDividerInsetLegacyRtl() local
141 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetLegacyRtl()
161 final Drawable divider = mListView.getDivider(); in testDividerInsetsRtl() local
162 InsetDrawable insetDrawable = (InsetDrawable) divider; in testDividerInsetsRtl()
/frameworks/base/libs/hwui/
DProfileData.cpp84 uint32_t divider = 0; in mergeWith() local
86 divider = 4; in mergeWith()
89 mJankTypeCounts[i] >>= divider; in mergeWith()
93 mFrameCounts[i] >>= divider; in mergeWith()
96 mJankFrameCount >>= divider; in mergeWith()
98 mJankLegacyFrameCount >>= divider; in mergeWith()
100 mTotalFrameCount >>= divider; in mergeWith()
106 mGPUFrameCounts[i] >>= divider; in mergeWith()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DListMixin.java46 private Drawable divider; field in ListMixin
104 if (divider == null) { in onLayout()
189 divider = in updateDivider()
197 listView.setDivider(divider); in updateDivider()
203 return divider; in getDivider()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java49 Drawable divider = new ColorDrawable(); in testDivider() local
50 decoration.setDivider(divider); in testDivider()
51 assertSame("Divider should be same as set", divider, decoration.getDivider()); in testDivider()
65 Drawable divider = new ColorDrawable(Color.RED); in testShouldDrawDividerBelowWithEitherCondition() local
66 decoration.setDivider(divider); in testShouldDrawDividerBelowWithEitherCondition()
107 Drawable divider = new ColorDrawable(Color.GREEN); in testShouldDrawDividerBelowWithBothCondition() local
108 decoration.setDivider(divider); in testShouldDrawDividerBelowWithBothCondition()
DSetupWizardRecyclerLayoutTest.java117 final Drawable divider = layout.getDivider(); in testDividerInsetLegacy() local
118 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
133 final Drawable divider = layout.getDivider(); in testDividerInsets() local
134 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
DGlifRecyclerLayoutTest.java115 final Drawable divider = layout.getDivider(); in testDividerInsetLegacy() local
116 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
131 final Drawable divider = layout.getDivider(); in testDividerInsets() local
132 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
DSetupWizardPreferenceLayoutTest.java91 final Drawable divider = layout.getDivider(); in testDividerInset() local
92 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInset()
DGlifPreferenceLayoutTest.java90 final Drawable divider = layout.getDivider(); in testDividerInset() local
91 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInset()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
DRecyclerMixin.java61 private Drawable divider; field in RecyclerMixin
152 if (divider == null) { in onLayout()
227 divider = in updateDivider()
235 dividerDecoration.setDivider(divider); in updateDivider()
241 return divider; in getDivider()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSetupWizardListLayoutTest.java105 final Drawable divider = layout.getDivider(); in testDividerInsetLegacy() local
106 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
121 final Drawable divider = layout.getDivider(); in testDividerInsets() local
122 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
DGlifListLayoutTest.java114 final Drawable divider = layout.getDivider(); in testDividerInsetLegacy() local
115 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsetLegacy()
130 final Drawable divider = layout.getDivider(); in testDividerInsets() local
131 assertTrue("Divider should be instance of InsetDrawable", divider instanceof InsetDrawable); in testDividerInsets()
/frameworks/base/packages/SettingsLib/TwoTargetPreference/src/com/android/settingslib/widget/
DTwoTargetPreference.java103 final View divider = holder.findViewById(R.id.two_target_divider); in onBindViewHolder() local
106 if (divider != null) { in onBindViewHolder()
107 divider.setVisibility(shouldHideSecondTarget ? View.GONE : View.VISIBLE); in onBindViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java263 View divider = mDividers.get(i); in onMeasure() local
264 divider.measure(widthMeasureSpec, dividerHeightSpec); in onMeasure()
333 View divider = inflateDivider(); in addNotification()
334 addView(divider); in addNotification()
335 mDividers.add(newIndex, divider); in addNotification()
365 final View divider = mDividers.remove(childIndex);
366 removeView(divider);
367 getOverlay().add(divider);
368 CrossFadeHelper.fadeOut(divider, new Runnable() {
371 getOverlay().remove(divider);
[all …]
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/
DTwoTargetPreference.kt31 import com.android.settingslib.spa.framework.theme.divider
70 .background(color = MaterialTheme.colorScheme.divider) in PreferenceDivider()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/button/
DActionButtons.kt53 import com.android.settingslib.spa.framework.theme.divider
124 .background(color = MaterialTheme.colorScheme.divider) in ButtonDivider()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/chart/
DBarChart.kt38 import com.android.settingslib.spa.framework.theme.divider in <lambda>()
171 gridColor = colorScheme.divider.toArgb() in BarChart()
DLineChart.kt37 import com.android.settingslib.spa.framework.theme.divider in <lambda>()
162 this.axisRight.gridColor = colorScheme.divider.toArgb() in LineChart()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
DMaterialColors.kt45 val ColorScheme.divider: Color constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlAdapter.kt189 private val divider: View = itemView.requireViewById(R.id.divider) constant
193 divider.visibility = if (wrapper.showDivider) View.VISIBLE else View.GONE in bindData()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSettingsPager.kt51 divider = {}, in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DAlertController.java414 View divider = null; in setupView() local
416 divider = topPanel.findViewById(R.id.titleDividerNoCustom); in setupView()
419 if (divider != null) { in setupView()
420 divider.setVisibility(View.VISIBLE); in setupView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/
DUserSwitcherPopupMenu.kt62 divider = shape in show()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java586 View divider = null; in setupView() local
589 divider = topPanel.findViewById(R.id.titleDividerNoCustom); in setupView()
591 if (divider == null) { in setupView()
592 divider = topPanel.findViewById(R.id.titleDivider); in setupView()
596 divider = topPanel.findViewById(R.id.titleDividerTop); in setupView()
599 if (divider != null) { in setupView()
600 divider.setVisibility(View.VISIBLE); in setupView()

12