Searched refs:navigation (Results 1 - 22 of 22) sorted by relevance

/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DNavigationViewUsageBase.java41 NavigationView navigation = findViewById(R.id.navigation);
42 navigation.setNavigationItemSelectedListener(getNavigationItemSelectedListener());
43 navigation.inflateHeaderView(R.layout.design_navigation_header);
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DNavigationViewUsageBase.java41 NavigationView navigation = findViewById(R.id.navigation);
42 navigation.setNavigationItemSelectedListener(getNavigationItemSelectedListener());
43 navigation.inflateHeaderView(R.layout.design_navigation_header);
/frameworks/base/core/proto/android/content/
H A Dconfiguration.proto38 uint32 navigation = 9;
/frameworks/base/core/jni/
H A Dandroid_content_res_Configuration.cpp39 jfieldID navigation; member in struct:android::__anon1050
55 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation);
88 gConfigurationClassInfo.navigation = GetFieldIDOrDie(env, clazz, "navigation", "I");
H A Dandroid_util_AssetManager.cpp675 jint navigation,
703 config.navigation = (uint8_t)navigation;
670 android_content_AssetManager_setConfiguration(JNIEnv* env, jobject clazz, jint mcc, jint mnc, jstring locale, jint orientation, jint touchscreen, jint density, jint keyboard, jint keyboardHidden, jint navigation, jint screenWidth, jint screenHeight, jint smallestScreenWidthDp, jint screenWidthDp, jint screenHeightDp, jint screenLayout, jint uiMode, jint colorMode, jint sdkVersion) argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java104 assertEquals(config.reqNavigation, vconfig.navigation);
105 if (vconfig.navigation == Configuration.NAVIGATION_NONAV) {
/frameworks/base/native/android/
H A Dconfiguration.cpp79 return config->navigation;
171 void AConfiguration_setNavigation(AConfiguration* config, int32_t navigation) { argument
172 config->navigation = navigation;
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java539 /** Constant for {@link #navigation}: a value indicating that no value has been set. */
541 /** Constant for {@link #navigation}, value corresponding to the
545 /** Constant for {@link #navigation}, value corresponding to the
549 /** Constant for {@link #navigation}, value corresponding to the
553 /** Constant for {@link #navigation}, value corresponding to the
559 * The kind of navigation method available on the device.
563 public int navigation; field in class:Configuration
577 * A flag indicating whether any 5-way or DPAD navigation available.
578 * This will be set on a device with a mechanism to hide the navigation
887 navigation
[all...]
H A DAssetManager.java784 int keyboardHidden, int navigation, int screenWidth, int screenHeight,
782 setConfiguration(int mcc, int mnc, String locale, int orientation, int touchscreen, int density, int keyboard, int keyboardHidden, int navigation, int screenWidth, int screenHeight, int smallestScreenWidthDp, int screenWidthDp, int screenHeightDp, int screenLayout, int uiMode, int colorMode, int majorVersion) argument
H A DResourcesImpl.java421 keyboardHidden, mConfiguration.navigation, width, height,
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp498 if (out) out->navigation = out->NAVIGATION_ANY;
501 if (out) out->navigation = out->NAVIGATION_NONAV;
504 if (out) out->navigation = out->NAVIGATION_DPAD;
507 if (out) out->navigation = out->NAVIGATION_TRACKBALL;
510 if (out) out->navigation = out->NAVIGATION_WHEEL;
937 if (navigation || o.navigation) return (!o.navigation);
974 !pred(keyboard, o.keyboard) || !pred(navigation, o.navigation);
[all...]
/frameworks/support/design/tests/src/android/support/design/widget/
H A DBottomNavigationViewTest.java94 BottomNavigationView navigation = new BottomNavigationView(mActivityTestRule.getActivity());
95 mActivityTestRule.getActivity().setContentView(navigation);
96 navigation.getMenu().add("Item1");
97 navigation.getMenu().add("Item2");
98 assertEquals(2, navigation.getMenu().size());
99 navigation.getMenu().removeItem(0);
100 navigation.getMenu().removeItem(0);
101 assertEquals(0, navigation.getMenu().size());
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp737 if (out) out->navigation = out->NAVIGATION_ANY;
740 if (out) out->navigation = out->NAVIGATION_NONAV;
743 if (out) out->navigation = out->NAVIGATION_DPAD;
746 if (out) out->navigation = out->NAVIGATION_TRACKBALL;
749 if (out) out->navigation = out->NAVIGATION_WHEEL;
H A DResourceTable.cpp3177 config.navigation,
3222 tHeader->config.navigation,
3957 config->navigation,
H A DResource.cpp142 mParams.inputFlags, mParams.navigation);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java318 public ConfigGenerator setNavigation(Navigation navigation) { argument
319 mNavigation = navigation;
/frameworks/native/include/android/
H A Dconfiguration.h412 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#NavigationQualifier">navigation</a>
590 * Set the current navigation in the configuration.
592 void AConfiguration_setNavigation(AConfiguration* config, int32_t navigation);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1994 if (navigation != o.navigation) diffs |= CONFIG_NAVIGATION;
2164 if (navigation != o.navigation) {
2165 if (!navigation) return false;
2166 if (!o.navigation) return true;
2526 if ((navigation != o.navigation) && requested->navigation) {
2527 return (navigation);
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java1218 config.navigation = Configuration.NAVIGATION_NONAV;
1243 config.navigation = Configuration.NAVIGATION_TRACKBALL;
1246 && config.navigation == Configuration.NAVIGATION_NONAV) {
1247 config.navigation = Configuration.NAVIGATION_DPAD;
1258 if (config.navigation == Configuration.NAVIGATION_NONAV && mService.mHasPermanentDpad) {
1259 config.navigation = Configuration.NAVIGATION_DPAD;
2845 * @param includeDecor whether to include window decors, like the status or navigation bar
/frameworks/base/libs/androidfw/include/androidfw/
H A DResourceTypes.h1030 uint8_t navigation; member in struct:android::ResTable_config::__anon1189::__anon1190
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java20026 config.reqNavigation = globalConfig.navigation;
20027 if (globalConfig.navigation == Configuration.NAVIGATION_DPAD
20028 || globalConfig.navigation == Configuration.NAVIGATION_TRACKBALL) {
20528 && config.navigation == Configuration.NAVIGATION_NONAV);
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java321 // Controls navigation bar opacity depending on which workspace stacks are currently
467 boolean mNavigationBarCanMove = false; // can the navigation bar ever move to the side?
2209 // Allow the navigation bar to move on non-square small devices (phones).
2253 * @return whether the navigation bar can be hidden, e.g. the device has a
2254 * navigation bar and touch exploration is not enabled
2656 if (config.navigation == Configuration.NAVIGATION_NONAV
2671 // Height of the navigation bar when presented horizontally at bottom
2679 // Width of the navigation bar when presented vertically along one side
2687 // Height of the navigation bar when presented horizontally at bottom
2696 // Width of the navigation ba
[all...]

Completed in 753 milliseconds