Home
last modified time | relevance | path

Searched refs:mTextView (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/widget/
DTextSizeHelper.java33 private final TextView mTextView; field in TextSizeHelper
51 mTextView = view; in TextSizeHelper()
59 - mTextView.getCompoundPaddingLeft() - mTextView.getCompoundPaddingRight(); in onMeasure()
65 - mTextView.getCompoundPaddingTop() - mTextView.getCompoundPaddingBottom(); in onMeasure()
68 if (mTextView.isLayoutRequested() || mWidthConstraint != widthConstraint in onMeasure()
82 mTextView.requestLayout(); in onTextChanged()
91 final CharSequence text = mTextView.getText(); in adjustTextSize()
94 mMeasurePaint.set(mTextView.getPaint()); in adjustTextSize()
113 if (mTextView.getTextSize() != textSize) { in adjustTextSize()
115 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize); in adjustTextSize()
/packages/apps/TV/src/com/android/tv/menu/
DBaseCardView.java49 @Nullable private TextView mTextView; field in BaseCardView
103 mTextView = (TextView) findViewById(R.id.card_text); in onFinishInflate()
147 if (mTextView != null) { in setText()
148 mTextView.setText(resId); in setText()
163 if (mTextView != null) { in setText()
164 mTextView.setText(text); in setText()
171 if (mTextView != null && mTextViewFocused != null) { in onTextViewUpdated()
190 if (mTextView != null) { in setTextViewEnabled()
191 mTextView.setEnabled(enabled); in setTextViewEnabled()
218 if (mTextView != null && mTextViewFocused != null) { in onSetFocusAnimatedValue()
[all …]
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DPMCMainActivity.java58 TextView mTextView; field in PMCMainActivity
107 mTextView = (TextView) findViewById(R.id.text_content); in onCreate()
187 mTextView.setText(status); in updateProgressStatus()
209 mTextView.setText("Started downloadng " + filename); in startDownloadFile()
220 mTextView.setText("Stopped download"); in stopDownloadFile()
233 mTextView.setText("Started connectivity scan"); in startConnectivityScan()
243 mTextView.setText("Stopped connectivity scan"); in stopConnectivityScan()
270 mTextView.setText(message); in startGscan()
280 mTextView.setText("Stopped Gscan"); in stopGScan()
292 mTextView.setText("Started iperf client"); in startIperfClient()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DTextViewPreference.java45 private TextView mTextView; field in TextViewPreference
110 mTextView = (TextView) view.findViewById(R.id.text); in onBindView()
129 if (mTextView == null) { in setTitle()
133 mTextView.setMovementMethod(LinkMovementMethod.getInstance()); in setTitle()
134 mTextView.setText(text); in setTitle()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java79 private TextView mTextView; field in SwitchBar
122 mTextView = findViewById(R.id.switch_text); in SwitchBar()
124 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) mTextView.getLayoutParams(); in SwitchBar()
189 mTextView.setText(mLabel); in updateText()
196 mTextView.setText(ssb); in updateText()
219 mTextView.setEnabled(enabled); in setEnabled()
238 mTextView.setEnabled(false); in setDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java77 private TextView mTextView; field in SwitchBar
123 mTextView = findViewById(R.id.switch_text); in SwitchBar()
125 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) mTextView.getLayoutParams(); in SwitchBar()
199 mTextView.setText(mLabel); in updateText()
206 mTextView.setText(ssb); in updateText()
229 mTextView.setEnabled(enabled); in setEnabled()
248 mTextView.setEnabled(false); in setDisabledByAdmin()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerTextController.java30 private final TextView mTextView; field in TimerTextController
33 mTextView = textView; in TimerTextController()
65 String time = Utils.getTimeString(mTextView.getContext(), hours, minutes, seconds); in setTimeString()
70 mTextView.setText(time); in setTimeString()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberFormatter.java36 private final TextView mTextView; field in PhoneNumberFormatter.TextWatcherLoadAsyncTask
42 mTextView = textView; in TextWatcherLoadAsyncTask()
58 mTextView.addTextChangedListener(watcher); in onPostExecute()
62 watcher.afterTextChanged(mTextView.getEditableText()); in onPostExecute()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCompoundButtonItem.java32 private TextView mTextView; field in CompoundButtonItem
68 mTextView = (TextView) view.findViewById(getTitleViewId()); in onBind()
92 mTextView = null; in onUnbind()
115 mTextView.setText(mChecked ? mCheckedTitle : mUncheckedTitle); in updateInternal()
DCustomizeChannelListFragment.java258 private TextView mTextView; field in CustomizeChannelListFragment.SelectGroupItem
272 mTextView = (TextView) view.findViewById(R.id.title); in onBind()
285 mTextView.setText( in onUpdate()
303 mTextView.setText( in onSelected()
/packages/services/Car/tests/VmsSubscriberClientSample/src/com/google/android/car/vms/subscriber/
DVmsSubscriberClientSampleActivity.java46 private TextView mTextView; field in VmsSubscriberClientSampleActivity
61 mTextView = (TextView) findViewById(R.id.textview); in onCreate()
112 mTextView.setText(String.valueOf(payload[0]));
117 mTextView.setText(String.valueOf(availableLayers));
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewHolder.java45 private final TextView mTextView; field in ContactListViewHolder
56 mTextView = itemView.findViewById(R.id.text); in ContactListViewHolder()
75 if (mTextView == null) { in setLabelText()
92 mTextView.setText(readableLabel); in setLabelText()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/diagnostic/
DDiagnosticTestFragment.java47 private final TextView mTextView; field in DiagnosticTestFragment.TestListener
50 mTextView = Objects.requireNonNull(view); in TestListener()
55 mTextView.post(() -> mTextView.setText(carDiagnosticEvent.toString())); in onDiagnosticEvent()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java59 private TextView mTextView; field in KeyChainTestActivity
73 mTextView.append(message + "\n"); in log()
95 mTextView = new TextView(this); in onCreate()
96 mTextView.setMovementMethod(new ScrollingMovementMethod()); in onCreate()
97 setContentView(mTextView); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragmentTest.java34 private TextView mTextView; field in BluetoothNameDialogFragmentTest
41 mTextView = new TextView(RuntimeEnvironment.application); in setUp()
50 mBluetoothNameDialogFragment.onEditorAction(mTextView, EditorInfo.IME_ACTION_DONE, in onEditorAction_dialogNull_shouldNotCrash()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DHeaderMessageDocumentHolder.java36 private final TextView mTextView; field in HeaderMessageDocumentHolder
44 mTextView = (TextView) itemView.findViewById(R.id.message_textview); in HeaderMessageDocumentHolder()
60 mTextView.setText(mMessage.getMessageString()); in bind()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroup.java47 private TextView mTextView; field in CollapsibleCheckboxPreferenceGroup
66 mTextView = (TextView) holder.findViewById(android.R.id.summary); in onBindViewHolder()
68 mTextView.setActivated(mChecked); in onBindViewHolder()
118 mTextView.setActivated(mChecked); in onClick()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java160 private TextView mTextView; field in ChannelsBlockedFragment.BlockAllItem
169 mTextView = (TextView) view.findViewById(R.id.title); in onBind()
181 mTextView = null; in onUnbind()
202 mTextView.setText( in updateText()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java75 private TextView mTextView; field in NotificationMainView
106 mTextView = mTextAndBackground.findViewById(R.id.text); in onFinishInflate()
127 mTextView.setText(text.toString()); in applyNotificationInfo()
131 mTextView.setVisibility(GONE); in applyNotificationInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryHistoryPreferenceTest.java53 private TextView mTextView; field in BatteryHistoryPreferenceTest
71 when(mViewHolder.findViewById(R.id.charge)).thenReturn(mTextView); in setUp()
80 verify(mTextView).setText(nullable(String.class)); in testOnBindViewHolder_updateBatteryUsage()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java48 private TextView mTextView; field in CallLogViewHolder
62 mTextView = itemView.findViewById(R.id.text); in CallLogViewHolder()
88 mTextView.setText(uiCallLog.getText()); in onBind()
/packages/services/Car/tests/CarTrustAgentClientApp/src/com/android/car/trust/client/
DPhoneUnlockController.java54 private TextView mTextView; field in PhoneUnlockController
79 mTextView = textView; in bind()
106 mHandler.post(() -> mTextView.append("\n" + text)); in appendOutputText()
DPhoneEnrolmentController.java56 private TextView mTextView; field in PhoneEnrolmentController
81 mTextView = textView; in bind()
129 mHandler.post(() -> mTextView.append("\n" + text)); in appendOutputText()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditorGrad.java187 TextView mTextView; field in EditorGrad.ParamAdapter
194 mTextView = (TextView) layout.findViewById(textId); in ParamAdapter()
206 mTextView.setText(Integer.toString(value)); in updateValues()
220 mTextView.setText(Integer.toString(value)); in onProgressChanged()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java174 private final TextView mTextView; field in BaseTimeZoneAdapter.HeaderViewHolder
178 mTextView = itemView.findViewById(android.R.id.title); in HeaderViewHolder()
182 mTextView.setText(text); in setText()

12