Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DToolbar.java142 private ImageButton mCollapseButtonView; field in Toolbar
1358 if (mCollapseButtonView == null) { in ensureCollapseButtonView()
1359 mCollapseButtonView = new ImageButton(getContext(), null, 0, mNavButtonStyle); in ensureCollapseButtonView()
1360 mCollapseButtonView.setImageDrawable(mCollapseIcon); in ensureCollapseButtonView()
1361 mCollapseButtonView.setContentDescription(mCollapseDescription); in ensureCollapseButtonView()
1365 mCollapseButtonView.setLayoutParams(lp); in ensureCollapseButtonView()
1366 mCollapseButtonView.setOnClickListener(new OnClickListener() { in ensureCollapseButtonView()
1574 if (shouldLayout(mCollapseButtonView)) { in onMeasure()
1575 measureChildConstrained(mCollapseButtonView, widthMeasureSpec, width, in onMeasure()
1577 navWidth = mCollapseButtonView.getMeasuredWidth() + in onMeasure()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java151 private ImageButton mCollapseButtonView; field in Toolbar
1364 if (mCollapseButtonView == null) { in ensureCollapseButtonView()
1365 mCollapseButtonView = new ImageButton(getContext(), null, in ensureCollapseButtonView()
1367 mCollapseButtonView.setImageDrawable(mCollapseIcon); in ensureCollapseButtonView()
1368 mCollapseButtonView.setContentDescription(mCollapseDescription); in ensureCollapseButtonView()
1372 mCollapseButtonView.setLayoutParams(lp); in ensureCollapseButtonView()
1373 mCollapseButtonView.setOnClickListener(new OnClickListener() { in ensureCollapseButtonView()
1592 if (shouldLayout(mCollapseButtonView)) { in onMeasure()
1593 measureChildConstrained(mCollapseButtonView, widthMeasureSpec, width, in onMeasure()
1595 navWidth = mCollapseButtonView.getMeasuredWidth() + in onMeasure()
[all …]