/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowTextView.java | 15 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/setupdesign/main/src/com/google/android/setupdesign/template/ |
D | HeaderMixin.java | 33 import android.widget.TextView; 81 TextView header = templateLayout.findManagedViewById(R.id.suc_layout_title); in applyPartnerCustomizationStyle() 93 private void applyPartnerCustomizationStyle(Context context, @Nullable TextView header) { in applyPartnerCustomizationStyle() 140 public TextView getTextView() { in getTextView() 141 return (TextView) templateLayout.findManagedViewById(R.id.suc_layout_title); in getTextView() 150 final TextView titleView = getTextView(); in setText() 162 final TextView titleView = getTextView(); in setText() 170 final TextView titleView = getTextView(); in getText() 175 final TextView titleView = getTextView(); in setTextSize() 188 final TextView titleView = getTextView(); in setTextColor() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTextViewTest.java | 37 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 …]
|
D | ShadowLayoutInflaterTest.java | 32 import android.widget.TextView; 66 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize() 74 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnScreenSize() 82 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnQualifiers() 107 assertThat(mediaView.<TextView>findViewById(R.id.title)).isInstanceOf(TextView.class); in testFindsChildrenById() 125 assertThat(mediaView.<TextView>findViewById(R.id.include_id)).isInstanceOf(TextView.class); in testInclude() 143 assertThat(mediaView.<TextView>findViewById(R.id.inner_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedMergeWhenIncludeSpecifiesNoId() 149 assertThat(mediaView.<TextView>findViewById(R.id.snippet_text)).isInstanceOf(TextView.class); in shouldRetainIdOnIncludedNonMergeWhenIncludeSpecifiesNoId() 157 assertThat(overrideIncludeView.<TextView>findViewById(R.id.inner_text)) in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge() 158 .isInstanceOf(TextView.class); in testIncludedIdShouldNotBeFoundWhenIncludedIsMerge() [all …]
|
D | ViewInnerTextTest.java | 9 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()
|
D | ShadowTabSpecTest.java | 13 import android.widget.TextView; 79 TextView tv = new TextView(context); in shouldSetTheContentView() 85 TextView textView = (TextView) shadowFoo.getContentView(); in shouldSetTheContentView()
|
D | ShadowTabHostTest.java | 13 import android.widget.TextView; 121 TextView tv = new TextView(context); in shouldRetrieveTheCurrentViewFromTabContentFactory() 128 TextView textView = (TextView) tabHost.getCurrentView(); in shouldRetrieveTheCurrentViewFromTabContentFactory() 142 TextView textView = (TextView) tabHost.getCurrentView(); in shouldRetrieveTheCurrentViewFromViewId()
|
D | ShadowCountingAdapter.java | 6 import android.widget.TextView; 38 TextView textView = new TextView(ApplicationProvider.getApplicationContext()); in getView()
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | DescriptionStyler.java | 7 import android.widget.TextView; 14 public static void applyPartnerCustomizationStyle(TextView description) { in applyPartnerCustomizationStyle() 51 static void setTextSize(TextView description, float size) { in setTextSize() 58 static void setFontFamily(TextView description, Typeface fontFamily) { in setFontFamily() 65 static void setTextColor(TextView description, int color) { in setTextColor() 72 static void setLinkTextColor(TextView description, int color) { in setLinkTextColor() 79 static void setGravity(TextView description, int gravity) { in setGravity()
|
D | LinkAccessibilityHelper.java | 36 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/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | HudFragment.java | 20 import android.widget.TextView; 32 private TextView encoderStatView; 33 private TextView hudViewBwe; 34 private TextView hudViewConnection; 35 private TextView hudViewVideoSend; 36 private TextView hudViewVideoRecv; 49 encoderStatView = (TextView) controlView.findViewById(R.id.encoder_stat_call); in onCreateView() 50 hudViewBwe = (TextView) controlView.findViewById(R.id.hud_stat_bwe); in onCreateView() 51 hudViewConnection = (TextView) controlView.findViewById(R.id.hud_stat_connection); in onCreateView() 52 hudViewVideoSend = (TextView) controlView.findViewById(R.id.hud_stat_video_send); in onCreateView() [all …]
|
D | CallFragment.java | 21 import android.widget.TextView; 30 private TextView contactView; 34 private TextView captureFormatText; 58 (TextView) controlView.findViewById(R.id.contact_name_call); in onCreateView() 66 (TextView) controlView.findViewById(R.id.capture_format_text_call); in onCreateView()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | KeyboardConfigDialogPreference.java | 30 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()
|
D | SliderPreference.java | 22 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()
|
D | ConversationDialogActivity.java | 35 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/ |
D | TapLatencyFragment.java | 30 import android.widget.TextView; 46 private TextView logTextView; 47 private TextView tapCatcherView; 48 private TextView tapCountsView; 49 private TextView moveCountsView; 154 tapCatcherView = (TextView) view.findViewById(R.id.tap_catcher); in onCreateView() 155 logTextView = (TextView) view.findViewById(R.id.txt_log_tap_latency); in onCreateView() 156 tapCountsView = (TextView) view.findViewById(R.id.txt_tap_counts); in onCreateView() 157 moveCountsView = (TextView) view.findViewById(R.id.txt_move_count); in onCreateView()
|
D | CrashLogActivity.java | 22 import android.widget.TextView; 32 TextView txtCrashLog; 38 txtCrashLog = (TextView) findViewById(R.id.txt_crash_log); in onCreate()
|
/external/grpc-grpc/src/android/test/interop/app/src/main/java/io/grpc/interop/cpp/ |
D | InteropActivity.java | 29 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/robolectric/src/test/java/org/robolectric/android/ |
D | FragmentTestUtilTest.java | 14 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/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/ |
D | SupportFragmentTestUtilTest.java | 14 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/skia/platform_tools/android/apps/viewer/src/main/java/org/skia/viewer/ |
D | StateAdapter.java | 16 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/ |
D | StateAdapter.java | 16 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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | HelpActivity.java | 29 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/grpc-grpc-java/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/ |
D | HelloworldActivity.java | 30 import android.widget.TextView; 46 private TextView resultText; 56 resultText = (TextView) findViewById(R.id.grpc_response_text); in onCreate() 112 TextView resultText = (TextView) activity.findViewById(R.id.grpc_response_text); in onPostExecute()
|
/external/deqp/android/package/src/com/drawelements/deqp/execserver/ |
D | ExecServerActivity.java | 31 import android.widget.TextView; 39 private TextView m_statusText; 46 m_statusText = (TextView)findViewById(R.id.status_text); in onCreate()
|