HomeSort by relevance Sort by last modified time
    Searched refs:findViewById (Results 1 - 25 of 1587) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /development/samples/ApiDemos/src/com/example/android/apis/view/
SecureViewOverlay.java 53 spoofLayout(findViewById(R.id.secure_view_overlay_description),
54 mActivity.findViewById(R.id.secure_view_description));
55 spoofLayout(findViewById(R.id.secure_view_overlay_button1),
56 mActivity.findViewById(R.id.secure_view_unsecure_button));
57 spoofLayout(findViewById(R.id.secure_view_overlay_button2),
58 mActivity.findViewById(R.id.secure_view_builtin_secure_button));
59 spoofLayout(findViewById(R.id.secure_view_overlay_button3),
60 mActivity.findViewById(R.id.secure_view_custom_secure_button));
DragAndDropDemo.java 36 TextView text = (TextView) findViewById(R.id.drag_text);
37 DraggableDot dot = (DraggableDot) findViewById(R.id.drag_dot_1);
39 dot = (DraggableDot) findViewById(R.id.drag_dot_2);
41 dot = (DraggableDot) findViewById(R.id.drag_dot_3);
44 mHiddenDot = (DraggableDot) findViewById(R.id.drag_dot_hidden);
47 mResultText = (TextView) findViewById(R.id.drag_result_text);
RatingBar1.java 40 mRatingText = (TextView) findViewById(R.id.rating);
44 mIndicatorRatingBar = (RatingBar) findViewById(R.id.indicator_ratingbar);
45 mSmallRatingBar = (RatingBar) findViewById(R.id.small_ratingbar);
48 ((RatingBar)findViewById(R.id.ratingbar1)).setOnRatingBarChangeListener(this);
49 ((RatingBar)findViewById(R.id.ratingbar2)).setOnRatingBarChangeListener(this);
ChronometerDemo.java 42 mChronometer = (Chronometer) findViewById(R.id.chronometer);
45 button = (Button) findViewById(R.id.start);
48 button = (Button) findViewById(R.id.stop);
51 button = (Button) findViewById(R.id.reset);
54 button = (Button) findViewById(R.id.set_format);
57 button = (Button) findViewById(R.id.clear_format);
  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
AccessoryController.java 14 protected View findViewById(int id) {
15 return mHostActivity.findViewById(id);
  /cts/tests/src/android/view/cts/
FocusFinderStubActivity.java 44 layout = (ViewGroup) findViewById(R.id.layout);
45 topLeftButton = (Button) findViewById(R.id.top_left_button);
46 topRightButton = (Button) findViewById(R.id.top_right_button);
47 bottomLeftButton = (Button) findViewById(R.id.bottom_left_button);
48 bottomRightButton = (Button) findViewById(R.id.bottom_right_button);
  /sdk/testapps/javaProjectTest/app/src/com/android/tests/javaprojecttest/app/
Main.java 23 TextView tv = (TextView) findViewById(R.id.app);
26 tv = (TextView) findViewById(R.id.lib1);
29 tv = (TextView) findViewById(R.id.lib2);
32 tv = (TextView) findViewById(R.id.javaProject1);
35 tv = (TextView) findViewById(R.id.javaProject2);
38 tv = (TextView) findViewById(R.id.javaProject3);
41 tv = (TextView) findViewById(R.id.basicJar);
44 tv = (TextView) findViewById(R.id.basicJar2);
47 tv = (TextView) findViewById(R.id.basicJar3);
  /frameworks/base/core/tests/coretests/src/android/widget/focus/
LinearLayoutGrid.java 36 return (ViewGroup) findViewById(R.id.layout);
54 return (LinearLayout) findViewById(R.id.column1);
56 return (LinearLayout) findViewById(R.id.column2);
58 return (LinearLayout) findViewById(R.id.column3);
FocusAfterRemoval.java 38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout);
41 Button topLeftButton = (Button) findViewById(R.id.topLeftButton);
51 Button bottomLeftButton = (Button) findViewById(R.id.bottomLeftButton);
60 final Button topRightButton = (Button) findViewById(R.id.topRightButton);
69 final Button bottomRightButton = (Button) findViewById(R.id.bottomRightButton);
DescendantFocusability.java 43 beforeDescendants = (ViewGroup) findViewById(R.id.beforeDescendants);
46 afterDescendants = (ViewGroup) findViewById(R.id.afterDescendants);
49 blocksDescendants = (ViewGroup) findViewById(R.id.blocksDescendants);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
CustomTitle.java 67 final TextView leftText = (TextView) findViewById(R.id.left_text);
68 final TextView rightText = (TextView) findViewById(R.id.right_text);
69 final EditText leftTextEdit = (EditText) findViewById(R.id.left_text_edit);
70 final EditText rightTextEdit = (EditText) findViewById(R.id.right_text_edit);
71 Button leftButton = (Button) findViewById(R.id.left_text_button);
72 Button rightButton = (Button) findViewById(R.id.right_text_button);
SaveRestoreState.java 81 ((TextView)findViewById(R.id.msg)).setText(R.string.save_restore_msg);
88 return ((EditText)findViewById(R.id.saved)).getText();
95 ((EditText)findViewById(R.id.saved)).setText(text);
  /packages/apps/Dialer/src/com/android/dialer/
PhoneCallDetailsViews.java 55 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name),
56 view.findViewById(R.id.call_type),
57 (CallTypeIconsView) view.findViewById(R.id.call_type_icons),
58 (TextView) view.findViewById(R.id.call_count_and_date),
59 (TextView) view.findViewById(R.id.number),
60 (TextView) view.findViewById(R.id.label));
  /sdk/testapps/libsTest/appTest/src/com/android/tests/libstest/app/
MainActivityTest.java 63 mAppTextView1 = (TextView) a.findViewById(R.id.app_text1);
64 mAppTextView2 = (TextView) a.findViewById(R.id.app_text1);
65 mLib1TextView1 = (TextView) a.findViewById(R.id.lib1_text1);
66 mLib1TextView2 = (TextView) a.findViewById(R.id.lib1_text2);
67 mLib2TextView1 = (TextView) a.findViewById(R.id.lib2_text1);
68 mLib2TextView2 = (TextView) a.findViewById(R.id.lib2_text2);
  /cts/tests/tests/view/src/android/view/cts/
View_IdsTest.java 39 EditText editText = (EditText) activity.findViewById(R.id.entry);
40 Button buttonOk = (Button) activity.findViewById(R.id.ok);
41 Button buttonCancel = (Button) activity.findViewById(R.id.cancel);
42 TextView symbol = (TextView) activity.findViewById(R.id.symbolball);
43 TextView warning = (TextView) activity.findViewById(R.id.warning);
56 assertSame(editText, (EditText) activity.findViewById(0x1111));
60 assertSame(buttonCancel, (Button) activity.findViewById(0x9999));
  /frameworks/base/core/tests/coretests/src/android/widget/scroll/
RequestRectangleVisible.java 44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible);
46 final TextView topBlob = (TextView) findViewById(R.id.topBlob);
47 final TextView bottomBlob = (TextView) findViewById(R.id.bottomBlob);
58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() {
66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() {
74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() {
82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() {
  /development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/
NativeAudio.java 65 Spinner uriSpinner = (Spinner) findViewById(R.id.uri_spinner);
84 ((Button) findViewById(R.id.hello)).setOnClickListener(new OnClickListener() {
91 ((Button) findViewById(R.id.android)).setOnClickListener(new OnClickListener() {
98 ((Button) findViewById(R.id.sawtooth)).setOnClickListener(new OnClickListener() {
105 ((Button) findViewById(R.id.reverb)).setOnClickListener(new OnClickListener() {
115 ((Button) findViewById(R.id.embedded_soundtrack)).setOnClickListener(new OnClickListener() {
128 ((Button) findViewById(R.id.uri_soundtrack)).setOnClickListener(new OnClickListener() {
137 ((Button) findViewById(R.id.pause_uri)).setOnClickListener(new OnClickListener() {
143 ((Button) findViewById(R.id.play_uri)).setOnClickListener(new OnClickListener() {
149 ((Button) findViewById(R.id.loop_uri)).setOnClickListener(new OnClickListener()
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/
RadioGroupPreCheckedTest.java 38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one);
41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two);
53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one);
58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewFlipperActivity.java 39 ViewFlipper flipper = (ViewFlipper) widget.findViewById(R.id.flipper);
43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1);
44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, "
49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3);
50 ((TextView) view.findViewById(R.id.widget_text)).setText("Another very long line of text, "
  /sdk/testapps/libsAndJarTest/app/src/com/android/tests/javaprojecttest/app/
Main.java 19 TextView tv = (TextView) findViewById(R.id.app);
22 tv = (TextView) findViewById(R.id.lib1);
25 tv = (TextView) findViewById(R.id.lib2);
28 tv = (TextView) findViewById(R.id.basicJar);
31 tv = (TextView) findViewById(R.id.basicJar2);
  /cts/tests/tests/widget/src/android/widget/cts/
RemoteViewsActivityTest.java 54 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host);
60 assertTrue("LinearLayout not inflated", result.findViewById(R.id.linear) != null);
61 assertTrue("TextView not inflated", result.findViewById(R.id.text) != null);
62 assertTrue("ImageView not inflated", result.findViewById(R.id.image) != null);
63 assertTrue("FrameLayout not inflated", result.findViewById(R.id.frame) != null);
64 assertTrue("RelateiveLayout not inflated", result.findViewById(R.id.relative) != null);
65 assertTrue("AbsoluteLayout not inflated", result.findViewById(R.id.absolute) != null);
66 assertTrue("ProgressBar not inflated", result.findViewById(R.id.progress) != null);
67 assertTrue("ImageButton not inflated", result.findViewById(R.id.image_button) != null);
68 assertTrue("Button not inflated", result.findViewById(R.id.button) != null)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/
Disabled.java 37 Button disabledButton = (Button) findViewById(R.id.disabledButton);
41 Button disabledButtonA = (Button) findViewById(R.id.disabledButtonA);
46 Button disabledButtonB = (Button) findViewById(R.id.disabledButtonB);
DrawableBgMinSize.java 61 mChangeBackgroundsButton = (Button) findViewById(R.id.change_backgrounds);
64 mTextView = (TextView) findViewById(R.id.text_view);
65 mLinearLayout = (LinearLayout) findViewById(R.id.linear_layout);
66 mRelativeLayout = (RelativeLayout) findViewById(R.id.relative_layout);
67 mFrameLayout = (FrameLayout) findViewById(R.id.frame_layout);
68 mAbsoluteLayout = (AbsoluteLayout) findViewById(R.id.absolute_layout);
IncludeTest.java 41 final View button1 = activity.findViewById(R.id.included_button);
44 final View button2 = activity.findViewById(R.id.included_button_overriden);
52 final View button1 = activity.findViewById(R.id.included_button);
53 final View button2 = activity.findViewById(R.id.included_button_overriden);
64 final View button1 = activity.findViewById(R.id.included_button_visibility);
73 final View button1 = activity.findViewById(R.id.included_button_with_size);
  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LLEditTextThenButton.java 39 mLayout = (LinearLayout) findViewById(R.id.layout);
40 mEditText = (EditText) findViewById(R.id.editText);
41 mButton = (Button) findViewById(R.id.button);

Completed in 429 milliseconds

1 2 3 4 5 6 7 8 91011>>