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

1 2 3 4 5 6

  /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));
  /cts/tests/app/src/android/app/cts/
FragmentReplaceTest.java 49 assertNotNull(mActivity.findViewById(R.id.textA));
50 assertNull(mActivity.findViewById(R.id.textB));
51 assertNull(mActivity.findViewById(R.id.textC));
58 assertNotNull(mActivity.findViewById(R.id.textA));
59 assertNotNull(mActivity.findViewById(R.id.textB));
60 assertNull(mActivity.findViewById(R.id.textC));
67 assertNull(mActivity.findViewById(R.id.textA));
68 assertNull(mActivity.findViewById(R.id.textB));
69 assertNotNull(mActivity.findViewById(R.id.textC));
  /developers/build/prebuilts/gradle/LNotifications/Application/tests/src/com/example/android/lnotifications/
HeadsUpNotificationFragmentTest.java 34 assertNotNull(mActivity.findViewById(R.id.heads_up_notification_description));
35 assertNotNull(mActivity.findViewById(R.id.show_notification_button));
36 assertNotNull(mActivity.findViewById(R.id.use_heads_up_checkbox));
VisibilityMetadataFragmentTest.java 34 assertNotNull(mActivity.findViewById(R.id.visibility_metadata_notification_description));
35 assertNotNull(mActivity.findViewById(R.id.visibility_radio_group));
36 assertNotNull(mActivity.findViewById(R.id.visibility_private_radio_button));
37 assertNotNull(mActivity.findViewById(R.id.visibility_secret_radio_button));
38 assertNotNull(mActivity.findViewById(R.id.visibility_public_radio_button));
39 assertNotNull(mActivity.findViewById(R.id.show_notification_button));
OtherMetadataFragmentTest.java 43 assertNotNull(mActivity.findViewById(R.id.attach_person));
44 assertNotNull(mActivity.findViewById(R.id.category_spinner));
45 assertNotNull(mActivity.findViewById(R.id.priority_spinner));
46 assertNotNull(mActivity.findViewById(R.id.show_notification_button));
  /developers/samples/android/notification/LNotifications/Application/tests/src/com/example/android/lnotifications/
HeadsUpNotificationFragmentTest.java 34 assertNotNull(mActivity.findViewById(R.id.heads_up_notification_description));
35 assertNotNull(mActivity.findViewById(R.id.show_notification_button));
36 assertNotNull(mActivity.findViewById(R.id.use_heads_up_checkbox));
VisibilityMetadataFragmentTest.java 34 assertNotNull(mActivity.findViewById(R.id.visibility_metadata_notification_description));
35 assertNotNull(mActivity.findViewById(R.id.visibility_radio_group));
36 assertNotNull(mActivity.findViewById(R.id.visibility_private_radio_button));
37 assertNotNull(mActivity.findViewById(R.id.visibility_secret_radio_button));
38 assertNotNull(mActivity.findViewById(R.id.visibility_public_radio_button));
39 assertNotNull(mActivity.findViewById(R.id.show_notification_button));
OtherMetadataFragmentTest.java 43 assertNotNull(mActivity.findViewById(R.id.attach_person));
44 assertNotNull(mActivity.findViewById(R.id.category_spinner));
45 assertNotNull(mActivity.findViewById(R.id.priority_spinner));
46 assertNotNull(mActivity.findViewById(R.id.show_notification_button));
  /frameworks/support/fragment/tests/java/android/support/v4/app/
FragmentReplaceTest.java 52 assertNotNull(mActivity.findViewById(R.id.textA));
53 assertNull(mActivity.findViewById(R.id.textB));
54 assertNull(mActivity.findViewById(R.id.textC));
62 assertNotNull(mActivity.findViewById(R.id.textA));
63 assertNotNull(mActivity.findViewById(R.id.textB));
64 assertNull(mActivity.findViewById(R.id.textC));
71 assertNull(mActivity.findViewById(R.id.textA));
72 assertNull(mActivity.findViewById(R.id.textB));
73 assertNotNull(mActivity.findViewById(R.id.textC));
FragmentTest.java 131 ViewGroup content = (ViewGroup) mActivity.findViewById(R.id.content);
133 assertNotNull(content.getChildAt(0).findViewById(R.id.textA));
134 assertNotNull(content.getChildAt(1).findViewById(R.id.textB));
135 assertNotNull(content.getChildAt(2).findViewById(R.id.textC));
  /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 44 View redSquare = mActivity.findViewById(R.id.redSquare);
48 assertNotNull(mSceneRoot.findViewById(R.id.redSquare));
52 assertNull(mSceneRoot.findViewById(R.id.redSquare));
68 View redSquare = mActivity.findViewById(R.id.redSquare);
72 assertNotNull(mSceneRoot.findViewById(R.id.redSquare));
76 assertNull(mSceneRoot.findViewById(R.id.redSquare));
91 View redSquare = mActivity.findViewById(R.id.redSquare);
95 assertNotNull(mSceneRoot.findViewById(R.id.redSquare));
98 assertNull(mSceneRoot.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/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 27 * {@link #findViewById(int)}.
38 mCachedViews.put(android.R.id.title, itemView.findViewById(android.R.id.title));
39 mCachedViews.put(android.R.id.summary, itemView.findViewById(android.R.id.summary));
40 mCachedViews.put(android.R.id.icon, itemView.findViewById(android.R.id.icon));
41 mCachedViews.put(R.id.icon_frame, itemView.findViewById(R.id.icon_frame));
43 itemView.findViewById(AndroidResources.ANDROID_R_ICON_FRAME));
48 * yet cached, it falls back to calling {@link View#findViewById(int)} and caches the result.
53 public View findViewById(@IdRes int id) {
58 final View v = itemView.findViewById(id);
CheckBoxPreference.java 91 syncCheckboxView(holder.findViewById(android.R.id.checkbox));
112 View checkboxView = view.findViewById(android.R.id.checkbox);
115 View summaryView = view.findViewById(android.R.id.summary);
  /packages/apps/Settings/src/com/android/settings/applications/
LayoutPreference.java 45 // Need to create view now so that findViewById can be called immediately.
63 final ViewGroup allDetails = (ViewGroup) view.findViewById(R.id.all_details);
82 public View findViewById(int id) {
83 return mRootView.findViewById(id);
  /packages/apps/TV/common/src/com/android/tv/common/ui/setup/
SetupMultiPaneFragment.java 41 setOnClickAction(view.findViewById(R.id.button_done), getActionCategory(), ACTION_DONE);
43 View doneButtonContainer = view.findViewById(R.id.done_button_container);
55 view.findViewById(R.id.button_done).setFocusable(false);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentContextMenu.java 54 registerForContextMenu(root.findViewById(R.id.long_press));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationOverflowContainer.java 45 mIconsView = (NotificationOverflowIconsView) findViewById(R.id.overflow_icons_view);
46 mIconsView.setMoreText((TextView) findViewById(R.id.more_text));
47 mIconsView.setOverflowIndicator(findViewById(R.id.more_icon_overflow));
48 mContent = findViewById(R.id.content);
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
AppCompatDialog.java 95 public View findViewById(@IdRes int id) {
96 return getDelegate().findViewById(id);
  /packages/apps/TV/src/com/android/tv/onboarding/
NewSourcesFragment.java 57 initializeButton(view.findViewById(R.id.setup), ACTION_SETUP);
58 initializeButton(view.findViewById(R.id.skip), ACTION_SKIP);
  /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)

Completed in 548 milliseconds

1 2 3 4 5 6