Searched refs:findViewById (Results 1 - 25 of 1108) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardPINView.java82 mContainer = findViewById(R.id.container);
83 mRow0 = findViewById(R.id.row0);
84 mRow1 = findViewById(R.id.row1);
85 mRow2 = findViewById(R.id.row2);
86 mRow3 = findViewById(R.id.row3);
87 mDivider = findViewById(R.id.divider);
93 findViewById(R.id.key1), findViewById(R.id.key2),
94 findViewById(R.id.key3)
97 findViewById(
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DLinearLayoutGrid.java36 return findViewById(R.id.layout);
54 return findViewById(R.id.column1);
56 return findViewById(R.id.column2);
58 return findViewById(R.id.column3);
H A DFocusAfterRemoval.java38 final LinearLayout left = findViewById(R.id.leftLayout);
41 Button topLeftButton = findViewById(R.id.topLeftButton);
51 Button bottomLeftButton = findViewById(R.id.bottomLeftButton);
60 final Button topRightButton = findViewById(R.id.topRightButton);
69 final Button bottomRightButton = findViewById(R.id.bottomRightButton);
H A DDescendantFocusability.java43 beforeDescendants = findViewById(R.id.beforeDescendants);
46 afterDescendants = findViewById(R.id.afterDescendants);
49 blocksDescendants = findViewById(R.id.blocksDescendants);
/frameworks/support/design/tests/src/android/support/design/widget/
H A DCoordinatorLayoutActivity.java34 mContainer = findViewById(R.id.container);
35 mCoordinatorLayout = findViewById(R.id.coordinator);
H A DBottomSheetBehaviorActivity.java43 mCoordinatorLayout = findViewById(R.id.coordinator);
44 mBottomSheet = findViewById(R.id.bottom_sheet);
46 mFab = findViewById(R.id.fab);
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisible.java44 final View childToMakeVisible = findViewById(R.id.childToMakeVisible);
46 final TextView topBlob = findViewById(R.id.topBlob);
47 final TextView bottomBlob = findViewById(R.id.bottomBlob);
58 findViewById(R.id.scrollToRectFromTop).setOnClickListener(new View.OnClickListener() {
66 findViewById(R.id.scrollToRectFromTop2).setOnClickListener(new View.OnClickListener() {
74 findViewById(R.id.scrollToRectFromBottom).setOnClickListener(new View.OnClickListener() {
82 findViewById(R.id.scrollToRectFromBottom2).setOnClickListener(new View.OnClickListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
H A DMLandActivity.java33 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);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceViewHolder.java28 * {@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) { method in class:PreferenceViewHolder
65 final View v = itemView.findViewById(id);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one);
41 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two);
53 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one);
58 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewFlipperActivity.java39 ViewFlipper flipper = (ViewFlipper) widget.findViewById(R.id.flipper);
43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1);
44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, "
49 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset3);
50 ((TextView) view.findViewById(R.id.widget_text)).setText("Another very long line of text, "
H A DTextFadeActivity.java36 findViewById(R.id.contact_tile_name).setHorizontalFadingEdgeEnabled(true);
37 ((TextView) findViewById(R.id.contact_tile_name)).setEllipsize(TextUtils.TruncateAt.MARQUEE);
/frameworks/base/core/tests/coretests/src/android/view/
H A DDisabled.java37 Button disabledButton = findViewById(R.id.disabledButton);
41 Button disabledButtonA = findViewById(R.id.disabledButtonA);
46 Button disabledButtonB = findViewById(R.id.disabledButtonB);
H A DDrawableBgMinSize.java61 mChangeBackgroundsButton = findViewById(R.id.change_backgrounds);
64 mTextView = findViewById(R.id.text_view);
65 mLinearLayout = findViewById(R.id.linear_layout);
66 mRelativeLayout = findViewById(R.id.relative_layout);
67 mFrameLayout = findViewById(R.id.frame_layout);
68 mAbsoluteLayout = findViewById(R.id.absolute_layout);
H A DIncludeTest.java41 final View button1 = activity.findViewById(R.id.included_button);
44 final View button2 = activity.findViewById(R.id.included_button_overriden);
52 final View button1 = activity.findViewById(R.id.included_button);
53 final View button2 = activity.findViewById(R.id.included_button_overriden);
64 final View button1 = activity.findViewById(R.id.included_button_visibility);
73 final View button1 = activity.findViewById(R.id.included_button_with_size);
H A DStubbedView.java34 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() {
36 final View view = findViewById(R.id.viewStub);
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DLLEditTextThenButton.java39 mLayout = findViewById(R.id.layout);
40 mEditText = findViewById(R.id.editText);
41 mButton = findViewById(R.id.button);
H A DBaselineAlignmentZeroWidthAndWeight.java31 findViewById(R.id.show).setOnClickListener(new View.OnClickListener() {
33 findViewById(R.id.layout).setVisibility(View.VISIBLE);
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DFadingHierarchy.java37 mContainer = findViewById(R.id.container);
38 mRemovingContainer = findViewById(R.id.removingContainer);
41 mRemovingButton = findViewById(R.id.removingButton);
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DCellSpanTest.java47 mA = activity.findViewById(R.id.a);
48 mB = activity.findViewById(R.id.b);
49 mC = activity.findViewById(R.id.c);
50 mSpanThenCell = activity.findViewById(R.id.spanThenCell);
51 mCellThenSpan = activity.findViewById(R.id.cellThenSpan);
52 mSpan = activity.findViewById(R.id.span);
H A DVerticalGravityTest.java49 mReference1 = activity.findViewById(R.id.reference1);
50 mReference2 = activity.findViewById(R.id.reference2);
51 mReference3 = activity.findViewById(R.id.reference3);
52 mTop = activity.findViewById(R.id.cell_top);
53 mCenter = activity.findViewById(R.id.cell_center);
54 mBottom = activity.findViewById(R.id.cell_bottom);
/frameworks/support/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DExplodeUsage.java57 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() {
H A DChangeImageTransformUsage.java48 mRoot = findViewById(R.id.container);
49 mPhoto = findViewById(R.id.photo);
80 findViewById(R.id.fit_xy).setOnClickListener(listener);
81 findViewById(R.id.center).setOnClickListener(listener);
82 findViewById(R.id.center_crop).setOnClickListener(listener);
83 findViewById(R.id.fit_start).setOnClickListener(listener);
84 findViewById(R.id.fit_end).setOnClickListener(listener);
85 findViewById(R.id.matrix).setOnClickListener(listener);
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
H A DExplodeUsage.java57 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() {
H A DChangeImageTransformUsage.java48 mRoot = findViewById(R.id.container);
49 mPhoto = findViewById(R.id.photo);
80 findViewById(R.id.fit_xy).setOnClickListener(listener);
81 findViewById(R.id.center).setOnClickListener(listener);
82 findViewById(R.id.center_crop).setOnClickListener(listener);
83 findViewById(R.id.fit_start).setOnClickListener(listener);
84 findViewById(R.id.fit_end).setOnClickListener(listener);
85 findViewById(R.id.matrix).setOnClickListener(listener);

Completed in 1065 milliseconds

1234567891011>>