Home
last modified time | relevance | path

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

12345678

/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerWrapContentTest.java89 TestedFrameLayout.FullControlLayoutParams lp = in testVerticalWithItemDecors() local
109 TestedFrameLayout.FullControlLayoutParams lp = in testHorizontalWithItemDecors() local
124 TestedFrameLayout.FullControlLayoutParams lp = in testHorizontal() local
143 TestedFrameLayout.FullControlLayoutParams lp = in testHandleSecondLineChangingBorders() local
162 TestedFrameLayout.FullControlLayoutParams lp = in testSecondLineAffectingBordersWithAspectRatio() local
DStaggeredGridLayoutManagerWrapContentTest.java62 TestedFrameLayout.FullControlLayoutParams lp = in testSimple() local
82 TestedFrameLayout.FullControlLayoutParams lp = in testSimpleHorizontal() local
101 TestedFrameLayout.FullControlLayoutParams lp = in testUnspecifiedWidth() local
121 TestedFrameLayout.FullControlLayoutParams lp = in testUnspecifiedHeight() local
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java109 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
123 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in onMeasure() local
152 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
205 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() local
236 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawChild() local
255 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { in generateLayoutParams()
DDialogViewAnimator.java57 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
110 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure() local
DNotificationActionListLayout.java108 MarginLayoutParams lp = (MarginLayoutParams) c.getLayoutParams(); in onMeasure() local
133 MarginLayoutParams lp = (MarginLayoutParams) lastNotGoneChild.getLayoutParams(); in onMeasure() local
231 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onLayout() local
/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java247 private void assertAllRoutesHaveInterface(String iface, LinkProperties lp) { in assertAllRoutesHaveInterface()
260 LinkProperties lp = new LinkProperties(); in testRouteInterfaces() local
364 private LinkAddress getFirstLinkAddress(LinkProperties lp) { in getFirstLinkAddress()
370 LinkProperties lp = new LinkProperties(); in testAddressMethods() local
457 LinkProperties lp = new LinkProperties(); in testSetLinkAddresses() local
/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
DCompactExtractEditLayout.java72 ViewGroup.LayoutParams lp = v.getLayoutParams(); in setLayoutHeight() local
78 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); in setLayoutMarginBottom() local
/frameworks/support/design/src/android/support/design/widget/
DCoordinatorLayout.java373 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in resetTouchBehaviors() local
414 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in performIntercept() local
504 final LayoutParams lp = (LayoutParams) mBehaviorTouchView.getLayoutParams(); in onTouchEvent() local
627 final LayoutParams lp = getResolvedLayoutParams(child); in prepareChildren() local
704 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
768 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in dispatchApplyWindowInsetsToBehaviors() local
796 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayoutChild() local
816 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() local
848 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in recordLastChildRect() local
860 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getLastChildRect() local
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java295 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
308 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
323 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
345 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
464 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in getBaseline() local
627 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical() local
743 final LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) in measureVertical() local
780 … LinearLayoutCompat.LayoutParams lp = (LinearLayoutCompat.LayoutParams) child.getLayoutParams(); in measureVertical() local
854 final LinearLayoutCompat.LayoutParams lp = in measureVertical() local
893 … LinearLayoutCompat.LayoutParams lp = ((LinearLayoutCompat.LayoutParams)child.getLayoutParams()); in forceUniformWidth() local
[all …]
DActionMenuView.java167 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
224 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
262 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
288 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
318 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat() local
322 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() local
334 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
370 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
402 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells() local
509 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); in onLayout() local
[all …]
DToolbar.java1046 final LayoutParams lp = generateDefaultLayoutParams(); in ensureMenuView() local
1357 final LayoutParams lp = generateDefaultLayoutParams(); in ensureNavButtonView() local
1369 final LayoutParams lp = generateDefaultLayoutParams(); in ensureCollapseButtonView() local
1384 final LayoutParams lp; in addSystemView() local
1500 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained() local
1525 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins() local
1643 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
1777 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
1781 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout() local
1827 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
[all …]
DActionBarContainer.java216 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); in setTabContainer() local
246 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); in getMeasuredHeightWithMargins() local
289 final LayoutParams lp = (LayoutParams) tabContainer.getLayoutParams(); in onLayout() local
/frameworks/base/core/java/android/widget/
DLinearLayout.java364 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
377 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
405 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
427 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
554 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in getBaseline() local
731 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical() local
848 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) in measureVertical() local
885 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical() local
952 final LinearLayout.LayoutParams lp = in measureVertical() local
991 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 …]
DToolbar.java1041 final LayoutParams lp = generateDefaultLayoutParams(); in ensureMenuView() local
1351 final LayoutParams lp = generateDefaultLayoutParams(); in ensureNavButtonView() local
1362 final LayoutParams lp = generateDefaultLayoutParams(); in ensureCollapseButtonView() local
1377 final LayoutParams lp; in addSystemView() local
1467 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams lp) { in onSetLayoutParams()
1483 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained() local
1508 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins() local
1621 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
1752 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
1756 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout() local
[all …]
DDayPickerViewPager.java76 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
113 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
DFrameLayout.java186 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
224 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure() local
276 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in layoutChildren() local
384 protected ViewGroup.LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { in generateLayoutParams()
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
870 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { in generateLayoutParams()
897 LayoutParams lp = new LayoutParams(); in onDebugDrawMargins() local
975 LayoutParams lp = (LayoutParams) c.getLayoutParams(); in computeLayoutParamsHashCode() local
1010 LayoutParams lp = getLayoutParams(c); in measureChildrenWithMargins() 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.java174 private void updateConnectivityService(LinkProperties lp) { in updateConnectivityService()
254 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in interfaceLinkStateChanged() local
282 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in interfaceRemoved() local
/frameworks/base/core/tests/coretests/src/android/preference/
DListPreferenceTest.java26 ListPreference lp = new ListPreference(getContext()); in testListPreferenceSummaryFromEntries() local
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DDetailsOverviewLogoPresenter.java98 ViewGroup.LayoutParams lp = view.getLayoutParams(); in onCreateViewHolder() local
145 ViewGroup.LayoutParams lp = imageView.getLayoutParams(); in onBindViewHolder() local

12345678