Home
last modified time | relevance | path

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

/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java56 private View mPrintButton; field in PrintContentView
143 mPrintButton = findViewById(R.id.print_button); in onFinishInflate()
234 measureChild(mPrintButton, widthMeasureSpec, heightMeasureSpec); in onMeasure()
286 MarginLayoutParams params = (MarginLayoutParams) mPrintButton.getLayoutParams(); in onLayout()
290 printButtonLeft = right - mPrintButton.getMeasuredWidth() - params.getMarginStart(); in onLayout()
294 final int printButtonTop = dynContentBottom - mPrintButton.getMeasuredHeight() / 2; in onLayout()
295 final int printButtonRight = printButtonLeft + mPrintButton.getMeasuredWidth(); in onLayout()
296 final int printButtonBottom = printButtonTop + mPrintButton.getMeasuredHeight(); in onLayout()
298 mPrintButton.layout(printButtonLeft, printButtonTop, printButtonRight, printButtonBottom); in onLayout()
413 mPrintButton.offsetTopAndBottom(dy); in onViewPositionChanged()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java237 private ImageView mPrintButton; field in PrintActivity
1409 mPrintButton = findViewById(R.id.print_button); in bindUi()
1410 mPrintButton.setOnClickListener(clickListener); in bindUi()
1590 if (view == mPrintButton) { in onClick()
1640 mPrintButton.setVisibility(View.GONE); in disableOptionsUi()
1949 mPrintButton.setImageResource(com.android.internal.R.drawable.ic_print); in updateOptionsUi()
1950 mPrintButton.setContentDescription(getString(R.string.print_button)); in updateOptionsUi()
1952 mPrintButton.setImageResource(R.drawable.ic_menu_savetopdf); in updateOptionsUi()
1953 mPrintButton.setContentDescription(getString(R.string.savetopdf_button)); in updateOptionsUi()
1960 mPrintButton.setVisibility(View.GONE); in updateOptionsUi()
[all …]