Home
last modified time | relevance | path

Searched refs:navigation (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DNavigationViewUsageBase.java41 NavigationView navigation = findViewById(R.id.navigation); in onCreate() local
42 navigation.setNavigationItemSelectedListener(getNavigationItemSelectedListener()); in onCreate()
43 navigation.inflateHeaderView(R.layout.design_navigation_header); in onCreate()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp39 jfieldID navigation; member
55 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation); in android_Configuration_getFromJava()
88 gConfigurationClassInfo.navigation = GetFieldIDOrDie(env, clazz, "navigation", "I"); in register_android_content_res_Configuration()
Dandroid_util_AssetManager.cpp675 jint navigation, in android_content_AssetManager_setConfiguration() argument
703 config.navigation = (uint8_t)navigation; in android_content_AssetManager_setConfiguration()
/frameworks/base/core/java/android/content/res/
DConfiguration.java561 public int navigation; field in Configuration
885 navigation = o.navigation; in setTo()
1035 switch (navigation) { in toString()
1041 default: sb.append(" nav="); sb.append(navigation); break; in toString()
1075 navigation = NAVIGATION_UNDEFINED; in setToDefaults()
1171 if (delta.navigation != NAVIGATION_UNDEFINED in updateFrom()
1172 && navigation != delta.navigation) { in updateFrom()
1174 navigation = delta.navigation; in updateFrom()
1380 if ((compareUndefined || delta.navigation != NAVIGATION_UNDEFINED) in diff()
1381 && navigation != delta.navigation) { in diff()
[all …]
DAssetManager.java790 int keyboardHidden, int navigation, int screenWidth, int screenHeight, in setConfiguration() argument
DResourcesImpl.java441 keyboardHidden, mConfiguration.navigation, width, height, in updateConfiguration()
/frameworks/base/native/android/
Dconfiguration.cpp79 return config->navigation; in AConfiguration_getNavigation()
171 void AConfiguration_setNavigation(AConfiguration* config, int32_t navigation) { in AConfiguration_setNavigation() argument
172 config->navigation = navigation; in AConfiguration_setNavigation()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp498 if (out) out->navigation = out->NAVIGATION_ANY; in parseNavigation()
501 if (out) out->navigation = out->NAVIGATION_NONAV; in parseNavigation()
504 if (out) out->navigation = out->NAVIGATION_DPAD; in parseNavigation()
507 if (out) out->navigation = out->NAVIGATION_TRACKBALL; in parseNavigation()
510 if (out) out->navigation = out->NAVIGATION_WHEEL; in parseNavigation()
946 if (navigation || o.navigation) return (!o.navigation); in HasHigherPrecedenceThan()
981 !pred(keyboard, o.keyboard) || !pred(navigation, o.navigation); in ConflictsWith()
Dreadme.md4 - Added navigation resource type.
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityManagerTest.java104 assertEquals(config.reqNavigation, vconfig.navigation); in testGetDeviceConfigurationInfo()
105 if (vconfig.navigation == Configuration.NAVIGATION_NONAV) { in testGetDeviceConfigurationInfo()
/frameworks/support/design/tests/src/android/support/design/widget/
DBottomNavigationViewTest.java95 BottomNavigationView navigation = new BottomNavigationView(mActivityTestRule.getActivity()); in testAddItemsWithoutMenuInflation() local
96 mActivityTestRule.getActivity().setContentView(navigation); in testAddItemsWithoutMenuInflation()
97 navigation.getMenu().add("Item1"); in testAddItemsWithoutMenuInflation()
98 navigation.getMenu().add("Item2"); in testAddItemsWithoutMenuInflation()
99 assertEquals(2, navigation.getMenu().size()); in testAddItemsWithoutMenuInflation()
100 navigation.getMenu().removeItem(0); in testAddItemsWithoutMenuInflation()
101 navigation.getMenu().removeItem(0); in testAddItemsWithoutMenuInflation()
102 assertEquals(0, navigation.getMenu().size()); in testAddItemsWithoutMenuInflation()
/frameworks/base/data/keyboards/
Dqwerty.idc27 cursor.mode = navigation
Dqwerty2.idc27 cursor.mode = navigation
/frameworks/base/tools/aapt/
DAaptConfig.cpp737 if (out) out->navigation = out->NAVIGATION_ANY; in parseNavigation()
740 if (out) out->navigation = out->NAVIGATION_NONAV; in parseNavigation()
743 if (out) out->navigation = out->NAVIGATION_DPAD; in parseNavigation()
746 if (out) out->navigation = out->NAVIGATION_TRACKBALL; in parseNavigation()
749 if (out) out->navigation = out->NAVIGATION_WHEEL; in parseNavigation()
DResourceTable.cpp3177 config.navigation, in flatten()
3222 tHeader->config.navigation, in flatten()
3957 config->navigation, in getEntry()
DResource.cpp142 mParams.inputFlags, mParams.navigation); in next()
/frameworks/base/core/proto/android/content/
Dconfiguration.proto38 uint32 navigation = 9; field
/frameworks/support/
Dsettings.gradle153 include ':support-app-navigation'
154 project(':support-app-navigation').projectDir = new File(samplesRoot, 'SupportAppNavigation')
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java318 public ConfigGenerator setNavigation(Navigation navigation) { in setNavigation() argument
319 mNavigation = navigation; in setNavigation()
/frameworks/native/include/android/
Dconfiguration.h592 void AConfiguration_setNavigation(AConfiguration* config, int32_t navigation);
/frameworks/support/app-toolkit/
Dinit.gradle101 "navigation" : "android.arch.navigation"]
/frameworks/base/libs/androidfw/
DResourceTypes.cpp2018 if (navigation != o.navigation) diffs |= CONFIG_NAVIGATION; in diff()
2188 if (navigation != o.navigation) { in isMoreSpecificThan()
2189 if (!navigation) return false; in isMoreSpecificThan()
2190 if (!o.navigation) return true; in isMoreSpecificThan()
2550 if ((navigation != o.navigation) && requested->navigation) { in isBetterThan()
2551 return (navigation); in isBetterThan()
2759 if (navigation != 0 && navigation != settings.navigation) { in match()
3212 if (navigation != NAVIGATION_ANY) { in toString()
3214 switch (navigation) { in toString()
3228 res.appendFormat("navigation=%d", dtohs(navigation)); in toString()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java1243 config.navigation = Configuration.NAVIGATION_NONAV; in computeScreenConfiguration()
1268 config.navigation = Configuration.NAVIGATION_TRACKBALL; in computeScreenConfiguration()
1271 && config.navigation == Configuration.NAVIGATION_NONAV) { in computeScreenConfiguration()
1272 config.navigation = Configuration.NAVIGATION_DPAD; in computeScreenConfiguration()
1283 if (config.navigation == Configuration.NAVIGATION_NONAV && mService.mHasPermanentDpad) { in computeScreenConfiguration()
1284 config.navigation = Configuration.NAVIGATION_DPAD; in computeScreenConfiguration()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1030 uint8_t navigation; member
/frameworks/base/proto/src/
Dmetrics_constants.proto2355 // System navigation key up.
2358 // System navigation key down.

12