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

1 2 3 4 5 6 7

  /device/google/accessory/demokit/app/src/com/google/android/DemoKit/
AccessoryController.java 14 protected View findViewById(int id) {
15 return mHostActivity.findViewById(id);
  /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));
  /frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
ExplodeUsage.java 57 mRoot = findViewById(R.id.root);
59 mViews.add(findViewById(R.id.view_1));
60 mViews.add(findViewById(R.id.view_2));
61 mViews.add(findViewById(R.id.view_3));
62 mViews.add(findViewById(R.id.view_4));
64 findViewById(R.id.toggle).setOnClickListener(new View.OnClickListener() {
  /packages/apps/Email/src/com/android/email/activity/
UiUtilities.java 31 * Same as {@link View#findViewById}, but crashes if there's no view.
35 return (T) checkView(parent.findViewById(viewId));
58 setVisibilitySafe(parent.findViewById(viewId), visibility);
  /cts/tests/tests/transition/src/android/transition/cts/
SceneTest.java 58 View redSquare = mActivity.findViewById(R.id.redSquare);
62 assertNotNull(mSceneRoot.findViewById(R.id.redSquare));
66 assertNull(mSceneRoot.findViewById(R.id.redSquare));
110 View redSquare = mActivity.findViewById(R.id.redSquare);
114 assertNotNull(mSceneRoot.findViewById(R.id.redSquare));
CaptureValuesTest.java 65 set.addTarget(mActivity.findViewById(R.id.redSquare));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ViewStubTest.java 42 assertSame(inflatedView, root.findViewById(inflatedId));
44 assertNull(root.findViewById(stubId));
  /frameworks/support/fragment/tests/java/android/support/v4/app/
FragmentReplaceTest.java 67 assertNotNull(activity.findViewById(R.id.textA));
68 assertNull(activity.findViewById(R.id.textB));
69 assertNull(activity.findViewById(R.id.textC));
77 assertNotNull(activity.findViewById(R.id.textA));
78 assertNotNull(activity.findViewById(R.id.textB));
79 assertNull(activity.findViewById(R.id.textC));
86 assertNull(activity.findViewById(R.id.textA));
87 assertNull(activity.findViewById(R.id.textB));
88 assertNotNull(activity.findViewById(R.id.textC));
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentContextMenuSupport.java 54 registerForContextMenu(root.findViewById(R.id.long_press));
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceViewHolder.java 28 * {@link #findViewById(int)}.
39 mCachedViews.put(android.R.id.title, itemView.findViewById(android.R.id.title));
40 mCachedViews.put(android.R.id.summary, itemView.findViewById(android.R.id.summary));
41 mCachedViews.put(android.R.id.icon, itemView.findViewById(android.R.id.icon));
42 mCachedViews.put(R.id.icon_frame, itemView.findViewById(R.id.icon_frame));
44 itemView.findViewById(AndroidResources.ANDROID_R_ICON_FRAME));
55 * yet cached, it falls back to calling {@link View#findViewById(int)} and caches the result.
60 public View findViewById(@IdRes int id) {
65 final View v = itemView.findViewById(id);
CheckBoxPreference.java 94 syncCheckboxView(holder.findViewById(android.R.id.checkbox));
116 View checkboxView = view.findViewById(android.R.id.checkbox);
119 View summaryView = view.findViewById(android.R.id.summary);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentContextMenu.java 54 registerForContextMenu(root.findViewById(R.id.long_press));
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
AppCompatDialog.java 99 public <T extends View> T findViewById(@IdRes int id) {
100 return getDelegate().findViewById(id);
  /packages/apps/Settings/src/com/android/settings/applications/
LayoutPreference.java 49 // Need to create view now so that findViewById can be called immediately.
66 final ViewGroup allDetails = view.findViewById(R.id.all_details);
91 public View findViewById(int id) {
92 return mRootView.findViewById(id);
  /packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
PhotosDeletionPreferenceTest.java 60 (ViewGroup) view.findViewById(android.R.id.widget_frame));
74 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.VISIBLE);
75 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE);
76 assertThat(mHolder.findViewById(android.R.id.widget_frame).getVisibility())
88 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.GONE);
89 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE);
90 assertThat(mHolder.findViewById(android.R.id.checkbox).getVisibility())
  /packages/apps/TV/common/src/com/android/tv/common/ui/setup/
SetupMultiPaneFragment.java 55 setOnClickAction(view.findViewById(R.id.button_done), getActionCategory(), ACTION_DONE);
57 View doneButtonContainer = view.findViewById(R.id.done_button_container);
69 view.findViewById(R.id.button_done).setFocusable(false);
  /packages/apps/TV/src/com/android/tv/onboarding/
NewSourcesFragment.java 63 initializeButton(view.findViewById(R.id.setup), ACTION_SETUP);
64 initializeButton(view.findViewById(R.id.skip), ACTION_SKIP);
  /cts/tests/tests/widget/src/android/widget/cts/
PointerIconTest.java 56 mTopView = mActivity.findViewById(R.id.top);
98 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.button));
104 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.image_button));
110 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.spinner));
115 final TabHost tabHost = (TabHost) mActivity.findViewById(android.R.id.tabhost);
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListActivity.java 149 findViewById(R.id.container), R.string.permission_explanation, Snackbar.LENGTH_LONG)
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListActivity.java 149 findViewById(R.id.container), R.string.permission_explanation, Snackbar.LENGTH_LONG)
  /development/samples/AppNavigation/src/com/example/android/appnavigation/app/
AppNavHomeActivity.java 113 convertView.setTag(convertView.findViewById(android.R.id.text1));
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
AttractionListActivity.java 149 findViewById(R.id.container), R.string.permission_explanation, Snackbar.LENGTH_LONG)
  /development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
MainActivity.java 70 mSetDefaultSmsLayout = (RelativeLayout) findViewById(R.id.set_default_sms_layout);
71 mSendSmsEditText = (EditText) findViewById(R.id.send_sms_edittext);
72 ListView listView = (ListView) findViewById(android.R.id.list);
73 listView.setEmptyView(findViewById(android.R.id.empty));
74 mSendSmsButton = (Button) findViewById(R.id.send_sms_button);
143 Button button = (Button) findViewById(R.id.set_default_sms_button);
  /frameworks/base/core/tests/coretests/src/android/widget/
AppWidgetHostViewTest.java 80 assertNotNull(mHostView.findViewById(R.id.image));
89 assertNull(mHostView.findViewById(R.id.image));
97 assertNotNull(mHostView.findViewById(R.id.image));
107 assertNull(mHostView.findViewById(R.id.image));
118 assertNotNull(mHostView.findViewById(R.id.image));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
MLandActivity.java 33 mLand = findViewById(R.id.world);
34 mLand.setScoreFieldHolder(findViewById(R.id.scores));
35 final View welcome = findViewById(R.id.welcome);
45 final View minus = findViewById(R.id.player_minus_button);
46 final View plus = findViewById(R.id.player_plus_button);
87 findViewById(R.id.player_minus_button).setVisibility(View.INVISIBLE);
88 findViewById(R.id.player_plus_button).setVisibility(View.INVISIBLE);

Completed in 1164 milliseconds

1 2 3 4 5 6 7