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

1 2 3 4 5 6 7 8

  /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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
RoundedCorners.java 79 mOverlay.findViewById(R.id.right).setRotation(90);
86 mBottomOverlay.findViewById(R.id.right).setRotation(180);
87 mBottomOverlay.findViewById(R.id.left).setRotation(270);
107 ((ImageView) mOverlay.findViewById(id.left)).setImageTintList(tintList);
108 ((ImageView) mOverlay.findViewById(id.right)).setImageTintList(tintList);
109 ((ImageView) mBottomOverlay.findViewById(id.left)).setImageTintList(tintList);
110 ((ImageView) mBottomOverlay.findViewById(id.right)).setImageTintList(tintList);
139 TunablePadding.addTunablePadding(statusBar.findViewById(R.id.keyguard_header), PADDING,
179 setSize(mOverlay.findViewById(R.id.left), size);
180 setSize(mOverlay.findViewById(R.id.right), size)
    [all...]
  /developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/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...]
  /developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/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/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 61 // Need to create view now so that findViewById can be called immediately.
78 final ViewGroup allDetails = view.findViewById(R.id.all_details);
105 public <T extends View> T findViewById(int id) {
106 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 56 setOnClickAction(view.findViewById(R.id.button_done), getActionCategory(), ACTION_DONE);
59 view.findViewById(R.id.button_skip).setVisibility(View.VISIBLE);
60 setOnClickAction(view.findViewById(R.id.button_skip), getActionCategory(), ACTION_SKIP);
63 View doneButtonContainer = view.findViewById(R.id.done_button_container);
75 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)

Completed in 408 milliseconds

1 2 3 4 5 6 7 8