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

1 2 3 4 5 6 7 8 9

  /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/fragment/src/androidTest/java/androidx/fragment/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/preference/src/main/java/androidx/preference/
PreferenceViewHolder.java 29 * {@link #findViewById(int)}.
40 mCachedViews.put(android.R.id.title, itemView.findViewById(android.R.id.title));
41 mCachedViews.put(android.R.id.summary, itemView.findViewById(android.R.id.summary));
42 mCachedViews.put(android.R.id.icon, itemView.findViewById(android.R.id.icon));
43 mCachedViews.put(R.id.icon_frame, itemView.findViewById(R.id.icon_frame));
45 itemView.findViewById(AndroidResources.ANDROID_R_ICON_FRAME));
56 * yet cached, it falls back to calling {@link View#findViewById(int)} and caches the result.
61 public View findViewById(@IdRes int id) {
66 final View v = itemView.findViewById(id);
CheckBoxPreference.java 95 syncCheckboxView(holder.findViewById(android.R.id.checkbox));
117 View checkboxView = view.findViewById(android.R.id.checkbox);
120 View summaryView = view.findViewById(android.R.id.summary);
  /frameworks/support/samples/SupportTransitionDemos/src/main/java/com/example/android/support/transition/widget/
ExplodeUsage.java 58 mRoot = findViewById(R.id.root);
60 mViews.add(findViewById(R.id.view_1));
61 mViews.add(findViewById(R.id.view_2));
62 mViews.add(findViewById(R.id.view_3));
63 mViews.add(findViewById(R.id.view_4));
65 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));
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ViewStubTest.java 46 assertSame(inflatedView, root.findViewById(inflatedId));
48 assertNull(root.findViewById(stubId));
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
FragmentContextMenuSupport.java 55 registerForContextMenu(root.findViewById(R.id.long_press));
  /developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/settings/
SettingsActivity.java 98 .findViewById(R.id.number_of_datasets_picker);
113 Snackbar.make(SettingsActivity.this.findViewById(R.id.settings_layout),
152 .findViewById(R.id.master_password_field);
174 .findViewById(R.id.master_password_field);
188 ViewGroup container = findViewById(containerId);
189 String switchLabel = ((TextView) container.findViewById(labelId)).getText().toString();
190 final Switch switchView = container.findViewById(switchId);
199 ViewGroup container = findViewById(containerId);
200 TextView buttonLabel = container.findViewById(labelId);
202 ImageView imageView = container.findViewById(imageViewId)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
FragmentContextMenu.java 54 registerForContextMenu(root.findViewById(R.id.long_press));
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
AppCompatDialog.java 100 public <T extends View> T findViewById(@IdRes int id) {
101 return getDelegate().findViewById(id);
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
ClearCallLogDialog.java 131 activity.findViewById(R.id.calllog_frame),
  /packages/apps/Settings/src/com/android/settings/applications/
LayoutPreference.java 79 // Need to create view now so that findViewById can be called immediately.
87 final ViewGroup allDetails = view.findViewById(R.id.all_details);
114 public <T extends View> T findViewById(int id) {
115 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/src/com/android/tv/onboarding/
NewSourcesFragment.java 52 initializeButton(view.findViewById(R.id.setup), ACTION_SETUP);
53 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);
100 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.button));
106 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.image_button));
112 assertDefaultWidgetPointerIconBehavior(mActivity.findViewById(R.id.spinner));
117 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);

Completed in 1187 milliseconds

1 2 3 4 5 6 7 8 9