Home
last modified time | relevance | path

Searched refs:Destination (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/support/navigation/testing/src/main/java/androidx/navigation/testing/
DTestNavigator.java34 public class TestNavigator extends Navigator<TestNavigator.Destination> {
36 public final ArrayDeque<Pair<Destination, Bundle>> mBackStack = new ArrayDeque<>();
40 public Destination createDestination() { in createDestination()
41 return new Destination(this); in createDestination()
45 public void navigate(@NonNull Destination destination, @Nullable Bundle args, in navigate()
73 public static class Destination extends NavDestination { class in TestNavigator
77 Destination(@NonNull Navigator<? extends NavDestination> navigator) { in Destination() method in TestNavigator.Destination
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/
DActivityNavigator.java40 public class ActivityNavigator extends Navigator<ActivityNavigator.Destination> {
67 public Destination createDestination() { in createDestination()
68 return new Destination(this); in createDestination()
88 public void navigate(@NonNull Destination destination, @Nullable Bundle args, in navigate()
161 public static class Destination extends NavDestination { class in ActivityNavigator
173 public Destination(@NonNull NavigatorProvider navigatorProvider) { in Destination() method in ActivityNavigator.Destination
186 public Destination(@NonNull Navigator<? extends Destination> activityNavigator) { in Destination() method in ActivityNavigator.Destination
218 public Destination setIntent(Intent intent) { in setIntent()
239 public Destination setComponentName(ComponentName name) { in setComponentName()
265 public Destination setAction(String action) { in setAction()
[all …]
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/
DNavArgumentResolver.kt20 import androidx.navigation.safe.args.generator.models.Destination in <lambda>()
23 fun resolveArguments(rootDestination: Destination): Destination { in <lambda>()
24 val destinations = mutableMapOf<ResReference, Destination>() in <lambda>()
26 fun dfs(dest: Destination): Destination { in <lambda>()
DNavParser.kt21 import androidx.navigation.safe.args.generator.models.Destination in <lambda>()
52 ): Destination { in <lambda>()
61 internal fun parseDestination(): Destination { in <lambda>()
68 val nested = mutableListOf<Destination>() in <lambda>()
78 val className = Destination.createName(id, name, applicationId) in <lambda>()
84 return Destination(id, className, type, args, actions, nested) in <lambda>()
DContext.kt20 import androidx.navigation.safe.args.generator.models.Destination
29 fun createStubDestination() = Destination(createStubId(), null, "stub",
DNavSafeArgsGenerator.kt19 import androidx.navigation.safe.args.generator.models.Destination in <lambda>()
34 fun writeJavaFiles(destination: Destination) { in <lambda>()
DNavWriter.kt24 import androidx.navigation.safe.args.generator.models.Destination in <lambda>()
97 destination: Destination): TypeSpec { in generateDestinationDirectionsTypeSpec()
143 internal fun generateArgsJavaFile(destination: Destination): JavaFile { in generateArgsJavaFile()
213 fun generateDirectionsJavaFile(destination: Destination): JavaFile { in generateDirectionsJavaFile()
/frameworks/support/navigation/safe-args-generator/src/tests/kotlin/androidx/navigation/safe/args/generator/
DDestinationTest.kt19 import androidx.navigation.safe.args.generator.models.Destination
33 val name = Destination.createName(id("main"), "foo.sub.ClassName", "some.app") in fullName()
39 val name = Destination.createName(id("main"), ".sub.ClassName", "some.app") in relativeWithSubpackage()
45 val name = Destination.createName(id("main"), "ClassName", "some.app") in fullNameNoPackage()
51 val name = Destination.createName(id("main"), "", "some.app") in idOnly()
DNavArgumentResolverTest.kt23 import androidx.navigation.safe.args.generator.models.Destination
39 Destination( in id()
58 val topLevel = Destination(null, null, "test", in id()
84 val topLevel = Destination(null, null, "test", emptyList(), listOf(invalidAction), in testIncompatibleTypes()
DNavParserTest.kt26 import androidx.navigation.safe.args.generator.models.Destination in <lambda>()
47 val expectedFirst = Destination(id("first_screen"), nameFirst, "fragment", in <lambda>()
55 val expectedNext = Destination(id("next_fragment"), nameNext, "fragment", in <lambda>()
60 val expectedGraph = Destination(null, null, "navigation", emptyList(), emptyList(), in <lambda>()
DNavWriterTest.kt27 import androidx.navigation.safe.args.generator.models.Destination
120 val dest = Destination(null, ClassName.get("a.b", "MainFragment"), "fragment", listOf(), in testDirectionsClassGeneration()
130 val dest = Destination(null, ClassName.get("a.b", "MainFragment"), "fragment", listOf( in testArgumentsClassGeneration()
/frameworks/base/tools/incident_section_gen/
Dmain.cpp175 const Destination dest, const string& patterns, const string& comments = "") { in printPrivacy()
194 static inline Destination getMessageDest(const Descriptor* descriptor, const Destination overridden… in getMessageDest()
199 static inline Destination getFieldDest(const FieldDescriptor* field) { in getFieldDest()
200 Destination fieldDest = getPrivacyFlags(field).dest(); in getFieldDest()
206 static inline string getDestString(const Destination dest) { in getDestString()
224 static inline string getMessageName(const Descriptor* descriptor, const Destination overridden) { in getMessageName()
233 static inline bool isDefaultField(const FieldDescriptor* field, const Destination containerDest) { in isDefaultField()
234 Destination fieldDest = getFieldDest(field); in isDefaultField()
244 static bool isDefaultMessageImpl(const Descriptor* descriptor, const Destination dest, set<string>*… in isDefaultMessageImpl()
246 const Destination messageDest = getMessageDest(descriptor, dest); in isDefaultMessageImpl()
[all …]
/frameworks/support/navigation/fragment/src/main/java/androidx/navigation/fragment/
DFragmentNavigator.java46 public class FragmentNavigator extends Navigator<FragmentNavigator.Destination> {
95 public Destination createDestination() { in createDestination()
96 return new Destination(this); in createDestination()
112 public void navigate(@NonNull Destination destination, @Nullable Bundle args, in navigate()
194 public static class Destination extends NavDestination { class in FragmentNavigator
207 public Destination(@NonNull NavigatorProvider navigatorProvider) { in Destination() method in FragmentNavigator.Destination
220 public Destination(@NonNull Navigator<? extends Destination> fragmentNavigator) { in Destination() method in FragmentNavigator.Destination
260 public Destination setFragmentClass(@NonNull Class<? extends Fragment> clazz) { in setFragmentClass()
/frameworks/support/navigation/runtime/ktx/src/androidTest/java/androidx/navigation/
DActivityNavigatorDestinationBuilderTest.kt58 (graph[DESTINATION_ID] as ActivityNavigator.Destination).component?.className) in activityClass()
72 (graph[DESTINATION_ID] as ActivityNavigator.Destination).action) in action()
86 (graph[DESTINATION_ID] as ActivityNavigator.Destination).data) in data()
100 (graph[DESTINATION_ID] as ActivityNavigator.Destination).dataPattern) in dataPattern()
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/models/
DDestination.kt21 data class Destination( dataClass
27 val nested: List<Destination> = emptyList()) {
/frameworks/support/navigation/runtime/ktx/src/main/java/androidx/navigation/
DActivityNavigatorDestinationBuilder.kt45 ) : NavDestinationBuilder<ActivityNavigator.Destination>(navigator, id) { in <lambda>()
56 override fun build(): ActivityNavigator.Destination = in <lambda>()
/frameworks/support/navigation/fragment/ktx/src/main/java/androidx/navigation/fragment/
DFragmentNavigatorDestinationBuilder.kt52 ) : NavDestinationBuilder<FragmentNavigator.Destination>(navigator, id) { in fragment()
54 override fun build(): FragmentNavigator.Destination = in fragment()
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/
DFragmentNavigatorTest.java63 FragmentNavigator.Destination destination = fragmentNavigator.createDestination(); in testNavigate()
79 FragmentNavigator.Destination destination = fragmentNavigator.createDestination(); in testSingleTopInitial()
106 FragmentNavigator.Destination destination = fragmentNavigator.createDestination(); in testSingleTop()
/frameworks/support/navigation/fragment/ktx/src/androidTest/java/androidx/navigation/fragment/
DFragmentNavigatorDestinationBuilderTest.kt53 (graph[DESTINATION_ID] as FragmentNavigator.Destination).fragmentClass) in fragment()
71 (graph[DESTINATION_ID] as FragmentNavigator.Destination).fragmentClass) in fragmentWithBody()
/frameworks/support/navigation/testing/ktx/src/main/java/androidx/navigation/testing/
DTestNavigator.kt24 val TestNavigator.backStack: List<Pair<TestNavigator.Destination, Bundle?>>
DTestNavigatorDestinationBuilder.kt47 ) : NavDestinationBuilder<TestNavigator.Destination>(navigator, id)
/frameworks/base/libs/incident/proto/android/os/
Dmetadata.proto34 enum Destination { enum
39 optional Destination dest = 3;
/frameworks/base/libs/incident/proto/android/
Dprivacy.proto26 enum Destination { enum
51 optional Destination dest = 1 [ default = DEST_UNSET ];
/frameworks/rs/script_api/include/
Drs_quaternion.rsh34 * q: Destination quaternion to add to.
122 * q: Destination quaternion.
148 * q: Destination quaternion.
182 * q: Destination quaternion.
231 * q: Destination quaternion.
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto295 enum Destination { enum
299 optional Destination dest = 2;

12