Home
last modified time | relevance | path

Searched refs:findViewById (Results 1 – 25 of 69) sorted by relevance

123

/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
DViewLoaderTest.java70 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize()
78 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_choosesFirstFileFoundOnPath()
86 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_respectsOrderOfPath()
94 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultVersion()
102 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnNewestVersion()
111 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_choosesFirstFileFoundOnPathWithVersionNumber()
120 TextView textView = (TextView) view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnSearchPath_choosesBestFileFoundOnPathWithVersionNumber()
127 WebView webView = (WebView) view.findViewById(R.id.web_view); in testWebView()
145 TestUtil.assertInstanceOf(TextView.class, mediaView.findViewById(R.id.title)); in testFindsChildrenById()
148 assertInstanceOf(View.class, mainView.findViewById(R.id.title)); in testFindsChildrenById()
[all …]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DMainActivity.java34 Button startSimplePieExButton = (Button) findViewById(R.id.startSimplePieExButton); in onCreate()
42 Button startDynamicXYExButton = (Button)findViewById(R.id.startDynamicXYExButton); in onCreate()
50 Button startSimpleXYExButton = (Button) findViewById(R.id.startSimpleXYExButton); in onCreate()
58 Button startBarPlotExButton = (Button) findViewById(R.id.startBarPlotExButton); in onCreate()
66 Button startOrSensorExButton = (Button) findViewById(R.id.startOrSensorExButton); in onCreate()
74 Button startTimeSeriesExButon = (Button)findViewById(R.id.startTimeSeriesExButton); in onCreate()
82 Button startStepChartExButton = (Button)findViewById(R.id.startStepChartExButton); in onCreate()
90 Button startScrollZoomExButton = (Button)findViewById(R.id.startScrollZoomButton); in onCreate()
98 Button startXyRegionExampleButton = (Button)findViewById(R.id.startXyRegionExampleButton); in onCreate()
107 Button listViewExButton = (Button)findViewById(R.id.startXyListViewExButton); in onCreate()
[all …]
DXYRegionExampleActivity.java82 plot = (XYPlot) findViewById(R.id.xyRegionExamplePlot); in onCreate()
83 timCB = (CheckBox) findViewById(R.id.s1CheckBox); in onCreate()
91 nickCB = (CheckBox) findViewById(R.id.s2CheckBox); in onCreate()
99 joeCB = (CheckBox) findViewById(R.id.s3CheckBox); in onCreate()
107 jamesCB = (CheckBox) findViewById(R.id.s4CheckBox); in onCreate()
117 r2CheckBox = (CheckBox) findViewById(R.id.r2CheckBox); in onCreate()
125 r3CheckBox = (CheckBox) findViewById(R.id.r3CheckBox); in onCreate()
133 r4CheckBox = (CheckBox) findViewById(R.id.r4CheckBox); in onCreate()
DBarPlotExampleActivity.java107 plot = (XYPlot) findViewById(R.id.mySimpleXYPlot); in onCreate()
138 series1CheckBox = (CheckBox) findViewById(R.id.s1CheckBox); in onCreate()
146 series2CheckBox = (CheckBox) findViewById(R.id.s2CheckBox); in onCreate()
163 spRenderStyle = (Spinner) findViewById(R.id.spRenderStyle); in onCreate()
177 spWidthStyle = (Spinner) findViewById(R.id.spWidthStyle); in onCreate()
198 spSeriesSize = (Spinner) findViewById(R.id.spSeriesSize); in onCreate()
229 sbFixedWidth = (SeekBar) findViewById(R.id.sbFixed); in onCreate()
242 sbVariableWidth = (SeekBar) findViewById(R.id.sbVariable); in onCreate()
DSimplePieChartActivity.java53 pie = (PieChart) findViewById(R.id.mySimplePieChart); in onCreate()
56 donutSizeSeekBar = (SeekBar) findViewById(R.id.donutSizeSeekBar); in onCreate()
74 donutSizeTextView = (TextView) findViewById(R.id.donutSizeTextView); in onCreate()
DOrientationSensorExampleActivity.java68 aprLevelsPlot = (XYPlot) findViewById(R.id.aprLevelsPlot); in onCreate()
101 aprHistoryPlot = (XYPlot) findViewById(R.id.aprHistoryPlot); in onCreate()
133 hwAcceleratedCb = (CheckBox) findViewById(R.id.hwAccelerationCb); in onCreate()
152 showFpsCb = (CheckBox) findViewById(R.id.showFpsCb); in onCreate()
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java81 ImageView canvasImage = (ImageView) findViewById(R.id.animation_canvas); in onCreate()
112 View background = findViewById(R.id.animation_background); in onCreate()
113 View foreground = findViewById(R.id.animation_foreground); in onCreate()
114 View gameOver = findViewById(R.id.game_over); in onCreate()
126 View background = findViewById(R.id.animation_background); in onCreate()
127 View sphere = findViewById(R.id.animation_sphere); in onCreate()
128 View cliffs = findViewById(R.id.animation_cliffs); in onCreate()
129 View rokudou = findViewById(R.id.animation_rokudou); in onCreate()
130 View gameOver = findViewById(R.id.game_over); in onCreate()
DDifficultyMenuActivity.java90 mBabyButton = findViewById(R.id.babyButton); in onCreate()
91 mKidsButton = findViewById(R.id.kidsButton); in onCreate()
92 mAdultsButton = findViewById(R.id.adultsButton); in onCreate()
93 mBabyText = findViewById(R.id.babyText); in onCreate()
94 mKidsText = findViewById(R.id.kidsText); in onCreate()
95 mAdultsText = findViewById(R.id.adultsText); in onCreate()
96 mBackground = findViewById(R.id.mainMenuBackground); in onCreate()
DKeyboardConfigDialogPreference.java101 mLeftText = (TextView)view.findViewById(R.id.key_left); in onBindDialogView()
104 mRightText = (TextView)view.findViewById(R.id.key_right); in onBindDialogView()
107 mJumpText = (TextView)view.findViewById(R.id.key_jump); in onBindDialogView()
110 mAttackText = (TextView)view.findViewById(R.id.key_attack); in onBindDialogView()
113 mLeftBorder = view.findViewById(R.id.left_border); in onBindDialogView()
114 mRightBorder = view.findViewById(R.id.right_border); in onBindDialogView()
115 mJumpBorder = view.findViewById(R.id.jump_border); in onBindDialogView()
116 mAttackBorder = view.findViewById(R.id.attack_border); in onBindDialogView()
DConversationDialogActivity.java56 mOkArrow = (ImageView)findViewById(R.id.ok); in onCreate()
76 TypewriterTextView tv = (TypewriterTextView)findViewById(R.id.typewritertext); in onCreate()
153 TypewriterTextView tv = (TypewriterTextView)findViewById(R.id.typewritertext); in onTouchEvent()
176 TypewriterTextView tv = (TypewriterTextView)findViewById(R.id.typewritertext); in showPage()
184 ImageView image = (ImageView)findViewById(R.id.speaker); in showPage()
192 TextView title = (TextView)findViewById(R.id.speakername); in showPage()
204 TextView textView = (TextView)findViewById(R.id.typewritertext); in processText()
DGameOverActivity.java135 mPearlView = (IncrementingTextView)findViewById(R.id.pearl_percent); in onCreate()
136 mEnemiesDestroyedView = (IncrementingTextView)findViewById(R.id.enemy_percent); in onCreate()
137 mPlayTimeView = (IncrementingTextView)findViewById(R.id.total_play_time); in onCreate()
138 mEndingView = (TextView)findViewById(R.id.ending); in onCreate()
167 Button okButton = (Button)findViewById(R.id.ok); in onCreate()
DExtrasMenuActivity.java97 mLinearModeButton = findViewById(R.id.linearModeButton); in onCreate()
98 mLevelSelectButton = findViewById(R.id.levelSelectButton); in onCreate()
99 mControlsButton = findViewById(R.id.controlsButton); in onCreate()
100 mLinearModeLocked = findViewById(R.id.linearModeLocked); in onCreate()
101 mLevelSelectLocked = findViewById(R.id.levelSelectLocked); in onCreate()
103 mBackground = findViewById(R.id.mainMenuBackground); in onCreate()
DDiaryActivity.java54 TextView text = (TextView)findViewById(R.id.diarytext); in onCreate()
56 ImageView image = (ImageView)findViewById(R.id.diarybackground); in onCreate()
65 ImageView okArrow = (ImageView)findViewById(R.id.ok); in onCreate()
DSliderPreference.java67 TextView minText = (TextView)view.findViewById(R.id.min); in onBindView()
72 TextView maxText = (TextView)view.findViewById(R.id.max); in onBindView()
76 SeekBar bar = (SeekBar)view.findViewById(R.id.slider); in onBindView()
DMainMenuActivity.java123 mStartButton = findViewById(R.id.startButton); in onCreate()
124 mOptionsButton = findViewById(R.id.optionButton); in onCreate()
125 mBackground = findViewById(R.id.mainMenuBackground); in onCreate()
131 mExtrasButton = findViewById(R.id.extrasButton); in onCreate()
155 mTicker = findViewById(R.id.ticker); in onCreate()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DFragmentActivityTest.java54 …assertSame(fragment.onCreateViewReturnValue, activity.findViewById(TestFragment.FRAGMENT_VIEW_ID)); in viewLoader_shouldInsertFragmentViewIntoLayout()
64 ViewGroup container = (ViewGroup) activity.findViewById(R.id.fragment); in viewLoader_shouldCreateContainerView()
70 ViewGroup container = (ViewGroup) activity.findViewById(R.id.fragment); in viewLoader_shouldInsertFragmentViewIntoContainer()
71 View fragmentView = container.findViewById(TestFragment.FRAGMENT_VIEW_ID); in viewLoader_shouldInsertFragmentViewIntoContainer()
161 View button = activity.findViewById(R.id.button); in getCurrentFocus_shouldGetFocusFromFragment()
DViewTest.java398 View defaultView = root.findViewById(R.id.default_view); in testFilterTouchesWhenObscuredWhenLoadedFromXml()
401 View filterFalseView = root.findViewById(R.id.filter_touches_false_view); in testFilterTouchesWhenObscuredWhenLoadedFromXml()
404 View filterTrueView = root.findViewById(R.id.filter_touches_true_view); in testFilterTouchesWhenObscuredWhenLoadedFromXml()
424 View defaultView = root.findViewById(R.id.default_view); in testClickableWhenLoadedFromXml()
427 View clickableFalseView = root.findViewById(R.id.clickable_false_view); in testClickableWhenLoadedFromXml()
430 View clickableTrueView = root.findViewById(R.id.clickable_true_view); in testClickableWhenLoadedFromXml()
450 View defaultView = root.findViewById(R.id.default_view); in testFocusableWhenLoadedFromXml()
453 View focusableFalseView = root.findViewById(R.id.focusable_false_view); in testFocusableWhenLoadedFromXml()
456 View focusableTrueView = root.findViewById(R.id.focusable_true_view); in testFocusableWhenLoadedFromXml()
DViewStubTest.java42 assertSame(inflatedView, root.findViewById(inflatedId)); in inflate_shouldReplaceOriginalWithLayout()
44 assertNull(root.findViewById(stubId)); in inflate_shouldReplaceOriginalWithLayout()
DTextViewTest.java109 TextView black = (TextView) activity.findViewById(R.id.black_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
113 TextView white = (TextView) activity.findViewById(R.id.white_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
117 TextView grey = (TextView) activity.findViewById(R.id.grey_text_view); in shouldSetTextAndTextColorWhileInflatingXmlLayout()
127 TextView black = (TextView) activity.findViewById(R.id.black_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
131 TextView white = (TextView) activity.findViewById(R.id.white_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
135 TextView grey = (TextView) activity.findViewById(R.id.grey_text_view_hint); in shouldSetHintAndHintColorWhileInflatingXmlLayout()
DListViewTest.java110 assertThat(listView.findViewById(0), notNullValue()); in addHeaderView_ShouldRecordHeaders()
111 assertThat(listView.findViewById(1), notNullValue()); in addHeaderView_ShouldRecordHeaders()
112 assertThat(listView.findViewById(2), notNullValue()); in addHeaderView_ShouldRecordHeaders()
113 assertThat(listView.findViewById(3), notNullValue()); in addHeaderView_ShouldRecordHeaders()
123 assertThat(listView.findViewById(42), is(view)); in addHeaderView_shouldAttachTheViewToTheList()
155 assertThat(listView.findViewById(42), is(view)); in addFooterView_shouldAttachTheViewToTheList()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDialog.java151 public View findViewById(int viewId) { in findViewById() method in ShadowDialog
153 return inflatedView.findViewById(viewId); in findViewById()
157 return inflatedView.findViewById(viewId); in findViewById()
163 findViewById(viewId).performClick(); in clickOn()
DShadowListView.java29 public View findViewById(int id) { in findViewById() method in ShadowListView
30 View child = super.findViewById(id); in findViewById()
44 child = v.findViewById(viewId); in findView()
/external/jmonkeyengine/engine/src/android/jme3test/android/
DDemoMainActivity.java29 final Spinner spinnerConfig = (Spinner) findViewById(R.id.spinnerConfig); in onCreate()
53 final Spinner spinnerLogging = (Spinner) findViewById(R.id.spinnerLogging); in onCreate()
78 ListView list = (ListView) findViewById(R.id.ListView01); in onCreate()
DDemoLaunchAdapter.java48 TextView tvDemoName = (TextView) convertView.findViewById(R.id.tvDemoName); in getView()
51 TextView tvDescription = (TextView) convertView.findViewById(R.id.tvDescription); in getView()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DCaptureActivity.java85 statusView = (TextView) findViewById(R.id.status_view); in onCreate()
101 viewfinderView = (ViewfinderView) findViewById(R.id.viewfinder_view); in onResume()
106 SurfaceView surfaceView = (SurfaceView) findViewById(R.id.preview_view); in onResume()
149 SurfaceView surfaceView = (SurfaceView) findViewById(R.id.preview_view); in onPause()

123