Home
last modified time | relevance | path

Searched refs:getView (Results 1 – 25 of 95) sorted by relevance

1234

/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
DSupportFragmentTestUtilTest.java28 assertThat(fragment.getView()).isNotNull(); in startFragment_shouldStartSupportFragment()
30 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartSupportFragment()
38 assertThat(fragment.getView()).isNotNull(); in startVisibleFragment_shouldStartSupportFragment()
40 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartSupportFragment()
48 assertThat(fragment.getView().getWindowToken()).isNotNull(); in startVisibleFragment_shouldAttachSupportFragmentToActivity()
56 assertThat(fragment.getView()).isNotNull(); in startFragment_shouldStartSupportFragmentWithSpecifiedActivityClass()
58 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartSupportFragmentWithSpecifiedActivityClass()
67 assertThat(fragment.getView()).isNotNull(); in startVisibleFragment_shouldStartSupportFragmentWithSpecifiedActivityClass()
69 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartSupportFragmentWithSpecifiedActivityClass()
78 assertThat(fragment.getView().getWindowToken()).isNotNull(); in startVisibleFragment_shouldAttachSupportFragmentToActivityWithSpecifiedActivityClass()
DSupportFragmentControllerTest.java31 assertThat(fragment.getView()).isNull(); in initialNotAttached()
41 assertThat(fragment.getView()).isNull(); in initialNotAttached_customActivity()
72 assertThat(fragment.getView()).isNotNull(); in attachedAfterCreate_customizedViewId()
76 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in attachedAfterCreate_customizedViewId()
84 assertThat(fragment.getView()).isNotNull(); in hasViewAfterStart()
92 assertThat(fragment.getView()).isNotNull(); in isResumed()
96 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in isResumed()
104 assertThat(fragment.getView()).isNotNull(); in isPaused()
118 assertThat(fragment.getView()).isNotNull(); in isStopped()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DFragmentTestUtilTest.java27 assertThat(fragment.getView()).isNotNull(); in startFragment_shouldStartFragment()
29 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartFragment()
37 assertThat(fragment.getView()).isNotNull(); in startVisibleFragment_shouldStartFragment()
39 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartFragment()
47 assertThat(fragment.getView().getWindowToken()).isNotNull(); in startVisibleFragment_shouldAttachFragmentToActivity()
55 assertThat(fragment.getView()).isNotNull(); in startFragment_shouldStartFragmentWithSpecifiedActivityClass()
57 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startFragment_shouldStartFragmentWithSpecifiedActivityClass()
66 assertThat(fragment.getView()).isNotNull(); in startVisibleFragment_shouldStartFragmentWithSpecifiedActivityClass()
68 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in startVisibleFragment_shouldStartFragmentWithSpecifiedActivityClass()
77 assertThat(fragment.getView().getWindowToken()).isNotNull(); in startVisibleFragment_shouldAttachFragmentToActivityWithSpecifiedActivityClass()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DFragmentControllerTest.java31 assertThat(fragment.getView()).isNull(); in initialNotAttached()
41 assertThat(fragment.getView()).isNull(); in initialNotAttached_customActivity()
51 assertThat(fragment.getView()).isNotNull(); in attachedAfterCreate()
55 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in attachedAfterCreate()
63 assertThat(fragment.getView()).isNotNull(); in attachedAfterCreate_customizedViewId()
67 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in attachedAfterCreate_customizedViewId()
75 assertThat(fragment.getView()).isNotNull(); in attachedAfterCreate_customActivity()
80 assertThat((TextView) fragment.getView().findViewById(R.id.tacos)).isNotNull(); in attachedAfterCreate_customActivity()
88 assertThat(fragment.getView()).isNotNull(); in isResumed()
99 assertThat(fragment.getView()).isNotNull(); in isPaused()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DViewManagerImplTest.java140 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view); in testRegisterAndGetCumulativeView()
141 assertThat(viewManager.getView(VIEW_NAME).getAggregationMap()).isEmpty(); in testRegisterAndGetCumulativeView()
142 assertThat(viewManager.getView(VIEW_NAME).getWindowData()).isInstanceOf(CumulativeData.class); in testRegisterAndGetCumulativeView()
206 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(intervalView); in testRegisterAndGetIntervalView()
207 assertThat(viewManager.getView(VIEW_NAME).getAggregationMap()).isEmpty(); in testRegisterAndGetIntervalView()
208 assertThat(viewManager.getView(VIEW_NAME).getWindowData()).isInstanceOf(IntervalData.class); in testRegisterAndGetIntervalView()
216 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view); in allowRegisteringSameViewTwice()
262 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view1); in testFailedToRegisterView()
268 assertThat(viewManager.getView(VIEW_NAME)).isNull(); in returnNullWhenGettingNonexistentViewData()
310 ViewData viewData = viewManager.getView(VIEW_NAME); in testRecordCumulative()
[all …]
DStatsRecorderImplTest.java99 ViewData viewData = viewManager.getView(VIEW_NAME); in record_CurrentContextNotSet()
126 ViewData viewData = viewManager.getView(VIEW_NAME); in record_CurrentContextSet()
149 ViewData viewData = viewManager.getView(VIEW_NAME); in record_UnregisteredMeasure()
167 ViewData viewData = viewManager.getView(VIEW_NAME); in record_WithAttachments_Distribution()
192 ViewData viewData = viewManager.getView(VIEW_NAME); in record_WithAttachments_DistributionNoHistogram()
207 ViewData viewData = viewManager.getView(VIEW_NAME); in record_WithAttachments_Count()
280 ViewData viewData = viewManager.getView(VIEW_NAME); in recordTwice()
311 assertThat(viewManager.getView(VIEW_NAME)).isEqualTo(createEmptyViewData(view)); in record_StatsDisabled()
332 assertThat(viewManager.getView(VIEW_NAME)).isEqualTo(createEmptyViewData(view)); in record_StatsReenabled()
335 assertThat(viewManager.getView(VIEW_NAME).getAggregationMap()).isEmpty(); in record_StatsReenabled()
[all …]
DMeasureToViewMapTest.java63 ViewData viewData = measureToViewMap.getView(VIEW_NAME, clock, State.ENABLED); in testRegisterAndGetView()
64 assertThat(viewData.getView()).isEqualTo(VIEW); in testRegisterAndGetView()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DIconMixin.java59 ImageView iconView = getView(); in IconMixin()
121 final ImageView iconView = getView(); in setIcon()
134 final ImageView iconView = getView(); in setIcon()
145 final ImageView iconView = getView(); in getIcon()
152 final ImageView iconView = getView(); in setUpscaleIcon()
168 final ImageView iconView = getView(); in setIconTint()
176 final ImageView iconView = getView(); in setContentDescription()
184 final ImageView iconView = getView(); in getContentDescription()
189 protected ImageView getView() { in getView() method in IconMixin
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DNoopViewManagerTest.java70 assertThat(viewManager.getView(VIEW_NAME).getView()).isEqualTo(view1); in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
94 assertThat(viewManager.getView(VIEW_NAME)).isNull(); in noopViewManager_GetView_GettingNonExistentViewReturnsNull()
105 ViewData viewData = viewManager.getView(VIEW_NAME); in noopViewManager_GetView_Cumulative()
106 assertThat(viewData.getView()).isEqualTo(view); in noopViewManager_GetView_Cumulative()
122 ViewData viewData = viewManager.getView(VIEW_NAME); in noopViewManager_GetView_Interval()
123 assertThat(viewData.getView()).isEqualTo(view); in noopViewManager_GetView_Interval()
132 viewManager.getView(null); in noopViewManager_GetView_DisallowNull()
/external/robolectric-shadows/shadows/androidx/fragment/src/test/java/org/robolectric/shadows/androidx/fragment/
DFragmentControllerTest.java35 assertThat(controller.get().getView()).isNull(); in initialNotAttached()
45 assertThat(controller.get().getView()).isNull(); in initialNotAttached_customActivity()
82 assertThat(controller.get().getView()).isNotNull(); in attachedAfterCreate_customizedViewId()
86 assertThat((TextView) controller.get().getView().findViewById(R.id.tacos)).isNotNull(); in attachedAfterCreate_customizedViewId()
96 assertThat(controller.get().getView()).isNotNull(); in hasViewAfterStart()
106 assertThat(controller.get().getView()).isNotNull(); in isResumed()
110 assertThat((TextView) controller.get().getView().findViewById(R.id.tacos)).isNotNull(); in isResumed()
120 assertThat(controller.get().getView()).isNotNull(); in isPaused()
136 assertThat(controller.get().getView()).isNotNull(); in isStopped()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dloopback_test.cpp66 AudioBufferView<double> dst = buffer.getView(framesRead, actualFrames); in collectRecording()
67 convertAudioBufferViewType(readBuffer.getView(0, dst.getFrameCount()), dst); in collectRecording()
115 AudioBufferView<sample_t> readBuffer = mReadBuffer.getView(0, expectedFrames); in writeCallback()
139 mImpulse.getView(mInjectImpulseNextFramePos, expectedFrames); in writeCallback()
146 return readBuffer.getView(0, framesRead); in writeCallback()
Daudio_buffer.h81 AudioBufferBase<T> getView(int offsetInFrames, size_t lengthInFrames) const { in getView() function
118 AudioBufferView<T> getView(
120 return AudioBufferBase<T>::getView(offsetInFrames, lengthInFrames);
143 AudioBufferView<T> getView(
145 return AudioBufferBase<T>::getView(offsetInFrames, lengthInFrames);
226 dst.getView(framesToCopy).clear(); in copyAudioBufferViewData()
/external/antlr/gunit/src/main/java/org/antlr/gunit/swingui/
DWorkSpaceController.java61 view.resultPane = (JPanel) runner.getView(); in WorkSpaceController()
74 return view.paneEditor.getView(); in getEmbeddedView()
82 view.listRules.getView().updateUI(); in initEventHandlers()
192 … view.tabEditors.addTab("Test Result", ImageFactory.getSingleton().FILE16, runner.getView()); in OnRunTest()
193 view.tabEditors.setSelectedComponent(runner.getView()); in OnRunTest()
212 public Component getView() { in getView() method in WorkSpaceController
DWorkSpaceView.java82 …abEditors.addTab("Case Editor", ImageFactory.getSingleton().TEXTFILE16, this.paneEditor.getView()); in initComponents()
88 this.listRules.getView(), this.tabEditors); in initComponents()
96 this.getContentPane().add(this.paneStatus.getView(), BorderLayout.SOUTH); in initComponents()
DTestCaseEditController.java217 editor = this.editInputMulti.getView(); in updateInputEditor()
241 editor = this.editOutputAST.getView(); in updateOutputEditor()
253 editor = this.editOutputStd.getView(); in updateOutputEditor()
259 editor = this.editOutputReturn.getView(); in updateOutputEditor()
356 public Component getView() { in getView() method in TestCaseEditController
450 public JComponent getView() { in getView() method in TestCaseEditController.InputMultiEditor
528 public JScrollPane getView() { in getView() method in TestCaseEditController.OutputAstEditor
DIController.java34 public Component getView() ; in getView() method
/external/glide/library/src/main/java/com/bumptech/glide/request/animation/
DViewPropertyAnimation.java38 final View view = adapter.getView(); in animate()
40 animator.animate(adapter.getView()); in animate()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DViewManagerImpl.java40 public ViewData getView(View.Name viewName) { in getView() method in ViewManagerImpl
41 return statsManager.getView(viewName); in getView()
DStatsManager.java58 ViewData getView(View.Name viewName) { in getView() method in StatsManager
59 return measureToViewMap.getView(viewName, clock, state.getInternal()); in getView()
/external/opencensus-java/contrib/zpages/src/test/java/io/opencensus/contrib/zpages/
DRpczZPageHandlerTest.java75 .getView(RPC_CLIENT_REQUEST_BYTES_MINUTE_VIEW.getName()); in emitSummaryTableForEachMethod()
83 .getView(RPC_CLIENT_ERROR_COUNT_VIEW.getName()); in emitSummaryTableForEachMethod()
90 .getView(RPC_CLIENT_REQUEST_BYTES_VIEW.getName()); in emitSummaryTableForEachMethod()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowListView.java21 headerViews.add(adapter.getView(i, null, realListView)); in getHeaderViews()
32 footerViews.add(adapter.getView(i, null, realListView)); in getFooterViews()
DShadowAlertDialog.java101 public View getView() { in getView() method in ShadowAlertDialog
102 return getShadowAlertController().getView(); in getView()
DShadowToast.java66 protected View getView() { in getView() method in ShadowToast
159 …String text = ((TextView) toast.getView().findViewById(layoutResourceIdToCheckForMessage)).getText… in showedCustomToast()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowProgressDialogTest.java37 View dialogView = shadow.getView(); in shouldPutTheMessageIntoTheView()
40 assertThat(shadowOf(shadow.getView()).innerText()).contains(message); in shouldPutTheMessageIntoTheView()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalUiController.java41 getOnlyElement(getViewRoots()).getView().dispatchTouchEvent(event); in injectMotionEvent()
55 getOnlyElement(getViewRoots()).getView().dispatchKeyEvent(event); in injectKeyEvent()

1234