/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkPropertiesTest.java | 110 private void checkEmpty(final LinkProperties lp) { in checkEmpty() argument 111 assertEquals(0, lp.getAllInterfaceNames().size()); in checkEmpty() 112 assertEquals(0, lp.getAllAddresses().size()); in checkEmpty() 113 assertEquals(0, lp.getDnsServers().size()); in checkEmpty() 114 assertEquals(0, lp.getValidatedPrivateDnsServers().size()); in checkEmpty() 115 assertEquals(0, lp.getPcscfServers().size()); in checkEmpty() 116 assertEquals(0, lp.getAllRoutes().size()); in checkEmpty() 117 assertEquals(0, lp.getAllLinkAddresses().size()); in checkEmpty() 118 assertEquals(0, lp.getStackedLinks().size()); in checkEmpty() 119 assertEquals(0, lp.getMtu()); in checkEmpty() [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 166 LinkProperties lp = new LinkProperties(); in testTrackedValidationUpdates() local 167 lp.setInterfaceName(TEST_IFACENAME); in testTrackedValidationUpdates() 168 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testTrackedValidationUpdates() 169 lp.addDnsServer(InetAddress.getByName("4.4.4.4")); in testTrackedValidationUpdates() 173 mDnsManager.noteDnsServersForNetwork(TEST_NETID, lp); in testTrackedValidationUpdates() 176 mDnsManager.noteDnsServersForNetwork(TEST_NETID_ALTERNATE, lp); in testTrackedValidationUpdates() 182 LinkProperties fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 186 fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 194 lp.addLinkAddress(new LinkAddress("192.0.2.4/24")); in testTrackedValidationUpdates() 195 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testTrackedValidationUpdates() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 79 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt() local 81 if ((lp.cellX <= cellX) && (cellX < lp.cellX + lp.cellHSpan) in getChildAt() 82 && (lp.cellY <= cellY) && (cellY < lp.cellY + lp.cellVSpan)) { in getChildAt() 106 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in setupLp() local 110 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 113 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 129 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild() local 134 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 137 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 143 : (int) Math.max(0, ((lp.height - cHeight) / 2f)); in measureChild() [all …]
|
D | AppWidgetResizeFrame.java | 265 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); in setupForWidget() local 267 lp.cellX = lp.tmpCellX = widgetInfo.cellX; in setupForWidget() 268 lp.cellY = lp.tmpCellY = widgetInfo.cellY; in setupForWidget() 269 lp.cellHSpan = widgetInfo.spanX; in setupForWidget() 270 lp.cellVSpan = widgetInfo.spanY; in setupForWidget() 271 lp.isLockedToGrid = true; in setupForWidget() 333 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); in visualizeResizeForDelta() local 336 lp.x = mTempRange1.start; in visualizeResizeForDelta() 337 lp.width = mTempRange1.size(); in visualizeResizeForDelta() 341 lp.y = mTempRange1.start; in visualizeResizeForDelta() [all …]
|
D | CellLayout.java | 682 final LayoutParams lp = params; in addViewToCellLayout() local 695 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { in addViewToCellLayout() 698 if (lp.cellHSpan < 0) lp.cellHSpan = mCountX; in addViewToCellLayout() 699 if (lp.cellVSpan < 0) lp.cellVSpan = mCountY; in addViewToCellLayout() 705 mShortcutsAndWidgets.addView(child, index, lp); in addViewToCellLayout() 945 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in animateChildToPosition() local 950 if (mReorderAnimators.containsKey(lp)) { in animateChildToPosition() 951 mReorderAnimators.get(lp).cancel(); in animateChildToPosition() 952 mReorderAnimators.remove(lp); in animateChildToPosition() 958 occupied.markCells(lp.cellX, lp.cellY, lp.cellHSpan, lp.cellVSpan, false); in animateChildToPosition() [all …]
|
D | WorkspaceLayoutManager.java | 105 CellLayout.LayoutParams lp; in addInScreen() local 107 lp = new CellLayout.LayoutParams(x, y, spanX, spanY); in addInScreen() 109 lp = (CellLayout.LayoutParams) genericLp; in addInScreen() 110 lp.cellX = x; in addInScreen() 111 lp.cellY = y; in addInScreen() 112 lp.cellHSpan = spanX; in addInScreen() 113 lp.cellVSpan = spanY; in addInScreen() 117 lp.isLockedToGrid = false; in addInScreen() 125 if (!layout.addViewToCellLayout(child, -1, childId, lp, markCellsAsOccupied)) { in addInScreen() 129 … Log.e(TAG, "Failed to add to item at (" + lp.cellX + "," + lp.cellY + ") to CellLayout"); in addInScreen()
|
D | DropTargetBar.java | 83 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) getLayoutParams(); in setInsets() local 87 lp.leftMargin = insets.left; in setInsets() 88 lp.topMargin = insets.top; in setInsets() 89 lp.bottomMargin = insets.bottom; in setInsets() 90 lp.rightMargin = insets.right; in setInsets() 94 lp.width = grid.dropTargetBarSizePx; in setInsets() 95 lp.height = grid.availableHeightPx - 2 * grid.edgeMarginPx; in setInsets() 96 lp.gravity = grid.isSeascape() ? Gravity.RIGHT : Gravity.LEFT; in setInsets() 111 lp.width = grid.availableWidthPx - 2 * gap; in setInsets() 113 lp.topMargin += grid.edgeMarginPx; in setInsets() [all …]
|
D | InsettableFrameLayout.java | 26 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in setFrameLayoutChildInsets() local 30 } else if (!lp.ignoreInsets) { in setFrameLayoutChildInsets() 31 lp.topMargin += (newInsets.top - oldInsets.top); in setFrameLayoutChildInsets() 32 lp.leftMargin += (newInsets.left - oldInsets.left); in setFrameLayoutChildInsets() 33 lp.rightMargin += (newInsets.right - oldInsets.right); in setFrameLayoutChildInsets() 34 lp.bottomMargin += (newInsets.bottom - oldInsets.bottom); in setFrameLayoutChildInsets() 36 child.setLayoutParams(lp); in setFrameLayoutChildInsets() 86 public LayoutParams(ViewGroup.LayoutParams lp) { in LayoutParams() argument 87 super(lp); in LayoutParams()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local 338 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 350 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local 351 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical() 365 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local 368 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 370 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 387 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local 389 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 391 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() [all …]
|
/packages/modules/NetworkStack/apishim/30/com/android/networkstack/apishim/api30/ |
D | NetworkInformationShimImpl.java | 65 public Uri getCaptivePortalApiUrl(@Nullable LinkProperties lp) { in getCaptivePortalApiUrl() argument 66 if (lp == null) return null; in getCaptivePortalApiUrl() 67 return lp.getCaptivePortalApiUrl(); in getCaptivePortalApiUrl() 71 public void setCaptivePortalApiUrl(@NonNull LinkProperties lp, @Nullable Uri url) { in setCaptivePortalApiUrl() argument 72 lp.setCaptivePortalApiUrl(url); in setCaptivePortalApiUrl() 77 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData() argument 78 if (lp == null || lp.getCaptivePortalData() == null) return null; in getCaptivePortalData() 79 return new CaptivePortalDataShimImpl(lp.getCaptivePortalData()); in getCaptivePortalData() 84 public IpPrefix getNat64Prefix(@NonNull LinkProperties lp) { in getNat64Prefix() argument 85 return lp.getNat64Prefix(); in getNat64Prefix() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 152 MarginLayoutParams lp = (MarginLayoutParams) container.getLayoutParams(); in update() local 155 ? rect.left - (dp.widthPx - lp.getMarginStart() - lp.width) in update() 156 : rect.left - lp.getMarginStart(); in update() 157 float dY = rect.top - lp.topMargin; in update() 161 float minSize = Math.min(lp.width, lp.height); in update() 172 minSize, lp, isVerticalBarLayout, dp); in update() 271 public void setIcon(@Nullable Drawable drawable, int iconOffset, MarginLayoutParams lp, in setIcon() argument 289 final int originalHeight = lp.height; in setIcon() 290 final int originalWidth = lp.width; in setIcon() 308 lp.width = (int) Math.max(lp.width, lp.height * dp.aspectRatio); in setIcon() [all …]
|
D | FloatingIconView.java | 177 final InsettableFrameLayout.LayoutParams lp = new InsettableFrameLayout.LayoutParams( in matchPositionOf() local 180 updatePosition(positionOut, lp); in matchPositionOf() 181 setLayoutParams(lp); in matchPositionOf() 183 mClipIconView.setLayoutParams(new FrameLayout.LayoutParams(lp.width, lp.height)); in matchPositionOf() 184 mBtvDrawable.setLayoutParams(new FrameLayout.LayoutParams(lp.width, lp.height)); in matchPositionOf() 187 private void updatePosition(RectF pos, InsettableFrameLayout.LayoutParams lp) { in updatePosition() argument 189 lp.ignoreInsets = true; in updatePosition() 191 lp.topMargin = Math.round(pos.top); in updatePosition() 193 lp.setMarginStart(Math.round(mLauncher.getDeviceProfile().widthPx - pos.right)); in updatePosition() 195 lp.setMarginStart(Math.round(pos.left)); in updatePosition() [all …]
|
D | BaseDragLayer.java | 61 public Integer get(LayoutParams lp) { 62 return lp.x; 66 public void set(LayoutParams lp, Integer x) { 67 lp.x = x; 74 public Integer get(LayoutParams lp) { 75 return lp.y; 79 public void set(LayoutParams lp, Integer y) { 80 lp.y = y; 521 public LayoutParams(ViewGroup.LayoutParams lp) { in LayoutParams() argument 522 super(lp); in LayoutParams() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiLayoutParams.java | 64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams(); in setPagerProperties() local 65 lp.height = mEmojiKeyboardHeight; in setPagerProperties() 66 lp.bottomMargin = mEmojiPagerBottomMargin; in setPagerProperties() 67 vp.setLayoutParams(lp); in setPagerProperties() 71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); in setCategoryPageIdViewProperties() local 72 lp.height = mEmojiCategoryPageIdViewHeight; in setCategoryPageIdViewProperties() 73 v.setLayoutParams(lp); in setCategoryPageIdViewProperties() 81 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams(); in setActionBarProperties() local 82 lp.height = getActionBarHeight(); in setActionBarProperties() 83 ll.setLayoutParams(lp); in setActionBarProperties() [all …]
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | IPv6TetheringCoordinator.java | 163 final LinkProperties lp = getInterfaceIPv6LinkProperties(ipServer); in updateIPv6TetheringInterfaces() local 164 ipServer.sendMessage(IpServer.CMD_IPV6_TETHER_UPDATE, getTtlAdjustment(), 0, lp); in updateIPv6TetheringInterfaces() 207 final LinkProperties lp = getIPv6OnlyLinkProperties( in getInterfaceIPv6LinkProperties() local 209 if (lp.hasIpv6DefaultRoute() && lp.hasGlobalIpv6Address()) { in getInterfaceIPv6LinkProperties() 210 return lp; in getInterfaceIPv6LinkProperties() 224 private static LinkProperties getIPv6OnlyLinkProperties(LinkProperties lp) { in getIPv6OnlyLinkProperties() argument 226 if (lp == null) { in getIPv6OnlyLinkProperties() 233 v6only.setInterfaceName(lp.getInterfaceName()); in getIPv6OnlyLinkProperties() 235 v6only.setMtu(lp.getMtu()); in getIPv6OnlyLinkProperties() 237 for (LinkAddress linkAddr : lp.getLinkAddresses()) { in getIPv6OnlyLinkProperties() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | EditorColorBorderTabletUI.java | 93 LinearLayout lp = (LinearLayout) inflater.inflate( in EditorColorBorderTabletUI() local 98 LinearLayout buttonContainer = (LinearLayout) lp.findViewById(R.id.listStyles); in EditorColorBorderTabletUI() 100 mCBCornerSizeSeekBar = (SeekBar) lp.findViewById(R.id.colorBorderCornerSizeSeekBar); in EditorColorBorderTabletUI() 101 mCBCornerSizeValue = (TextView) lp.findViewById(R.id.colorBorderCornerValue); in EditorColorBorderTabletUI() 102 mCBSizeSeekBar = (SeekBar) lp.findViewById(R.id.colorBorderSizeSeekBar); in EditorColorBorderTabletUI() 104 mCBSizeValue = (TextView) lp.findViewById(R.id.colorBorderSizeValue); in EditorColorBorderTabletUI() 105 setupCBSizeSeekBar(lp); in EditorColorBorderTabletUI() 106 setupCBCornerSizeSeekBar(lp); in EditorColorBorderTabletUI() 107 setupColor(lp, res); in EditorColorBorderTabletUI() 110 private void setupCBSizeSeekBar(LinearLayout lp) { in setupCBSizeSeekBar() argument [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | Nat464Xlat.java | 127 LinkProperties lp = nai.linkProperties; in requiresClat() local 128 final boolean isIpv6OnlyNetwork = (lp != null) && lp.hasGlobalIpv6Address() in requiresClat() 129 && !lp.hasIpv4Address(); in requiresClat() 149 LinkProperties lp = nai.linkProperties; in shouldStartClat() local 150 return requiresClat(nai) && lp != null && lp.getNat64Prefix() != null; in shouldStartClat() 274 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in stop() local 275 lp.removeStackedLink(iface); in stop() 276 mNetwork.connService().handleUpdateLinkProperties(mNetwork, lp); in stop() 396 public void fixupLinkProperties(@NonNull LinkProperties oldLp, @NonNull LinkProperties lp) { in fixupLinkProperties() argument 399 lp.setNat64Prefix(selectNat64Prefix()); in fixupLinkProperties() [all …]
|
D | DnsManager.java | 236 private LinkProperties fillInValidatedPrivateDns(LinkProperties lp) { in fillInValidatedPrivateDns() argument 237 lp.setValidatedPrivateDnsServers(Collections.EMPTY_LIST); in fillInValidatedPrivateDns() 240 lp.addValidatedPrivateDnsServer(key.second); in fillInValidatedPrivateDns() 243 return lp; in fillInValidatedPrivateDns() 298 public void updatePrivateDnsStatus(int netId, LinkProperties lp) { in updatePrivateDnsStatus() argument 312 lp.setUsePrivateDns(usingPrivateDns); in updatePrivateDnsStatus() 313 lp.setPrivateDnsServerName(tlsHostname); in updatePrivateDnsStatus() 315 statuses.fillInValidatedPrivateDns(lp); in updatePrivateDnsStatus() 317 lp.setValidatedPrivateDnsServers(Collections.EMPTY_LIST); in updatePrivateDnsStatus() 344 public void noteDnsServersForNetwork(int netId, @NonNull LinkProperties lp) { in noteDnsServersForNetwork() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 402 ListPreference lp = new ListPreference(getPrefContext()); in buildCertificationMenu() local 403 lp.setOnPreferenceChangeListener(new OnPreferenceChangeListener() { in buildCertificationMenu() 424 lp.setKey("wps"); in buildCertificationMenu() 425 lp.setTitle(R.string.wifi_display_wps_config); in buildCertificationMenu() 426 lp.setEntries(wpsEntries); in buildCertificationMenu() 427 lp.setEntryValues(wpsValues); in buildCertificationMenu() 428 lp.setValue("" + mWpsConfig); in buildCertificationMenu() 429 lp.setSummary("%1$s"); in buildCertificationMenu() 430 mCertCategory.addPreference(lp); in buildCertificationMenu() 433 lp = new ListPreference(getPrefContext()); in buildCertificationMenu() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | OffloadControllerTest.java | 280 final LinkProperties lp = new LinkProperties(); in testSetUpstreamLinkPropertiesWorking() local 283 lp.setInterfaceName(testIfName); in testSetUpstreamLinkPropertiesWorking() 284 offload.setUpstreamLinkProperties(lp); in testSetUpstreamLinkPropertiesWorking() 294 lp.addLinkAddress(new LinkAddress(linkAddr)); in testSetUpstreamLinkPropertiesWorking() 295 lp.addRoute(new RouteInfo(new IpPrefix("192.0.2.0/24"), null, null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 296 offload.setUpstreamLinkProperties(lp); in testSetUpstreamLinkPropertiesWorking() 311 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv4Gateway), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 312 offload.setUpstreamLinkProperties(lp); in testSetUpstreamLinkPropertiesWorking() 322 lp.addRoute(new RouteInfo(null, InetAddress.getByName(ipv6Gw1), null, RTN_UNICAST)); in testSetUpstreamLinkPropertiesWorking() 323 offload.setUpstreamLinkProperties(lp); in testSetUpstreamLinkPropertiesWorking() [all …]
|
/packages/modules/NetworkStack/apishim/29/com/android/networkstack/apishim/api29/ |
D | NetworkInformationShimImpl.java | 70 public Uri getCaptivePortalApiUrl(@Nullable LinkProperties lp) { in getCaptivePortalApiUrl() argument 76 public void setCaptivePortalApiUrl(@NonNull LinkProperties lp, @Nullable Uri url) { in setCaptivePortalApiUrl() argument 82 public CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp) { in getCaptivePortalData() argument 88 public IpPrefix getNat64Prefix(@NonNull LinkProperties lp) { in getNat64Prefix() argument 94 public void setNat64Prefix(@NonNull LinkProperties lp, @Nullable IpPrefix prefix) { in setNat64Prefix() argument 107 public LinkProperties makeSensitiveFieldsParcelingCopy(@NonNull final LinkProperties lp) { in makeSensitiveFieldsParcelingCopy() argument 108 return new LinkProperties(lp); in makeSensitiveFieldsParcelingCopy() 112 public void setDhcpServerAddress(@NonNull LinkProperties lp, in setDhcpServerAddress() argument 122 public void setCaptivePortalData(@NonNull LinkProperties lp, in setCaptivePortalData() argument
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 271 final LinkProperties lp = makeIPv6ProvisionedLinkProperties(); in doProvisioningWithDefaultConfiguration() local 272 lp.getRoutes().forEach(mObserver::onRouteUpdated); in doProvisioningWithDefaultConfiguration() 273 lp.getLinkAddresses().forEach(la -> mObserver.onInterfaceAddressUpdated(la, TEST_IFNAME)); in doProvisioningWithDefaultConfiguration() 275 lp.getDnsServers().stream().map(InetAddress::getHostAddress) in doProvisioningWithDefaultConfiguration() 282 verify(mCb).onProvisioningSuccess(lp); in doProvisioningWithDefaultConfiguration() 286 private void addIPv4Provisioning(LinkProperties lp) { in addIPv4Provisioning() argument 293 lp.addLinkAddress(la); in addIPv4Provisioning() 294 lp.addRoute(defaultRoute); in addIPv4Provisioning() 302 private void doIPv6ProvisioningLoss(LinkProperties lp) { in doIPv6ProvisioningLoss() argument 306 lp.removeRoute(defaultRoute); in doIPv6ProvisioningLoss() [all …]
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | TestNetworkService.java | 177 @NonNull LinkProperties lp, in TestNetworkAgent() argument 183 super(context, looper, TEST_NETWORK_LOGTAG, nc, lp, NETWORK_SCORE, config, np); in TestNetworkAgent() 235 @Nullable LinkProperties lp, in registerTestNetworkAgent() argument 259 if (lp == null) { in registerTestNetworkAgent() 260 lp = new LinkProperties(); in registerTestNetworkAgent() 262 lp = new LinkProperties(lp); in registerTestNetworkAgent() 265 lp.setLinkAddresses(new ArrayList<>()); in registerTestNetworkAgent() 267 lp.setInterfaceName(iface); in registerTestNetworkAgent() 275 lp.addLinkAddress( in registerTestNetworkAgent() 287 lp.addRoute(new RouteInfo(new IpPrefix( in registerTestNetworkAgent() [all …]
|
/packages/modules/NetworkStack/apishim/common/com/android/networkstack/apishim/common/ |
D | NetworkInformationShim.java | 38 Uri getCaptivePortalApiUrl(@Nullable LinkProperties lp); in getCaptivePortalApiUrl() argument 43 void setCaptivePortalApiUrl(@NonNull LinkProperties lp, @Nullable Uri url); in setCaptivePortalApiUrl() argument 49 CaptivePortalDataShim getCaptivePortalData(@Nullable LinkProperties lp); in getCaptivePortalData() argument 55 IpPrefix getNat64Prefix(@NonNull LinkProperties lp); in getNat64Prefix() argument 60 void setNat64Prefix(@NonNull LinkProperties lp, @Nullable IpPrefix prefix); in setNat64Prefix() argument 72 LinkProperties makeSensitiveFieldsParcelingCopy(@NonNull LinkProperties lp); in makeSensitiveFieldsParcelingCopy() argument 77 void setDhcpServerAddress(@NonNull LinkProperties lp, @NonNull Inet4Address serverAddress); in setDhcpServerAddress() argument 84 void setCaptivePortalData(@NonNull LinkProperties lp, in setCaptivePortalData() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | ViewLayoutUtils.java | 49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in placeViewAt() local 50 if (lp instanceof MarginLayoutParams) { in placeViewAt() 51 final MarginLayoutParams marginLayoutParams = (MarginLayoutParams)lp; in placeViewAt() 75 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in updateLayoutGravityOf() local 76 if (lp instanceof LinearLayout.LayoutParams) { in updateLayoutGravityOf() 77 final LinearLayout.LayoutParams params = (LinearLayout.LayoutParams)lp; in updateLayoutGravityOf() 82 } else if (lp instanceof FrameLayout.LayoutParams) { in updateLayoutGravityOf() 83 final FrameLayout.LayoutParams params = (FrameLayout.LayoutParams)lp; in updateLayoutGravityOf() 90 + lp.getClass().getName()); in updateLayoutGravityOf()
|