/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | TextSizeHelper.java | 33 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()
|
D | TextSizeHelper.kt | 28 class TextSizeHelper(private val mTextView: TextView) { constant in com.android.deskclock.widget.TextSizeHelper 34 private val mMaxTextSize: Float = mTextView.textSize 49 mTextView.compoundPaddingLeft - mTextView.compoundPaddingRight) in onMeasure() 55 mTextView.compoundPaddingTop - mTextView.compoundPaddingBottom) in onMeasure() 58 if (mTextView.isLayoutRequested || in onMeasure() 72 mTextView.requestLayout() in onTextChanged() 81 val text = mTextView.text in adjustTextSize() 85 mMeasurePaint.set(mTextView.paint) in adjustTextSize() 104 if (mTextView.textSize != textSize) { in adjustTextSize() 106 mTextView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSize) in adjustTextSize()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | BaseCardView.java | 50 @Nullable private TextView mTextView; field in BaseCardView 104 mTextView = (TextView) findViewById(R.id.card_text); in onFinishInflate() 155 if (mTextView != null) { in setText() 156 mTextView.setText(resId); in setText() 171 if (mTextView != null) { in setText() 172 mTextView.setText(text); in setText() 179 if (mTextView != null && mTextViewFocused != null) { in onTextViewUpdated() 198 if (mTextView != null) { in setTextViewEnabled() 199 mTextView.setEnabled(enabled); in setTextViewEnabled() 226 if (mTextView != null && mTextViewFocused != null) { in onSetFocusAnimatedValue() [all …]
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
D | PMCMainActivity.java | 58 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/ |
D | TextViewPreference.java | 45 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/apps/Settings/src/com/android/settings/widget/ |
D | SwitchBar.java | 77 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SwitchBar.java | 79 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/DeskClock/src/com/android/deskclock/ |
D | TimerTextController.java | 30 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/Car/Dialer/src/com/android/car/dialer/ui/calllog/ |
D | CallLogViewHolder.java | 48 private TextView mTextView; field in CallLogViewHolder 62 mTextView = itemView.findViewById(R.id.text); in CallLogViewHolder() 87 mTextView.setText(uiCallLog.getText()); in bind() 92 mTextView.setTextAppearance(R.style.TextAppearance_CallLogTimestampMissedCall); in bind() 96 mTextView.setTextAppearance(R.style.TextAppearance_CallLogTimestampDefault); in bind()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PhoneNumberFormatter.java | 36 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/ |
D | CompoundButtonItem.java | 32 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()
|
D | CustomizeChannelListFragment.java | 258 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/ |
D | VmsSubscriberClientSampleActivity.java | 46 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/diagnostic/ |
D | DiagnosticTestFragment.java | 47 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/ |
D | KeyChainTestActivity.java | 59 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/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactListViewHolder.java | 47 private final TextView mTextView; field in ContactListViewHolder 59 mTextView = itemView.findViewById(R.id.text); in ContactListViewHolder() 83 if (mTextView == null) { in setLabelText() 100 mTextView.setText(readableLabel); in setLabelText()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothNameDialogFragmentTest.java | 34 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/ |
D | HeaderMessageDocumentHolder.java | 36 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/ |
D | CollapsibleCheckboxPreferenceGroup.java | 47 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/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | MenuItemRenderer.java | 66 private TextView mTextView; field in MenuItemRenderer 105 mTextView = requireViewByRefId(mView, R.id.car_ui_toolbar_menu_item_text); in createView() 135 mTextView.setVisibility(View.GONE); in updateView() 150 mTextView.setText(mMenuItem.getTitle()); in updateView() 151 mTextView.setVisibility(View.VISIBLE); in updateView()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationMainView.java | 76 private TextView mTextView; field in NotificationMainView 107 mTextView = mTextAndBackground.findViewById(R.id.text); in onFinishInflate() 128 mTextView.setText(text.toString()); in applyNotificationInfo() 132 mTextView.setVisibility(GONE); in applyNotificationInfo()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | ChannelsBlockedFragment.java | 160 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/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryPreferenceTest.java | 53 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/Settings/src/com/android/settings/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 174 private final TextView mTextView; field in BaseTimeZoneAdapter.HeaderViewHolder 178 mTextView = itemView.findViewById(android.R.id.title); in HeaderViewHolder() 182 mTextView.setText(text); in setText()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/ |
D | BaseTimeZoneAdapter.java | 174 private final TextView mTextView; field in BaseTimeZoneAdapter.HeaderViewHolder 178 mTextView = itemView.findViewById(android.R.id.title); in HeaderViewHolder() 182 mTextView.setText(text); in setText()
|