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

1234567891011>>

/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DPreferenceViewHolder.java27 * {@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) { method in class:PreferenceViewHolder
58 final View v = itemView.findViewById(id);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPINView.java82 mContainer = (ViewGroup) findViewById(R.id.container);
83 mRow0 = (ViewGroup) findViewById(R.id.row0);
84 mRow1 = (ViewGroup) findViewById(R.id.row1);
85 mRow2 = (ViewGroup) findViewById(R.id.row2);
86 mRow3 = (ViewGroup) 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 (ViewGroup) findViewById(R.id.layout);
54 return (LinearLayout) findViewById(R.id.column1);
56 return (LinearLayout) findViewById(R.id.column2);
58 return (LinearLayout) findViewById(R.id.column3);
H A DFocusAfterRemoval.java38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout);
41 Button topLeftButton = (Button) findViewById(R.id.topLeftButton);
51 Button bottomLeftButton = (Button) findViewById(R.id.bottomLeftButton);
60 final Button topRightButton = (Button) findViewById(R.id.topRightButton);
69 final Button bottomRightButton = (Button) findViewById(R.id.bottomRightButton);
H A DDescendantFocusability.java43 beforeDescendants = (ViewGroup) findViewById(R.id.beforeDescendants);
46 afterDescendants = (ViewGroup) findViewById(R.id.afterDescendants);
49 blocksDescendants = (ViewGroup) findViewById(R.id.blocksDescendants);
/frameworks/support/design/tests/src/android/support/design/widget/
H A DCoordinatorLayoutActivity.java34 mContainer = (FrameLayout) findViewById(R.id.container);
35 mCoordinatorLayout = (CoordinatorLayout) findViewById(R.id.coordinator);
H A DBottomSheetBehaviorActivity.java43 mCoordinatorLayout = (CoordinatorLayout) findViewById(R.id.coordinator);
44 mBottomSheet = (LinearLayout) findViewById(R.id.bottom_sheet);
46 mFab = (FloatingActionButton) 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 = (TextView) findViewById(R.id.topBlob);
47 final TextView bottomBlob = (TextView) 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 = (MLand) findViewById(R.id.world);
34 mLand.setScoreFieldHolder((ViewGroup) 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/fragment/tests/java/android/support/v4/app/
H A DFragmentReplaceTest.java52 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));
/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 = (Button) findViewById(R.id.disabledButton);
41 Button disabledButtonA = (Button) findViewById(R.id.disabledButtonA);
46 Button disabledButtonB = (Button) findViewById(R.id.disabledButtonB);
H A DDrawableBgMinSize.java61 mChangeBackgroundsButton = (Button) findViewById(R.id.change_backgrounds);
64 mTextView = (TextView) findViewById(R.id.text_view);
65 mLinearLayout = (LinearLayout) findViewById(R.id.linear_layout);
66 mRelativeLayout = (RelativeLayout) findViewById(R.id.relative_layout);
67 mFrameLayout = (FrameLayout) findViewById(R.id.frame_layout);
68 mAbsoluteLayout = (AbsoluteLayout) 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 = (LinearLayout) findViewById(R.id.layout);
40 mEditText = (EditText) findViewById(R.id.editText);
41 mButton = (Button) 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 = (ViewGroup) findViewById(R.id.container);
38 mRemovingContainer = (ViewGroup) findViewById(R.id.removingContainer);
41 mRemovingButton = (Button) 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/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
H A DSampleTrustAgentSettings.java49 findViewById(R.id.enable_trust).setOnClickListener(this);
50 findViewById(R.id.revoke_trust).setOnClickListener(this);
51 findViewById(R.id.crash).setOnClickListener(this);
52 findViewById(R.id.check_device_locked).setOnClickListener(this);
54 mReportUnlockAttempts = (CheckBox) findViewById(R.id.report_unlock_attempts);
57 mReportDeviceLocked = (CheckBox) findViewById(R.id.report_device_locked);
60 mManagingTrust = (CheckBox) findViewById(R.id.managing_trust);
63 mCheckDeviceLockedResult = (TextView) findViewById(R.id.check_device_locked_result);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DEmptyShadeView.java36 ((TextView) findViewById(R.id.no_notifications)).setText(R.string.empty_shade_text);
41 return findViewById(R.id.no_notifications);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DUsageView.java38 mUsageGraph = (UsageGraph) findViewById(R.id.usage_graph);
40 (TextView) findViewById(R.id.label_bottom),
41 (TextView) findViewById(R.id.label_middle),
42 (TextView) findViewById(R.id.label_top),
45 (TextView) findViewById(R.id.label_start),
46 (TextView) findViewById(R.id.label_end),
67 LinearLayout layout = (LinearLayout) findViewById(R.id.graph_label_group);
68 LinearLayout labels = (LinearLayout) findViewById(R.id.label_group);
75 LinearLayout bottomLabels = (LinearLayout) findViewById(R.id.bottom_label_group);
76 View bottomSpace = bottomLabels.findViewById(
[all...]

Completed in 799 milliseconds

1234567891011>>