Searched refs:stacked (Results 1 – 8 of 8) sorted by relevance
33 private boolean stacked = false; field in ButtonBarLayout77 private void setStacked(boolean stacked) { in setStacked() argument78 if (this.stacked == stacked) { in setStacked()81 this.stacked = stacked; in setStacked()86 if (stacked) { in setStacked()98 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()105 if (stacked) { in setStacked()
422 for (LinkProperties stacked: oldLp.getStackedLinks()) { in fixupLinkProperties()423 if (Objects.equals(mIface, stacked.getInterfaceName())) { in fixupLinkProperties()424 lp.addStackedLink(stacked); in fixupLinkProperties()431 LinkProperties stacked = new LinkProperties(); in makeLinkProperties() local432 stacked.setInterfaceName(mIface); in makeLinkProperties()443 stacked.addRoute(ipv4Default); in makeLinkProperties()444 stacked.addLinkAddress(clatAddress); in makeLinkProperties()445 return stacked; in makeLinkProperties()
147 private void setStacked(boolean stacked) { in setStacked() argument148 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()149 setGravity(stacked ? Gravity.END : Gravity.BOTTOM); in setStacked()153 spacer.setVisibility(stacked ? View.GONE : View.INVISIBLE); in setStacked()
238 for (LinkProperties stacked: mStackedLinks.values()) { in getAllInterfaceNames()239 interfaceNames.addAll(stacked.getAllInterfaceNames()); in getAllInterfaceNames()273 for (LinkProperties stacked: mStackedLinks.values()) { in getAllAddresses()274 addresses.addAll(stacked.getAllAddresses()); in getAllAddresses()352 for (LinkProperties stacked: mStackedLinks.values()) { in getAllLinkAddresses()353 addresses.addAll(stacked.getAllLinkAddresses()); in getAllLinkAddresses()780 for (LinkProperties stacked: mStackedLinks.values()) { in getAllRoutes()781 routes.addAll(stacked.getAllRoutes()); in getAllRoutes()874 final List<LinkProperties> stacked = new ArrayList<>(); in getStackedLinks() local876 stacked.add(new LinkProperties(link)); in getStackedLinks()[all …]
554 LinkProperties stacked = new LinkProperties(); in testAddressMethods() local555 stacked.setInterfaceName("stacked"); in testAddressMethods()556 lp.addStackedLink(stacked); in testAddressMethods()557 stacked.addLinkAddress(LINKADDRV4); in testAddressMethods()558 stacked.addLinkAddress(LINKADDRV6); in testAddressMethods()559 assertTrue(stacked.hasIpv4Address()); in testAddressMethods()560 assertTrue(stacked.hasGlobalIpv6Address()); in testAddressMethods()877 LinkProperties stacked = new LinkProperties(); in testIsReachable() local880 stacked.setInterfaceName("v4-test0"); in testIsReachable()881 v6lp.addStackedLink(stacked); in testIsReachable()[all …]
360 final LinkProperties stacked = new LinkProperties(); in testSetUpstreamLinkPropertiesWorking() local361 stacked.setInterfaceName("stacked"); in testSetUpstreamLinkPropertiesWorking()362 stacked.addLinkAddress(new LinkAddress("192.0.2.129/25")); in testSetUpstreamLinkPropertiesWorking()363 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("192.0.2.254"), null, in testSetUpstreamLinkPropertiesWorking()365 stacked.addRoute(new RouteInfo(null, InetAddress.getByName("fe80::bad:f00"), null, in testSetUpstreamLinkPropertiesWorking()367 assertTrue(lp.addStackedLink(stacked)); in testSetUpstreamLinkPropertiesWorking()
6064 LinkProperties stacked = new LinkProperties(); in makeClatLinkProperties() local6065 stacked.setInterfaceName(CLAT_PREFIX + MOBILE_IFNAME); in makeClatLinkProperties()6069 stacked.addRoute(ipv4Default); in makeClatLinkProperties()6070 stacked.addLinkAddress(clatAddress); in makeClatLinkProperties()6071 return stacked; in makeClatLinkProperties()
2279 * get pushed, stacked in order, into the fixed-size “memory” (the oldest