Home
last modified time | relevance | path

Searched refs:requireContext (Results 1 – 6 of 6) sorted by relevance

/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DShowcaseFragment.kt37 startActivity(Intent(requireContext(), AppIntroActivity::class.java)) in <lambda>()
40 startActivity(Intent(requireContext(), DynamicActivity::class.java)) in <lambda>()
43 startActivity(Intent(requireContext(), TypographyDemoActivity::class.java)) in <lambda>()
46 startActivity(Intent(requireContext(), DynamicTextActivity::class.java)) in <lambda>()
49 startActivity(Intent(requireContext(), BullseyeActivity::class.java)) in <lambda>()
52 startActivity(Intent(requireContext(), ListActivity::class.java)) in <lambda>()
79 …onClickListener { _ -> startActivity(PlayerActivity.intent(requireContext(), CompositionArgs(anima… in buildModels()
DPreviewFragment.kt37 if (requireContext().hasPermission(Manifest.permission.CAMERA)) { in <lambda>()
38 startActivity(QRScanActivity.intent(requireContext())) in <lambda>()
74 startActivity(PlayerActivity.intent(requireContext(), args)) in <lambda>()
86 … val adapter = ArrayAdapter<String>(requireContext(), android.R.layout.select_dialog_item) in <lambda>()
87 requireContext().assets.list("").asSequence() in <lambda>()
93 startActivity(PlayerActivity.intent(requireContext(), args)) in <lambda>()
103 …RC_FILE-> startActivity(PlayerActivity.intent(requireContext(), CompositionArgs(fileUri = data?.da… in <lambda>()
111 startActivity(QRScanActivity.intent(requireContext())) in <lambda>()
DPlayerFragment.kt419 item.icon = ContextCompat.getDrawable(requireContext(), menuIcon) in <lambda>()
462 val view = BottomSheetItemView(requireContext()).apply { in <lambda>()
481 val view = BottomSheetItemView(requireContext()).apply { in <lambda>()
DLottiefilesFragment.kt90 startActivity(PlayerActivity.intent(requireContext(), args)) in buildModels()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DFragmentVisibilityTests.kt113 AlertDialog.Builder(requireContext()).setTitle("This is a dialog").show() in <lambda>()
150 …fragment.requireContext().startActivity(Intent(fragment.requireContext(), EmptyActivity::class.jav… in <lambda>()
172 return RecyclerView(requireContext()).apply { in <lambda>()
173 … layoutManager = LinearLayoutManager(requireContext(), LinearLayoutManager.VERTICAL, false) in <lambda>()
304 return RecyclerView(requireContext()).apply { in <lambda>()
305 … layoutManager = LinearLayoutManager(requireContext(), LinearLayoutManager.VERTICAL, false) in <lambda>()
365 return RecyclerView(requireContext()).apply { in <lambda>()
366 … layoutManager = LinearLayoutManager(requireContext(), LinearLayoutManager.VERTICAL, false) in <lambda>()
/external/tensorflow/tensorflow/java/src/main/native/
Deager_operation_builder_jni.cc39 TFE_Context* requireContext(JNIEnv* env, jlong handle) { in requireContext() function
69 TFE_Context* context = requireContext(env, context_handle); in Java_org_tensorflow_EagerOperationBuilder_allocate()