Home
last modified time | relevance | path

Searched refs:getContext (Results 1 – 25 of 73) sorted by relevance

123

/core/core/src/androidTest/java/androidx/core/widget/
DNestedScrollViewTest.java324 mNestedScrollView.mEdgeGlowTop = new EdgeEffectSubstitute(mNestedScrollView.getContext()); in testTopEdgeEffectReversal()
343 new EdgeEffectSubstitute(mNestedScrollView.getContext()); in testBottomEdgeEffectReversal()
366 EdgeEffectSubstitute edgeEffect = new EdgeEffectSubstitute(mNestedScrollView.getContext()); in testFlingWhileStretchedAtTop()
385 EdgeEffectSubstitute edgeEffect = new EdgeEffectSubstitute(mNestedScrollView.getContext()); in testFlingWhileStretchedAtBottom()
409 EdgeEffectSubstitute edgeEffect = new EdgeEffectSubstitute(mNestedScrollView.getContext()); in scrollFromRotaryStretchesTop()
424 EdgeEffectSubstitute edgeEffect = new EdgeEffectSubstitute(mNestedScrollView.getContext()); in scrollFromRotaryStretchesBottom()
441 EdgeEffectSubstitute edgeEffect = new EdgeEffectSubstitute(mNestedScrollView.getContext()); in scrollFromMouseDoesNotStretchTop()
456 EdgeEffectSubstitute edgeEffect = new EdgeEffectSubstitute(mNestedScrollView.getContext()); in scrollFromMouseDoesNotStretchBottom()
DTextViewCompatTest.java477 final Menu menu = new MenuBuilder(mTextView.getContext()); in testSetCustomSelectionActionModeCallback_doesNotIgnoreTheGivenCallback()
493 final PackageManager packageManagerMock = spy(mTextView.getContext().getPackageManager()); in testSetCustomSelectionActionModeCallback_fixesBugInO()
494 final Context contextMock = spy(mTextView.getContext()); in testSetCustomSelectionActionModeCallback_fixesBugInO()
556 final Menu menu = new MenuBuilder(tvMock.getContext()); in testSetCustomSelectionActionModeCallback_fixesBugInO()
DListViewCompatTest.java80 convertView = LayoutInflater.from(mListView.getContext()).inflate( in setUp()
/core/core/src/main/java/androidx/core/view/
DSoftwareKeyboardControllerCompat.java133 (InputMethodManager) finalView.getContext() in show()
144 ((InputMethodManager) mView.getContext() in hide()
173 (InputMethodManager) mView.getContext() in show()
217 final InputMethodManager imm = (InputMethodManager) mView.getContext() in hide()
DActionProvider.java143 public @NonNull Context getContext() { in getContext() method in ActionProvider
DViewCompat.java3122 Context context = view.getContext(); in getWindowInsetsController()
4984 view.getContext().getSystemService(Context.ACCESSIBILITY_SERVICE);
/core/core/src/androidTest/java/androidx/core/view/
DViewGroupCompatTest.java101 final Context context = mViewGroup.getContext(); in dispatchApplyWindowInsets()
138 final Context context = mViewGroup.getContext(); in installCompatInsetsDispatch()
/core/core/src/main/java/androidx/core/app/
DShareCompat.java236 provider = new ShareActionProvider(shareIntent.getContext()); in configureMenuItem()
241 + shareIntent.getContext().getClass().getName()); in configureMenuItem()
373 @NonNull Context getContext() { in getContext() method in ShareCompat.IntentBuilder
DNotificationCompatBuilder.java325 Context getContext() { in getContext() method in NotificationCompatBuilder
DNotificationCompat.java3308 context = ((NotificationCompatBuilder) builder).getContext(); in apply()
3323 context = ((NotificationCompatBuilder) builder).getContext(); in apply()
/core/core/src/main/java/androidx/core/content/
DContentProviderCompat.java45 final Context ctx = provider.getContext(); in requireContext()
DFileProvider.java826 mLocalPathStrategy = getPathStrategy(getContext(), mAuthority, mResourceId); in getLocalPathStrategy()
/core/core/src/main/java/androidx/core/service/quicksettings/
DPendingIntentActivityWrapper.java70 public @NonNull Context getContext() { in getContext() method in PendingIntentActivityWrapper
/core/core/src/androidTest/java/androidx/core/app/
DRemoteActionCompatTest.java43 InstrumentationRegistry.getContext(), 0, new Intent("TESTACTION"),
/core/core/src/main/java/androidx/core/widget/
DTextViewOnReceiveContentListener.java72 final Context context = textView.getContext(); in onReceiveContent()
DNestedScrollView.java239 new DifferentialMotionFlingController(getContext(), mDifferentialMotionFlingTarget);
527 mScroller = new OverScroller(getContext()); in initScrollView()
531 final ViewConfiguration configuration = ViewConfiguration.get(getContext()); in initScrollView()
1434 final Context context = getContext(); in getVerticalScrollFactorCompat()
DTextViewCompat.java218 textView.setTextAppearance(textView.getContext(), resId); in setTextAppearance()
516 final Context context = mTextView.getContext(); in recomputeProcessTextMenuItems()
/core/core/src/main/java/androidx/core/view/insets/
DSystemBarStateMonitor.java65 mDetector = new View(rootView.getContext()) { in SystemBarStateMonitor()
DProtectionLayout.java174 addProtectionView(getContext(), i + nonProtectionChildCount, protection); in addProtectionViews()
/core/core/src/androidTest/java/androidx/core/provider/
DMockFontProvider.java276 final File targetFile = getCopiedFile(getContext(), FONT_FILES[id]); in openFile()
/core/core/src/androidTest/java/androidx/core/content/res/
DFontResourcesParserCompatTest.java61 mResources = mInstrumentation.getContext().getResources(); in setup()
/core/core/src/androidTest/java/androidx/core/util/
DAtomicFileTest.java75 private final Context mContext = mInstrumentation.getContext();
/core/core/src/androidTest/java/androidx/core/view/accessibility/
DAccessibilityNodeInfoCompatTest.java388 targetMap.put(region, new View(InstrumentationRegistry.getContext())); in testTouchDelegateInfo()
/core/core/api/
D1.13.0-beta01.txt2081 method public android.content.Context getContext();
2417 method public android.content.Context getContext();
D1.12.0-beta01.txt2082 method public android.content.Context getContext();
2418 method public android.content.Context getContext();

123