Home
last modified time | relevance | path

Searched refs:mDivider (Results 1 – 22 of 22) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DDividerItemDecoration.java48 private Drawable mDivider; field in DividerItemDecoration
66 mDivider = a.getDrawable(0); in DividerItemDecoration()
67 if (mDivider == null) { in DividerItemDecoration()
98 mDivider = drawable; in setDrawable()
103 if (parent.getLayoutManager() == null || mDivider == null) { in onDraw()
133 final int top = bottom - mDivider.getIntrinsicHeight(); in drawVertical()
134 mDivider.setBounds(left, top, right, bottom); in drawVertical()
135 mDivider.draw(canvas); in drawVertical()
160 final int left = right - mDivider.getIntrinsicWidth(); in drawHorizontal()
161 mDivider.setBounds(left, top, right, bottom); in drawHorizontal()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarGestureHelper.java66 private Divider mDivider; field in NavigationBarGestureHelper
101 mDivider = divider; in setComponents()
198 if (mDivider == null || mRecentsComponent == null) { in handleDragActionMoveEvent()
206 && mDivider.getView().getWindowManagerProxy().getDockSide() == DOCKED_INVALID) { in handleDragActionMoveEvent()
212 mDivider.getView().calculateBoundsForPosition(mIsVertical in handleDragActionMoveEvent()
215 mDivider.getView().isHorizontalDivision() in handleDragActionMoveEvent()
228 mDivider.getView().startDragging(false /* animate */, true /* touching*/); in handleDragActionMoveEvent()
237 SnapTarget snapTarget = mDivider.getView().getSnapAlgorithm() in handleDragActionMoveEvent()
239 mDivider.getView().resizeStack(position, snapTarget.position, snapTarget); in handleDragActionMoveEvent()
250 if (mDockWindowTouchSlopExceeded && mDivider != null && mRecentsComponent != null) { in handleDragActionUpEvent()
[all …]
DNavigationBarFragment.java117 private Divider mDivider; field in NavigationBarFragment
139 mDivider = SysUiServiceProvider.getComponent(getContext(), Divider.class); in onCreate()
191 mNavigationBarView.setComponents(mRecents, mDivider); in onViewCreated()
547 || !mDivider.getView().getSnapAlgorithm().isSplitScreenFeasible() in onLongPressRecents()
DNavigationBarView.java119 private Divider mDivider; field in NavigationBarView
236 mDivider = divider; in setComponents()
775 defaultHelper.setComponents(mRecentsComponent, mDivider, this); in onPluginDisconnected()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DLinearLayoutBindingObject.java22 private int mDivider; field in LinearLayoutBindingObject
28 return mDivider; in getDivider()
36 mDivider = 0xFF111111; in changeValues()
DTableLayoutBindingObject.java28 private int mDivider = 0xFF112233; field in TableLayoutBindingObject
43 return mDivider; in getDivider()
50 mDivider = 0xFF445566; in changeValues()
DTabWidgetBindingObject.java23 private ColorDrawable mDivider = new ColorDrawable(0xFF0000FF); field in TabWidgetBindingObject
32 return mDivider; in getDivider()
48 mDivider = new ColorDrawable(0xFF111111); in changeValues()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/
DDividerItemDecoration.java83 private Drawable mDivider; field in DividerItemDecoration
110 if (mDivider == null) { in onDraw()
120 mDivider.setBounds(0, top, width, top + dividerHeight); in onDraw()
121 mDivider.draw(c); in onDraw()
200 mDivider = divider; in setDivider()
207 return mDivider; in getDivider()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTwoTargetPreferenceTest.java44 private View mDivider; field in TwoTargetPreferenceTest
57 .thenReturn(mDivider); in setUp()
68 verify(mDivider).setVisibility(View.GONE); in bind_noSecondTarget_shouldNotDrawDivider()
78 verify(mDivider).setVisibility(View.VISIBLE); in bind_hasSecondTarget_shouldNotDrawDivider()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DListMixin.java50 private Drawable mDivider; field in ListMixin
114 if (mDivider == null) { in onLayout()
207 mDivider = DrawableLayoutDirectionHelper.createRelativeInsetDrawable( in updateDivider()
214 listView.setDivider(mDivider); in updateDivider()
222 return mDivider; in getDivider()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/template/
DRecyclerMixin.java65 private Drawable mDivider; field in RecyclerMixin
159 if (mDivider == null) { in onLayout()
242 mDivider = DrawableLayoutDirectionHelper.createRelativeInsetDrawable( in updateDivider()
249 mDividerDecoration.setDivider(mDivider); in updateDivider()
257 return mDivider; in getDivider()
/frameworks/base/core/java/android/widget/
DTimePickerSpinnerDelegate.java55 private final TextView mDivider; field in TimePickerSpinnerDelegate
108 mDivider = mDelegator.findViewById(R.id.divider); in TimePickerSpinnerDelegate()
109 if (mDivider != null) { in TimePickerSpinnerDelegate()
283 mDivider.setText(separatorText); in setDividerText()
383 if (mDivider != null) { in setEnabled()
384 mDivider.setEnabled(enabled); in setEnabled()
DLinearLayout.java213 private Drawable mDivider; field in LinearLayout
276 return (mShowDividers != SHOW_DIVIDER_NONE) && (mDivider != null); in isShowingDividers()
318 return mDivider; in getDividerDrawable()
331 if (divider == mDivider) { in setDividerDrawable()
334 mDivider = divider; in setDividerDrawable()
392 if (mDivider == null) { in onDraw()
484 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, in drawHorizontalDivider()
486 mDivider.draw(canvas); in drawHorizontalDivider()
490 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, in drawVerticalDivider()
492 mDivider.draw(canvas); in drawVerticalDivider()
DListView.java187 Drawable mDivider; field in ListView
3432 final boolean drawDividers = dividerHeight > 0 && mDivider != null;
3608 final Drawable divider = mDivider;
3622 return mDivider;
3640 mDivider = divider;
4018 final boolean drawDividers = dividerHeight > 0 && mDivider != null;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java86 private View mDivider; field in QSPanel
124 mDivider = LayoutInflater.from(mContext).inflate(R.layout.qs_divider, this, false); in addDivider()
125 mDivider.setBackgroundColor(Utils.applyAlpha(mDivider.getAlpha(), in addDivider()
127 addView(mDivider); in addDivider()
131 return mDivider; in getDivider()
DQSSecurityFooter.java63 private final View mDivider; field in QSSecurityFooter
88 mDivider = qsPanel == null ? null : qsPanel.getDivider(); in QSSecurityFooter()
445 if (mDivider != null) mDivider.setVisibility(mIsVisible ? View.GONE : View.VISIBLE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationSnooze.java86 private View mDivider; field in NotificationSnooze
131 mDivider = findViewById(R.id.divider); in onFinishInflate()
132 mDivider.setAlpha(0f); in onFinishInflate()
323 ObjectAnimator dividerAnim = ObjectAnimator.ofFloat(mDivider, View.ALPHA, in animateSnoozeOptions()
324 mDivider.getAlpha(), show ? 1f : 0f); in animateSnoozeOptions()
/frameworks/support/v7/preference/src/android/support/v7/preference/
DPreferenceFragmentCompat.java773 private Drawable mDivider; field in PreferenceFragmentCompat.DividerDecoration
779 if (mDivider == null) { in onDrawOver()
788 mDivider.setBounds(0, top, width, top + mDividerHeight); in onDrawOver()
789 mDivider.draw(c); in onDrawOver()
826 mDivider = divider; in setDivider()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPINView.java41 private View mDivider; field in KeyguardPINView
87 mDivider = findViewById(R.id.divider); in onFinishInflate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileView.java39 private View mDivider; field in QSTileView
86 mDivider = mLabelContainer.findViewById(R.id.underline); in createLabel()
/frameworks/support/v14/preference/src/android/support/v14/preference/
DPreferenceFragment.java785 private Drawable mDivider; field in PreferenceFragment.DividerDecoration
791 if (mDivider == null) { in onDrawOver()
800 mDivider.setBounds(0, top, width, top + mDividerHeight); in onDrawOver()
801 mDivider.draw(c); in onDrawOver()
838 mDivider = divider; in setDivider()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java136 private Drawable mDivider; field in LinearLayoutCompat
219 return mDivider; in getDividerDrawable()
230 if (divider == mDivider) { in setDividerDrawable()
233 mDivider = divider; in setDividerDrawable()
281 if (mDivider == null) { in onDraw()
361 mDivider.setBounds(getPaddingLeft() + mDividerPadding, top, in drawHorizontalDivider()
363 mDivider.draw(canvas); in drawHorizontalDivider()
367 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, in drawVerticalDivider()
369 mDivider.draw(canvas); in drawVerticalDivider()