Searched defs:findViewById (Results 1 - 16 of 16) sorted by relevance

/frameworks/support/preference/src/main/java/androidx/preference/
H A DPreferenceViewHolder.java29 * {@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) { method in class:PreferenceViewHolder
66 final View v = itemView.findViewById(id);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DAppCompatDialog.java100 public <T extends View> T findViewById(@IdRes int id) { method in class:AppCompatDialog
101 return getDelegate().findViewById(id);
H A DAppCompatActivity.java190 public <T extends View> T findViewById(@IdRes int id) { method in class:AppCompatActivity
191 return getDelegate().findViewById(id);
H A DAppCompatDelegate.java66 * <li>{@link #findViewById(int)}</li>
277 public abstract <T extends View> T findViewById(@IdRes int id); method in class:AppCompatDelegate
/frameworks/base/tests/testables/src/android/testing/
H A DBaseFragmentTest.java190 private View findViewById(int id) { method in class:BaseFragmentTest
191 return mView.findViewById(id);
240 return BaseFragmentTest.this.findViewById(id);
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentViewTests.java65 mActivityRule.getActivity().findViewById(R.id.fragmentContainer);
111 mActivityRule.getActivity().findViewById(R.id.fragmentContainer1);
113 mActivityRule.getActivity().findViewById(R.id.fragmentContainer2);
185 mActivityRule.getActivity().findViewById(R.id.fragmentContainer);
244 mActivityRule.getActivity().findViewById(R.id.fragmentContainer);
270 mActivityRule.getActivity().findViewById(R.id.fragmentContainer);
298 mActivityRule.getActivity().findViewById(R.id.fragmentContainer);
330 mActivityRule.getActivity().findViewById(R.id.fragmentContainer);
386 mActivityRule.getActivity().findViewById(R.id.fragmentContainer);
442 mActivityRule.getActivity().findViewById(
1011 private View findViewById(int viewId) { method in class:FragmentViewTests
[all...]
H A DFragmentTransitionTest.java239 final View greenSquare1 = findViewById(fragment1, R.id.greenSquare);
240 final View blueSquare1 = findViewById(fragment1, R.id.blueSquare);
244 final View greenSquare2 = findViewById(fragment2, R.id.greenSquare);
245 final View blueSquare2 = findViewById(fragment2, R.id.blueSquare);
367 final View expectedBlue = findViewById(fragment1, R.id.blueSquare);
369 final View greenSquare = findViewById(fragment1, R.id.greenSquare);
403 final View blueSquare = findViewById(fragment2, R.id.blueSquare);
405 final View greenSquare = findViewById(fragment2, R.id.greenSquare);
552 final View endGreen = findViewById(fragment2, R.id.greenSquare);
553 final View endBlue = findViewById(fragment
858 private View findViewById(Fragment fragment, int id) { method in class:FragmentTransitionTest
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/fragments/
H A DFragmentHostManager.java168 private <T extends View> T findViewById(int id) { method in class:FragmentHostManager
169 return mRootView.findViewById(id);
257 return FragmentHostManager.this.findViewById(id);
/frameworks/base/core/java/android/service/dreams/
H A DDreamService.java469 * @see View#findViewById(int)
473 public <T extends View> T findViewById(@IdRes int id) { method in class:DreamService
474 return getWindow().findViewById(id);
492 * @see DreamService#findViewById(int)
496 T view = findViewById(id);
/frameworks/base/core/java/android/app/
H A DDialog.java518 * @see View#findViewById(int)
522 public <T extends View> T findViewById(@IdRes int id) { method in class:Dialog
523 return mWindow.findViewById(id);
539 * @see Dialog#findViewById(int)
543 T view = findViewById(id);
H A DActivity.java159 * with a layout resource defining your UI, and using {@link #findViewById}
996 * activity's UI, using {@link #findViewById} to programmatically interact
2651 * @see View#findViewById(int)
2655 public <T extends View> T findViewById(@IdRes int id) { method in class:Activity
2656 return getWindow().findViewById(id);
2672 * @see Activity#findViewById(int)
2676 T view = findViewById(id);
7985 return Activity.this.findViewById(id);
/frameworks/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java81 public <T extends View> T findViewById(int id); method in interface:PhotoViewController.ActivityInterface
313 mRootView = findViewById(getRootViewId());
319 mViewPager = (PhotoViewPager) findViewById(R.id.photo_view_pager);
402 protected View findViewById(int id) { method in class:PhotoViewController
403 return mActivity.findViewById(id);
430 return findViewById(R.id.photo_activity_background);
447 return (ImageView) findViewById(R.id.photo_activity_temporary_image);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewLayoutTest.java4307 public void findViewById() throws Throwable { method in class:RecyclerViewLayoutTest
/frameworks/base/core/java/android/view/
H A DWindow.java1344 * @see View#findViewById(int)
1348 public <T extends View> T findViewById(@IdRes int id) { method in class:Window
1349 return getDecorView().findViewById(id);
1364 * @see Window#findViewById(int)
1368 T view = findViewById(id);
H A DView.java329 * Button myButton = findViewById(R.id.my_button);
22638 public final <T extends View> T findViewById(@IdRes int id) { method in class:View
22657 * @see View#findViewById(int)
22661 T view = findViewById(id);
22791 * @see #findViewById(int)
22834 * @see #findViewById(int)
[all...]
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java598 final View view = root.findViewById(viewId);
603 final View emptyView = root.findViewById(emptyViewId);
633 final View target = root.findViewById(viewId);
713 final View target = root.findViewById(viewId);
791 final View target = root.findViewById(viewId);
853 final View target = root.findViewById(viewId);
924 final View target = root.findViewById(viewId);
1087 final View target = root.findViewById(viewId);
1134 final View view = root.findViewById(viewId);
1449 final View view = root.findViewById(viewI
3770 public <T extends View> T findViewById(int id) { method in class:RemoteViews.ViewTree
[all...]

Completed in 362 milliseconds