Home
last modified time | relevance | path

Searched refs:mBuildText (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSFooterView.java47 private TextView mBuildText; field in QSFooterView
79 mBuildText = findViewById(R.id.build); in onFinishInflate()
88 if (mBuildText == null) return; in setBuildText()
90 mBuildText.setText(mContext.getString( in setBuildText()
96 mBuildText.setSelected(true); in setBuildText()
99 mBuildText.setText(null); in setBuildText()
101 mBuildText.setSelected(false); in setBuildText()
135 FontSizeUtils.updateFontSizeFromStyle(mBuildText, R.style.TextAppearance_QS_Status_Build); in updateBuildTextResources()
146 .addFloat(mBuildText, "alpha", 0, 1) in createFooterAnimator()
206 mBuildText.setLongClickable(mBuildText.getVisibility() == View.VISIBLE); in updateClickabilities()
[all …]
DQSFooterViewController.java44 private final TextView mBuildText; field in QSFooterViewController
66 mBuildText = mView.findViewById(R.id.build); in QSFooterViewController()
73 mBuildText.setOnLongClickListener(view -> { in onViewAttached()
74 CharSequence buildText = mBuildText.getText(); in onViewAttached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFooterViewControllerTest.java66 private TextView mBuildText; field in QSFooterViewControllerTest
95 when(mView.findViewById(R.id.build)).thenReturn(mBuildText); in setup()
111 verify(mBuildText).setOnLongClickListener(onLongClickCaptor.capture()); in testBuildTextCopy()
113 when(mBuildText.getText()).thenReturn(text); in testBuildTextCopy()
114 onLongClickCaptor.getValue().onLongClick(mBuildText); in testBuildTextCopy()