Home
last modified time | relevance | path

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

1234567

/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;
86 TextView description = templateLayout.findManagedViewById(R.id.sud_layout_subtitle); in tryApplyPartnerCustomizationStyle()
101 public TextView getTextView() { in getTextView()
102 return (TextView) templateLayout.findManagedViewById(R.id.sud_layout_subtitle); in getTextView()
112 final TextView titleView = getTextView(); in setText()
128 final TextView titleView = getTextView(); in setText()
137 final TextView titleView = getTextView(); in getText()
143 final TextView titleView = getTextView(); in setVisibility()
156 final TextView titleView = getTextView(); in setTextColor()
164 final TextView titleView = getTextView(); in getTextColor()
[all …]
DHeaderMixin.java31 import android.widget.TextView;
151 TextView header = templateLayout.findManagedViewById(R.id.suc_layout_title); in tryApplyPartnerCustomizationStyle()
171 public TextView getTextView() { in getTextView()
172 return (TextView) templateLayout.findManagedViewById(R.id.suc_layout_title); in getTextView()
181 final TextView titleView = getTextView(); in setText()
197 final TextView titleView = getTextView(); in setText()
207 private void autoAdjustTextSize(TextView titleView) { in autoAdjustTextSize()
247 final TextView titleView = getTextView(); in getText()
253 final TextView titleView = getTextView(); in setVisibility()
266 final TextView titleView = getTextView(); in setTextColor()
[all …]
/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()
DShadowCountingAdapter.java6 import android.widget.TextView;
38 TextView textView = new TextView(ApplicationProvider.getApplicationContext()); in getView()
/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/
DCrashLogActivity.java21 import android.widget.TextView;
33 TextView txtCrashLog;
39 txtCrashLog = (TextView) findViewById(R.id.txt_crash_log); in onCreate()
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/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/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()
107 public static void applyPartnerCustomizationItemSummaryStyle(TextView summaryTextView) { in applyPartnerCustomizationItemSummaryStyle()
DDescriptionStyler.java19 import android.widget.TextView;
36 public static void applyPartnerCustomizationHeavyStyle(TextView description) { in applyPartnerCustomizationHeavyStyle()
55 public static void applyPartnerCustomizationLightStyle(TextView description) { in applyPartnerCustomizationLightStyle()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DHelpActivity.java29 import android.widget.TextView;
54 TextView subtitle = (TextView) findViewById(R.id.version); in onCreate()
58 ((TextView) findViewById(R.id.help_acks_text)).setMovementMethod(LinkMovementMethod in onCreate()
/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()
/external/skqp/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()
/external/setupdesign/main/src/com/google/android/setupdesign/accessibility/
DLinkAccessibilityHelper.java33 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/deqp/android/package/src/com/drawelements/deqp/execserver/
DExecServerActivity.java31 import android.widget.TextView;
39 private TextView m_statusText;
46 m_statusText = (TextView)findViewById(R.id.status_text); in onCreate()

1234567