Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/
DDividerItemDecoration.java39 private Drawable mDivider; field in DividerItemDecoration
45 mDivider = a.getDrawable(0); in DividerItemDecoration()
77 final int bottom = top + mDivider.getIntrinsicHeight(); in drawVertical()
78 mDivider.setBounds(left, top, right, bottom); in drawVertical()
79 mDivider.draw(c); in drawVertical()
94 final int right = left + mDivider.getIntrinsicHeight(); in drawHorizontal()
95 mDivider.setBounds(left, top, right, bottom); in drawHorizontal()
96 mDivider.draw(c); in drawHorizontal()
103 outRect.set(0, 0, 0, mDivider.getIntrinsicHeight()); in getItemOffsets()
105 outRect.set(0, 0, mDivider.getIntrinsicWidth(), 0); in getItemOffsets()
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java168 private Drawable mDivider; field in AlarmAdapter.DividerItemDecoration
171 mDivider = context.getDrawable(R.drawable.divider); in DividerItemDecoration()
183 int bottom = top + mDivider.getIntrinsicHeight(); in onDrawOver()
184 mDivider.setBounds(left, top, right, bottom); in onDrawOver()
185 mDivider.draw(c); in onDrawOver()