Home
last modified time | relevance | path

Searched refs:TextView (Results 1 – 25 of 200) sorted by relevance

12345678

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTextView.java15 import android.widget.TextView;
26 @Implements(TextView.class)
28 @RealObject TextView realTextView;
31 private TextView.BufferType bufferType = TextView.BufferType.NORMAL;
44 private TextView.OnEditorActionListener onEditorActionListener;
67 directlyOn(realTextView, TextView.class).setTextAppearance(context, resid); in setTextAppearance()
74 return directlyOn(realTextView, TextView.class).onKeyDown(keyCode, event); in onKeyDown()
81 return directlyOn(realTextView, TextView.class).onKeyUp(keyCode, event); in onKeyUp()
110 directlyOn(realTextView, TextView.class).addTextChangedListener(watcher); in addTextChangedListener()
116 directlyOn(realTextView, TextView.class).removeTextChangedListener(watcher); in removeTextChangedListener()
[all …]
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DStreamConfigurationView.java29 import android.widget.TextView;
48 private TextView mActualNativeApiView;
50 private TextView mActualMMapView;
52 private TextView mActualExclusiveView;
53 private TextView mActualPerformanceView;
59 private TextView mActualChannelCountView;
60 private TextView mActualFormatView;
62 private TextView mActualInputPresetView;
68 private TextView mActualSampleRateView;
72 private TextView mActualSessionIdView;
[all …]
DMainActivity.java36 import android.widget.TextView;
56 private TextView mCallbackSizeEditor;
57 protected TextView mDeviceView;
58 private TextView mVersionTextView;
59 private TextView mBuildTextView;
60 private TextView mBluetoothScoStatusView;
73 mVersionTextView = (TextView) findViewById(R.id.versionText); in onCreate()
74 mCallbackSizeEditor = (TextView) findViewById(R.id.callbackSize); in onCreate()
76 mDeviceView = (TextView) findViewById(R.id.deviceView); in onCreate()
111 mBuildTextView = (TextView) findViewById(R.id.text_build_info); in onCreate()
[all …]
DEchoActivity.java24 import android.widget.TextView;
36 protected TextView mTextDelayTime;
44 private TextView mStatusTextView;
150 mStatusTextView = (TextView) findViewById(R.id.text_status); in onCreate()
152 mTextDelayTime = (TextView) findViewById(R.id.text_delay_time); in onCreate()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DDescriptionMixin.java26 import android.widget.TextView;
84 TextView description = templateLayout.findManagedViewById(R.id.sud_layout_subtitle); in tryApplyPartnerCustomizationStyle()
91 public TextView getTextView() { in getTextView()
92 return (TextView) templateLayout.findManagedViewById(R.id.sud_layout_subtitle); in getTextView()
102 final TextView titleView = getTextView(); in setText()
118 final TextView titleView = getTextView(); in setText()
127 final TextView titleView = getTextView(); in getText()
133 final TextView titleView = getTextView(); in setVisibility()
146 final TextView titleView = getTextView(); in setTextColor()
154 final TextView titleView = getTextView(); in getTextColor()
[all …]
DHeaderMixin.java32 import android.widget.TextView;
164 TextView header = templateLayout.findManagedViewById(R.id.suc_layout_title); in tryApplyPartnerCustomizationStyle()
180 public TextView getTextView() { in getTextView()
181 return (TextView) templateLayout.findManagedViewById(R.id.suc_layout_title); in getTextView()
190 final TextView titleView = getTextView(); in setText()
206 final TextView titleView = getTextView(); in setText()
216 private void autoAdjustTextSize(TextView titleView) { in autoAdjustTextSize()
254 private void resetTextSize(TextView titleView) { in resetTextSize()
286 final TextView titleView = getTextView(); in getText()
292 final TextView titleView = getTextView(); in setVisibility()
[all …]
DProfileMixin.java25 import android.widget.TextView;
62 final TextView accountView = getAccountNameView(); in setAccountName()
163 final TextView accountView = getAccountNameView(); in tryApplyPartnerCustomizationStyle()
173 final TextView accountView = getAccountNameView(); in getAccountName()
184 private TextView getAccountNameView() { in getAccountNameView()
185 return (TextView) templateLayout.findManagedViewById(R.id.sud_account_name); in getAccountNameView()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTextViewTest.java37 import android.widget.TextView;
57 private TextView textView;
64 textView = new TextView(activity); in setUp()
141 TextView black = (TextView) activity.findViewById(R.id.black_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
145 TextView white = (TextView) activity.findViewById(R.id.white_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
149 TextView grey = (TextView) activity.findViewById(R.id.grey_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
159 TextView black = (TextView) activity.findViewById(R.id.black_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
163 TextView white = (TextView) activity.findViewById(R.id.white_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
167 TextView grey = (TextView) activity.findViewById(R.id.grey_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
328 textView.setText("1", TextView.BufferType.EDITABLE); in append_whenSelectionIsAtTheEnd_shouldKeepSelectionAtTheEnd()
[all …]
DShadowLayoutInflaterTest.java33 import android.widget.TextView;
67 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize()
75 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnScreenSize()
83 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnQualifiers()
108 assertThat(mediaView.<TextView>findViewById(R.id.title)).isInstanceOf(TextView.class); in testFindsChildrenById()
126 assertThat(mediaView.<TextView>findViewById(R.id.include_id)).isInstanceOf(TextView.class); in testInclude()
144 assertThat(mediaView.<TextView>findViewById(R.id.inner_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedMergeWhenIncludeSpecifiesNoId()
150 assertThat(mediaView.<TextView>findViewById(R.id.snippet_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedNonMergeWhenIncludeSpecifiesNoId()
158 assertThat(overrideIncludeView.<TextView>findViewById(R.id.inner_text)) in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge()
159 .isInstanceOf(TextView.class); in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge()
[all …]
DViewInnerTextTest.java9 import android.widget.TextView;
66 private TextView textView(String text) { in textView()
70 private TextView textView(String text, int visibility) { in textView()
71 TextView textView = new TextView(context); in textView()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowLayoutInflaterTest.java38 import android.widget.TextView;
72 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize()
80 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnScreenSize()
88 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnQualifiers()
113 assertThat(mediaView.<TextView>findViewById(R.id.title)).isInstanceOf(TextView.class); in testFindsChildrenById()
131 assertThat(mediaView.<TextView>findViewById(R.id.include_id)).isInstanceOf(TextView.class); in testInclude()
149 assertThat(mediaView.<TextView>findViewById(R.id.inner_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedMergeWhenIncludeSpecifiesNoId()
155 assertThat(mediaView.<TextView>findViewById(R.id.snippet_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedNonMergeWhenIncludeSpecifiesNoId()
163 assertThat(overrideIncludeView.<TextView>findViewById(R.id.inner_text)) in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge()
164 .isInstanceOf(TextView.class); in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge()
[all …]
DShadowTextViewTest.java37 import android.widget.TextView;
57 private TextView textView;
64 textView = new TextView(activity); in setUp()
141 TextView black = activity.findViewById(R.id.black_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
145 TextView white = activity.findViewById(R.id.white_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
149 TextView grey = activity.findViewById(R.id.grey_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
159 TextView black = activity.findViewById(R.id.black_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
163 TextView white = activity.findViewById(R.id.white_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
167 TextView grey = activity.findViewById(R.id.grey_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
328 textView.setText("1", TextView.BufferType.EDITABLE); in append_whenSelectionIsAtTheEnd_shouldKeepSelectionAtTheEnd()
[all …]
DViewInnerTextTest.java9 import android.widget.TextView;
66 private TextView textView(String text) { in textView()
70 private TextView textView(String text, int visibility) { in textView()
71 TextView textView = new TextView(context); in textView()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTextView.java9 import android.widget.TextView;
22 @Implements(TextView.class)
24 @RealObject TextView realTextView;
26 private TextView.OnEditorActionListener onEditorActionListener;
116 protected void setOnEditorActionListener(TextView.OnEditorActionListener l) { in setOnEditorActionListener()
121 public TextView.OnEditorActionListener getOnEditorActionListener() { in getOnEditorActionListener()
151 @ForType(TextView.class)
170 void setOnEditorActionListener(TextView.OnEditorActionListener l); in setOnEditorActionListener()
/external/replicaisland/src/com/replica/replicaisland/
DKeyboardConfigDialogPreference.java30 import android.widget.TextView;
52 private TextView mLeftText;
53 private TextView mRightText;
54 private TextView mJumpText;
55 private TextView mAttackText;
101 mLeftText = (TextView)view.findViewById(R.id.key_left); in onBindDialogView()
104 mRightText = (TextView)view.findViewById(R.id.key_right); in onBindDialogView()
107 mJumpText = (TextView)view.findViewById(R.id.key_jump); in onBindDialogView()
110 mAttackText = (TextView)view.findViewById(R.id.key_attack); in onBindDialogView()
DSliderPreference.java22 import android.widget.TextView;
67 TextView minText = (TextView)view.findViewById(R.id.min); in onBindView()
72 TextView maxText = (TextView)view.findViewById(R.id.max); in onBindView()
DConversationDialogActivity.java35 import android.widget.TextView;
85 private void formatPages(Conversation conversation, TextView textView) { in formatPages()
192 TextView title = (TextView)findViewById(R.id.speakername); in showPage()
204 TextView textView = (TextView)findViewById(R.id.typewritertext); in processText()
218 public static class TypewriterTextView extends TextView {
279 setText(subtext, TextView.BufferType.SPANNABLE); in onDraw()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTapLatencyFragment.java30 import android.widget.TextView;
48 private TextView logTextView;
49 private TextView tapCatcherView;
50 private TextView tapCountsView;
51 private TextView moveCountsView;
157 tapCatcherView = (TextView) view.findViewById(R.id.tap_catcher); in onCreateView()
158 logTextView = (TextView) view.findViewById(R.id.txt_log_tap_latency); in onCreateView()
159 tapCountsView = (TextView) view.findViewById(R.id.txt_tap_counts); in onCreateView()
160 moveCountsView = (TextView) view.findViewById(R.id.txt_move_count); in onCreateView()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DItemStyler.java26 import android.widget.TextView;
61 final TextView titleTextView = listItemView.findViewById(R.id.sud_items_title); in applyPartnerCustomizationItemStyle()
66 TextView summaryTextView = listItemView.findViewById(R.id.sud_items_summary); in applyPartnerCustomizationItemStyle()
85 public static void applyPartnerCustomizationItemTitleStyle(TextView titleTextView) { in applyPartnerCustomizationItemTitleStyle()
108 public static void applyPartnerCustomizationItemSummaryStyle(TextView summaryTextView) { in applyPartnerCustomizationItemSummaryStyle()
/external/robolectric/robolectric/src/test/java/org/robolectric/android/
DFragmentTestUtilTest.java14 import android.widget.TextView;
29 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartFragment()
39 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartFragment()
57 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartFragmentWithSpecifiedActivityClass()
68 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartFragmentWithSpecifiedActivityClass()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DFragmentTestUtilTest.java14 import android.widget.TextView;
29 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartFragment()
39 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartFragment()
57 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartFragmentWithSpecifiedActivityClass()
68 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartFragmentWithSpecifiedActivityClass()
/external/grpc-grpc/src/android/test/interop/app/src/main/java/io/grpc/interop/cpp/
DInteropActivity.java29 import android.widget.TextView;
41 private TextView resultText;
51 resultText = (TextView) findViewById(R.id.grpc_result_text); in onCreate()
102 TextView resultText = (TextView) activity.findViewById(R.id.grpc_result_text); in onPostExecute()
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DSupportFragmentTestUtilTest.java14 import android.widget.TextView;
30 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartSupportFragment()
40 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartSupportFragment()
58 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartSupportFragmentWithSpecifiedActivityClass()
69 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartSupportFragmentWithSpecifiedActivityClass()
/external/setupdesign/main/src/com/google/android/setupdesign/accessibility/
DLinkAccessibilityHelper.java30 import android.widget.TextView;
74 public LinkAccessibilityHelper(TextView view) { in LinkAccessibilityHelper()
149 private final TextView view;
151 PreOLinkAccessibilityHelper(TextView view) { in PreOLinkAccessibilityHelper()
295 private static int getOffsetForPosition(TextView view, float x, float y) { in getOffsetForPosition()
303 private static float convertToLocalHorizontalCoordinate(TextView view, float x) { in convertToLocalHorizontalCoordinate()
312 private static int getLineAtCoordinate(TextView view, float y) { in getLineAtCoordinate()
321 private static int getOffsetAtCoordinate(TextView view, int line, float x) { in getOffsetAtCoordinate()
/external/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/
DStateAdapter.java16 import android.widget.TextView;
106 TextView nameText = (TextView) itemView.findViewById(R.id.nameText); in populateView()
107 TextView valueText = (TextView) itemView.findViewById(R.id.valueText); in populateView()
197 String stateName = ((TextView) stateItem.findViewById(R.id.nameText)).getText().toString(); in onItemSelected()
198 String stateValue = ((TextView) view).getText().toString(); in onItemSelected()

12345678