/frameworks/base/core/java/android/widget/ |
H A D | AppSecurityPermissions.java | 483 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 487 lp.topMargin = spacing; 490 lp.bottomMargin = spacing; 493 lp.topMargin *= 2; 495 permListView.addView(view, lp);
|
H A D | RelativeLayout.java | 1106 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { argument 1107 if (lp instanceof LayoutParams) { 1108 return new LayoutParams((LayoutParams) lp); 1109 } else if (lp instanceof MarginLayoutParams) { 1110 return new LayoutParams((MarginLayoutParams) lp); 1112 return new LayoutParams(lp);
|
H A D | ActionMenuPresenter.java | 242 final ViewGroup.LayoutParams lp = actionView.getLayoutParams(); 243 if (!menuParent.checkLayoutParams(lp)) { 244 actionView.setLayoutParams(menuParent.generateLayoutParams(lp));
|
H A D | ListView.java | 1908 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); 1909 if (view.getParent() == null && lp != null && lp.recycledHeaderFooter) { 1911 lp.recycledHeaderFooter = false; 4031 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); 4032 final boolean isHeading = lp != null && lp.viewType == ITEM_VIEW_TYPE_HEADER_OR_FOOTER;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 161 lp = (StaggeredGridLayoutManager.LayoutParams) vh.itemView 163 lp.setFullSpan((position * 7) % (mConfig.mSpanCount + 1) == 0); 407 lp = (StaggeredGridLayoutManager.LayoutParams) vh.itemView 410 lp.width = mRecyclerView.getWidth() / 3; 412 lp.height = mRecyclerView.getHeight() / 3;
|
H A D | BaseRecyclerViewInstrumentationTest.java | 588 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) view.getLayoutParams(); 589 Item item = ((TestViewHolder) lp.mViewHolder).mBoundItem; 593 if (!lp.isItemRemoved()) {
|
H A D | BaseLinearLayoutManagerTest.java | 517 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) child 519 TestViewHolder vh = (TestViewHolder) lp.mViewHolder;
|
H A D | StaggeredGridLayoutManagerTest.java | 119 LayoutParams lp = (LayoutParams) vh.itemView.getLayoutParams(); 121 lp.height = mRecyclerView.getHeight() - 10; 123 lp.height = 5;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | Snackbar.java | 443 final ViewGroup.LayoutParams lp = mView.getLayoutParams(); 445 if (lp instanceof CoordinatorLayout.LayoutParams) { 474 ((CoordinatorLayout.LayoutParams) lp).setBehavior(behavior);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | DetailsOverviewRowPresenter.java | 433 ViewGroup.LayoutParams lp = overview.getLayoutParams(); 434 lp.height = getCardHeight(overview.getContext()); 435 overview.setLayoutParams(lp);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuPresenter.java | 202 final ViewGroup.LayoutParams lp = actionView.getLayoutParams(); 203 if (!menuParent.checkLayoutParams(lp)) { 204 actionView.setLayoutParams(menuParent.generateLayoutParams(lp));
|
/frameworks/base/core/java/android/net/ |
H A D | IConnectivityManager.aidl | 142 int registerNetworkAgent(in Messenger messenger, in NetworkInfo ni, in LinkProperties lp,
|
H A D | ConnectivityManager.java | 2470 public int registerNetworkAgent(Messenger messenger, NetworkInfo ni, LinkProperties lp, argument 2473 return mService.registerNetworkAgent(messenger, ni, lp, nc, score, misc); 2680 LinkProperties lp = (LinkProperties)getObject(message, 2683 callback.onLinkPropertiesChanged(network, lp);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 481 final LayoutParams lp = new LayoutParams(s.w, s.h); 483 lp.gravity = Gravity.BOTTOM; 485 lp.gravity = Gravity.TOP; 488 lp.topMargin = (int) (r * r * mHeight); 490 lp.topMargin = (int) (1 - r*r * mHeight/2) + mHeight/2; 495 addView(s, lp); 496 s.setTranslationX(frand(-lp.width, mWidth + lp.width));
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | PhoneWindow.java | 807 ViewGroup.LayoutParams lp = st.shownPanelView.getLayoutParams(); 808 if (lp == null) { 809 lp = new ViewGroup.LayoutParams(WRAP_CONTENT, WRAP_CONTENT); 813 if (lp.width == ViewGroup.LayoutParams.MATCH_PARENT) { 829 st.decorView.addView(st.shownPanelView, lp); 843 ViewGroup.LayoutParams lp = st.createdPanelView.getLayoutParams(); 844 if (lp != null && lp.width == ViewGroup.LayoutParams.MATCH_PARENT) { 851 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 859 lp [all...] |
/frameworks/base/services/net/java/android/net/apf/ |
H A D | ApfFilter.java | 914 private static byte[] findIPv4Address(LinkProperties lp) { argument 916 for (InetAddress inetAddr : lp.getAddresses()) { 926 public synchronized void setLinkProperties(LinkProperties lp) { argument 928 byte[] ipv4Address = findIPv4Address(lp);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteControllerDialog.java | 672 ViewGroup.LayoutParams lp = icon.getLayoutParams(); 673 lp.width = mVolumeGroupListItemIconSize; 674 lp.height = mVolumeGroupListItemIconSize; 675 icon.setLayoutParams(lp); 1018 ViewGroup.LayoutParams lp = view.getLayoutParams(); 1019 lp.height = height; 1020 view.setLayoutParams(lp);
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1035 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) 1040 lp.height = 0; 1041 lp.weight = 1; 1044 lp.height = LinearLayout.LayoutParams.WRAP_CONTENT; 1045 lp.weight = 0; 1048 mFullscreenArea, lp);
|
H A D | KeyboardView.java | 938 LayoutParams lp = mPreviewText.getLayoutParams(); 939 if (lp != null) { 940 lp.width = popupWidth; 941 lp.height = popupHeight;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkDiagnostics.java | 168 public NetworkDiagnostics(Network network, LinkProperties lp, long timeoutMs) { argument 170 mLinkProperties = lp;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyboardShortcuts.java | 612 RelativeLayout.LayoutParams lp = 614 lp.removeRule(RelativeLayout.ALIGN_PARENT_START); 615 shortcutKeyword.setLayoutParams(lp);
|
/frameworks/base/services/net/java/android/net/ip/ |
H A D | IpManager.java | 642 private static boolean isProvisioned(LinkProperties lp) { argument 645 return lp.isProvisioned() || lp.hasIPv4Address();
|
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
H A D | ApfTest.java | 822 LinkProperties lp = new LinkProperties(); 823 assertTrue(lp.addLinkAddress( 825 verifyArpFilter(ipManagerCallback, apfFilter, lp, DROP);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConnectivityService.java | 917 private boolean isNetworkWithLinkPropertiesBlocked(LinkProperties lp, int uid, argument 934 final String iface = (lp == null ? "" : lp.getInterfaceName()); 1360 LinkProperties lp; 1363 lp = nai.linkProperties; 1366 boolean ok = addLegacyRouteToHost(lp, addr, netId, uid); 1374 private boolean addLegacyRouteToHost(LinkProperties lp, InetAddress addr, int netId, int uid) { argument 1375 RouteInfo bestRoute = RouteInfo.selectBestRoute(lp.getAllRoutes(), addr); 1377 bestRoute = RouteInfo.makeHostRoute(addr, lp.getInterfaceName()); 4269 // for (LinkProperties lp [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 1357 ViewGroup.LayoutParams lp = view.getLayoutParams(); 1358 if (lp instanceof ActionMenuView.LayoutParams && 1359 ((ActionMenuView.LayoutParams) lp).isOverflowButton) {
|