Home
last modified time | relevance | path

Searched refs:isAssignableFrom (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/support/compat/tests/java/android/support/v4/testutils/
DTextViewActions.java31 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
41 return isAssignableFrom(TextView.class); in setMaxLines()
68 return isAssignableFrom(TextView.class);
95 return isAssignableFrom(TextView.class);
122 return isAssignableFrom(TextView.class);
151 return isAssignableFrom(TextView.class);
180 return isAssignableFrom(TextView.class);
210 return isAssignableFrom(TextView.class);
/frameworks/support/design/tests/src/android/support/design/testutils/
DFloatingActionButtonActions.java19 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
38 return isAssignableFrom(FloatingActionButton.class); in setBackgroundTintColor()
62 return isAssignableFrom(FloatingActionButton.class);
86 return isAssignableFrom(FloatingActionButton.class);
110 return isAssignableFrom(View.class);
136 return isAssignableFrom(FloatingActionButton.class);
161 return isAssignableFrom(FloatingActionButton.class);
DTextInputLayoutActions.java19 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
36 return isAssignableFrom(TextInputLayout.class); in setErrorEnabled()
60 return isAssignableFrom(TextInputLayout.class);
84 return isAssignableFrom(TextInputLayout.class);
DDrawerLayoutActions.java25 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
35 return isAssignableFrom(DrawerLayout.class); in openDrawer()
63 return isAssignableFrom(DrawerLayout.class);
DViewPagerActions.java33 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
187 return isAssignableFrom(ViewPager.class);
214 return isAssignableFrom(ViewPager.class);
DTestUtilsActions.java115 return isAssignableFrom(CollapsingToolbarLayout.class);
143 return isAssignableFrom(TextView.class);
170 return isAssignableFrom(TabLayout.class);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
DDrawerLayoutActions.java19 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
151 return isAssignableFrom(DrawerLayout.class);
176 return isAssignableFrom(DrawerLayout.class);
201 return isAssignableFrom(DrawerLayout.class);
226 return isAssignableFrom(DrawerLayout.class);
251 return isAssignableFrom(DrawerLayout.class);
276 return isAssignableFrom(DrawerLayout.class);
301 return isAssignableFrom(DrawerLayout.class);
328 return isAssignableFrom(DrawerLayout.class);
DTestUtilsActions.java28 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
67 return allOf(isDisplayingAtLeast(90), isAssignableFrom(TextView.class));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DModelClass.java54 if (listType.isAssignableFrom(this)) { in isList()
66 return ModelAnalyzer.getInstance().getMapType().isAssignableFrom(erasure()); in isMap()
165 return ModelAnalyzer.getInstance().getViewDataBindingType().isAssignableFrom(this); in isViewDataBinding()
172 return ModelAnalyzer.getInstance().getViewStubType().isAssignableFrom(this); in extendsViewStub()
181 return modelAnalyzer.getObservableType().isAssignableFrom(this) || in isObservable()
182 modelAnalyzer.getObservableListType().isAssignableFrom(this) || in isObservable()
183 modelAnalyzer.getObservableMapType().isAssignableFrom(this); in isObservable()
194 if (observableField.isAssignableFrom(erasure)) { in isObservableField()
233 public abstract boolean isAssignableFrom(ModelClass that); in isAssignableFrom() method in ModelClass
DModelMethod.java79 if (!parameterType.isAssignableFrom(arg) && !isImplicitConversion(arg, parameterType)) { in acceptsArguments()
135 if (thatParameter.isAssignableFrom(thisParameter)) { in compareParameter()
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
DSwipeRefreshLayoutActions.java19 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
33 return isAssignableFrom(SwipeRefreshLayout.class); in setRefreshing()
58 return isAssignableFrom(SwipeRefreshLayout.class);
/frameworks/support/design/tests/src/android/support/design/widget/
DSnackbarTest.java73 isDescendantOfA(isAssignableFrom(Snackbar.SnackbarLayout.class)), in verifySnackbarContent()
79 isDescendantOfA(isAssignableFrom(Snackbar.SnackbarLayout.class)), in verifySnackbarContent()
179 onView(isAssignableFrom(Snackbar.SnackbarLayout.class)), in testDismissViaSwipe()
194 onView(isAssignableFrom(Snackbar.SnackbarLayout.class)), in testDismissViaSwipeRtl()
206 onView(isAssignableFrom(Snackbar.SnackbarLayout.class)), in testDismissViaApi()
222 onView(isAssignableFrom(Snackbar.SnackbarLayout.class)), in testDismissViaTimeout()
238 onView(isAssignableFrom(Snackbar.SnackbarLayout.class)), in testDismissViaAnotherSnackbar()
DBaseDynamicCoordinatorLayoutTest.java31 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
84 return allOf(isAssignableFrom(ViewStub.class), hasParent());
DNavigationViewTest.java40 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
214 isChildOfA(isAssignableFrom(RecyclerView.class)), in testBackground()
230 isChildOfA(isAssignableFrom(RecyclerView.class)), in testBackground()
246 isChildOfA(isAssignableFrom(RecyclerView.class)), in testBackground()
442 isChildOfA(isAssignableFrom(RecyclerView.class)), in verifyCheckedAppearance()
542 isChildOfA(isAssignableFrom(RecyclerView.class)), in testActionLayout()
545 isAssignableFrom(SwitchCompat.class), in testActionLayout()
557 isChildOfA(isAssignableFrom(RecyclerView.class)), in testActionLayout()
560 isAssignableFrom(TextView.class), in testActionLayout()
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java74 if (TestSuite.class.isAssignableFrom(testClass)) { in setTest()
137 return testMethodName != null && TestCase.class.isAssignableFrom(testClass); in shouldRunSingleTestMethod()
141 if (TestSuiteProvider.class.isAssignableFrom(clazz)) { in getTest()
203 if (AndroidTestCase.class.isAssignableFrom(test.getClass())) { in setContextIfAndroidTestCase()
215 if (InstrumentationTestCase.class.isAssignableFrom(test.getClass())) { in setInstrumentationIfInstrumentationTestCase()
222 if (PerformanceCollectorTestCase.class.isAssignableFrom(test.getClass())) { in setPerformanceWriterIfPerformanceCollectorTestCase()
DTestRunner.java289 } else if (mRunnableClass.isAssignableFrom(clazz)) { in run()
329 } else if (mJUnitClass.isAssignableFrom(clazz)) { in run()
494 if (mJUnitClass.isAssignableFrom(clazz)) { in runSingleJunitTest()
598 if (mJUnitClass.isAssignableFrom(clazz)) { in getTestChildren()
658 if (mJUnitClass.isAssignableFrom(clazz)) { in isTestSuite()
676 if (mJUnitClass.isAssignableFrom(clazz)) { in isJunitTest()
699 } else if (mRunnableClass.isAssignableFrom(clazz)) { in countTests()
701 } else if (mJUnitClass.isAssignableFrom(clazz)) { in countTests()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DContextMenuUtils.java24 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
47 return onView(ViewMatchers.isAssignableFrom(MenuDropDownListView.class)) in onContextMenu()
86 isAssignableFrom(ListMenuItemView.class), in asssertContextMenuContainsItemWithEnabledState()
DDragHandleUtils.java23 import static android.support.test.espresso.matcher.ViewMatchers.isAssignableFrom;
55 return onView(allOf(withId(id), isAssignableFrom(Editor.HandleView.class))) in onHandleView()
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaTypeUtil.java76 if (Object.class.isAssignableFrom(klass)) { in getDescription()
79 if (Array.class.isAssignableFrom(klass)) { in getDescription()
DJavaClass.java64 return Object.class.isAssignableFrom(mClass); in isNullable()
198 public boolean isAssignableFrom(ModelClass that) { in isAssignableFrom() method in JavaClass
200 return mClass.isAssignableFrom(thatClass); in isAssignableFrom()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DAssignableFrom.java30 return root.isAssignableFrom(testMethod.getEnclosingClass()); in apply()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DAlertDialogTest.java499 isAssignableFrom(CheckedTextView.class), in verifyMultiChoiceItemsState()
500 isDescendantOfA(isAssignableFrom(ListView.class)), in verifyMultiChoiceItemsState()
626 isAssignableFrom(CheckedTextView.class), in verifySingleChoiceItemsState()
627 isDescendantOfA(isAssignableFrom(ListView.class)), in verifySingleChoiceItemsState()
713 isAssignableFrom(ImageView.class), in testIconResource()
745 isAssignableFrom(ImageView.class), in testIconResourceChangeAfterInitialSetup()
776 isAssignableFrom(ImageView.class), in testIconResourceChangeWithNoInitialSetup()
808 isAssignableFrom(ImageView.class), in testIconResourceRemoveAfterInitialSetup()
829 isAssignableFrom(ImageView.class), in testIconDrawable()
861 isAssignableFrom(ImageView.class), in testIconResourceDrawableAfterInitialSetup()
[all …]
DAlertDialogCursorTest.java231 isAssignableFrom(CheckedTextView.class), in verifyMultiChoiceItemsState()
232 isDescendantOfA(isAssignableFrom(ListView.class)), in verifyMultiChoiceItemsState()
348 isAssignableFrom(CheckedTextView.class), in verifySingleChoiceItemsState()
349 isDescendantOfA(isAssignableFrom(ListView.class)), in verifySingleChoiceItemsState()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestCaseFilter.java39 return UiAutomatorTestCase.class.isAssignableFrom(clazz); in accept()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFrameFormat.java115 if (!expectedClass.isAssignableFrom(mMetaData.get(key).getClass())) { in hasMetaKey()
229 || !specification.getObjectClass().isAssignableFrom(getObjectClass())) { in isCompatibleWith()
290 if (!specification.getObjectClass().isAssignableFrom(getObjectClass())) { in mayBeCompatibleWith()

123