Home
last modified time | relevance | path

Searched defs:lp (Results 1 – 25 of 161) sorted by relevance

1234567

/frameworks/support/v4/java/android/support/v4/view/
DMarginLayoutParamsCompat.java29 int getMarginStart(ViewGroup.MarginLayoutParams lp); in getMarginStart()
30 int getMarginEnd(ViewGroup.MarginLayoutParams lp); in getMarginEnd()
31 void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart); in setMarginStart()
32 void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd); in setMarginEnd()
33 boolean isMarginRelative(ViewGroup.MarginLayoutParams lp); in isMarginRelative()
34 int getLayoutDirection(ViewGroup.MarginLayoutParams lp); in getLayoutDirection()
35 void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); in setLayoutDirection()
36 void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); in resolveLayoutDirection()
42 public int getMarginStart(ViewGroup.MarginLayoutParams lp) { in getMarginStart()
47 public int getMarginEnd(ViewGroup.MarginLayoutParams lp) { in getMarginEnd()
[all …]
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
DMarginLayoutParamsCompatJellybeanMr1.java23 public static int getMarginStart(ViewGroup.MarginLayoutParams lp) { in getMarginStart()
27 public static int getMarginEnd(ViewGroup.MarginLayoutParams lp) { in getMarginEnd()
31 public static void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart) { in setMarginStart()
35 public static void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd) { in setMarginEnd()
39 public static boolean isMarginRelative(ViewGroup.MarginLayoutParams lp) { in isMarginRelative()
43 public static int getLayoutDirection(ViewGroup.MarginLayoutParams lp) { in getLayoutDirection()
47 public static void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection) { in setLayoutDirection()
51 public static void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, in resolveLayoutDirection()
/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java241 private void assertAllRoutesHaveInterface(String iface, LinkProperties lp) { in assertAllRoutesHaveInterface()
254 LinkProperties lp = new LinkProperties(); in testRouteInterfaces() local
358 private LinkAddress getFirstLinkAddress(LinkProperties lp) { in getFirstLinkAddress()
364 LinkProperties lp = new LinkProperties(); in testAddressMethods() local
451 LinkProperties lp = new LinkProperties(); in testSetLinkAddresses() local
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java303 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in resetTouchBehaviors() local
343 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in performIntercept() local
433 final LayoutParams lp = (LayoutParams) mBehaviorTouchView.getLayoutParams(); in onTouchEvent() local
555 final LayoutParams lp = getResolvedLayoutParams(child); in prepareChildren() local
638 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
702 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in dispatchChildApplyWindowInsets() local
734 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayoutChild() local
754 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() local
786 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in recordLastChildRect() local
798 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getLastChildRect() local
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java297 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
310 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
325 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
347 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
466 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in getBaseline() local
629 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical() local
745 final LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) in measureVertical() local
782 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical() local
856 final LinearLayoutCompat.LayoutParams lp = in measureVertical() local
895 … LinearLayoutCompat.LayoutParams lp = ((LinearLayoutCompat.LayoutParams)child.getLayoutParams()); in forceUniformWidth() local
[all …]
DActionMenuView.java168 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
225 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
263 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
289 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
319 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat() local
323 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() local
335 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
371 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
403 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells() local
510 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); in onLayout() local
[all …]
DToolbar.java891 final LayoutParams lp = generateDefaultLayoutParams(); in ensureMenuView() local
1046 final LayoutParams lp = generateDefaultLayoutParams(); in ensureNavButtonView() local
1058 final LayoutParams lp = generateDefaultLayoutParams(); in ensureCollapseButtonView() local
1073 final LayoutParams lp; in addSystemView() local
1184 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained() local
1209 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins() local
1327 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
1459 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
1463 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout() local
1509 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DSoftInputWindow.java50 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setToken() local
112 WindowManager.LayoutParams lp = getWindow().getAttributes(); in setGravity() local
122 private void updateWidthHeight(WindowManager.LayoutParams lp) { in updateWidthHeight()
169 WindowManager.LayoutParams lp = getWindow().getAttributes(); in initDockWindow() local
/frameworks/base/core/java/android/widget/
DToolbar.java886 final LayoutParams lp = generateDefaultLayoutParams(); in ensureMenuView() local
1040 final LayoutParams lp = generateDefaultLayoutParams(); in ensureNavButtonView() local
1051 final LayoutParams lp = generateDefaultLayoutParams(); in ensureCollapseButtonView() local
1066 final LayoutParams lp; in addSystemView() local
1156 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams lp) { in onSetLayoutParams()
1172 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained() local
1197 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins() local
1310 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
1439 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
1443 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout() local
[all …]
DLinearLayout.java354 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
367 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
396 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
418 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
545 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in getBaseline() local
721 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical() local
836 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) in measureVertical() local
873 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical() local
946 final LinearLayout.LayoutParams lp = in measureVertical() local
985 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); in forceUniformWidth() local
[all …]
DActionMenuView.java164 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
221 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
259 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
285 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
315 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat() local
319 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() local
331 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
367 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
399 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells() local
507 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); in onLayout() local
[all …]
DDayPickerViewPager.java70 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
107 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
DGridLayout.java675 LayoutParams lp = getLayoutParams(view); in getMargin1() local
688 LayoutParams lp = getLayoutParams(view); in getMargin() local
716 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) { in setCellGroup()
742 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in validateLayoutParams() local
826 private void checkLayoutParams(LayoutParams lp, boolean horizontal) { in checkLayoutParams()
851 LayoutParams lp = (LayoutParams) p; in checkLayoutParams() local
891 LayoutParams lp = new LayoutParams(); in onDebugDrawMargins() local
969 LayoutParams lp = (LayoutParams) c.getLayoutParams(); in computeLayoutParamsHashCode() local
1004 LayoutParams lp = getLayoutParams(c); in measureChildrenWithMargins() local
1121 LayoutParams lp = getLayoutParams(c); in onLayout() local
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java96 final LinearLayout.LayoutParams lp in horizontalButtonSlots() local
159 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in button() local
199 final ViewGroup.LayoutParams lp = new AbsListView.LayoutParams( in text() local
240 final AbsListView.LayoutParams lp = in doubleText() local
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java168 private void updateConnectivityService(LinkProperties lp) { in updateConnectivityService()
248 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in interfaceLinkStateChanged() local
276 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in interfaceRemoved() local
/frameworks/base/core/java/com/android/internal/widget/
DDialogViewAnimator.java57 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure() local
DActionBarContainer.java242 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer() local
267 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in getMeasuredHeightWithMargins() local
311 final LayoutParams lp = (LayoutParams) tabContainer.getLayoutParams(); in onLayout() local
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarContainer.java217 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer() local
245 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in getMeasuredHeightWithMargins() local
288 final LayoutParams lp = (LayoutParams) tabContainer.getLayoutParams(); in onLayout() local
DActionBarContextView.java264 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onMeasure() local
289 ViewGroup.LayoutParams lp = mCustomView.getLayoutParams(); in onMeasure() local
326 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); in onLayout() local
/frameworks/base/core/tests/coretests/src/android/preference/
DListPreferenceTest.java26 ListPreference lp = new ListPreference(getContext()); in testListPreferenceSummaryFromEntries() local
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java662 LayoutParams lp = getLayoutParams(view); in getMargin1() local
679 LayoutParams lp = getLayoutParams(view); in getMargin() local
707 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) { in setCellGroup()
733 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in validateLayoutParams() local
805 private void checkLayoutParams(LayoutParams lp, boolean horizontal) { in checkLayoutParams()
830 LayoutParams lp = (LayoutParams) p; in checkLayoutParams() local
869 LayoutParams lp = (LayoutParams) c.getLayoutParams(); in computeLayoutParamsHashCode() local
904 LayoutParams lp = getLayoutParams(c); in measureChildrenWithMargins() local
1021 LayoutParams lp = getLayoutParams(c); in onLayout() local
1179 LayoutParams lp = getLayoutParams(c); in createGroupBounds() local
[all …]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DLinearLayoutTest.java36 LayoutParams lp = new LayoutParams(WRAP_CONTENT, WRAP_CONTENT); in create() local
DGridLayoutTest.java41 GridLayout.LayoutParams lp = new GridLayout.LayoutParams(rowSpec, colSpec); in create() local
/frameworks/support/v4/java/android/support/v4/widget/
DDrawerLayout.java280 void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity); in applyMarginInsets()
294 public void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity) { in applyMarginInsets()
317 public void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity) { in applyMarginInsets()
696 final LayoutParams lp = (LayoutParams) activeDrawer.getLayoutParams(); in updateDrawerState() local
714 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerClosed() local
736 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerOpened() local
778 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in setDrawerViewOffset() local
923 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
1040 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() local
1401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in closeDrawers() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DScreenPinningRequest.java78 WindowManager.LayoutParams lp = getWindowLayoutParams(); in showPrompt() local
89 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in getWindowLayoutParams() local

1234567