Home
last modified time | relevance | path

Searched defs:lp (Results 1 – 25 of 153) 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/com/android/internal/widget/
DSizeAdaptiveLayoutTest.java81 SizeAdaptiveLayout.LayoutParams lp = in testOpenLarge() local
98 SizeAdaptiveLayout.LayoutParams lp = in testOpenSmall() local
115 SizeAdaptiveLayout.LayoutParams lp = in testOpenTooSmall() local
132 SizeAdaptiveLayout.LayoutParams lp = in testOpenTooBig() local
151 SizeAdaptiveLayout.LayoutParams lp = in testOpenWrapContent() local
167 SizeAdaptiveLayout.LayoutParams lp = in testOpenOneUOnlySmall() local
183 SizeAdaptiveLayout.LayoutParams lp = in testOpenOneUOnlyLarge() local
199 SizeAdaptiveLayout.LayoutParams lp = in testOpenOneUOnlyJustRight() local
215 SizeAdaptiveLayout.LayoutParams lp = in testOpenFourUOnlySmall() local
231 SizeAdaptiveLayout.LayoutParams lp = in testOpenFourUOnlyLarge() local
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DLinkPropertiesTest.java236 private void assertAllRoutesHaveInterface(String iface, LinkProperties lp) { in assertAllRoutesHaveInterface()
249 LinkProperties lp = new LinkProperties(); in testRouteInterfaces() local
353 private LinkAddress getFirstLinkAddress(LinkProperties lp) { in getFirstLinkAddress()
359 LinkProperties lp = new LinkProperties(); in testAddressMethods() local
446 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
/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.java166 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
223 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
261 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
287 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
317 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat() local
321 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() local
333 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
369 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells() local
508 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); in onLayout() local
[all …]
DToolbar.java841 final LayoutParams lp = generateDefaultLayoutParams(); in ensureMenuView() local
996 final LayoutParams lp = generateDefaultLayoutParams(); in ensureNavButtonView() local
1008 final LayoutParams lp = generateDefaultLayoutParams(); in ensureCollapseButtonView() local
1023 final LayoutParams lp; in addSystemView() local
1128 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained() local
1153 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins() local
1271 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
1403 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
1407 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout() local
1453 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
[all …]
/frameworks/base/core/java/android/widget/
DLinearLayout.java351 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
364 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local
379 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
401 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local
528 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in getBaseline() local
695 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical() local
810 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) in measureVertical() local
847 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) child.getLayoutParams(); in measureVertical() local
920 final LinearLayout.LayoutParams lp = in measureVertical() local
959 LinearLayout.LayoutParams lp = ((LinearLayout.LayoutParams)child.getLayoutParams()); in forceUniformWidth() local
[all …]
DToolbar.java840 final LayoutParams lp = generateDefaultLayoutParams(); in ensureMenuView() local
994 final LayoutParams lp = generateDefaultLayoutParams(); in ensureNavButtonView() local
1005 final LayoutParams lp = generateDefaultLayoutParams(); in ensureCollapseButtonView() local
1020 final LayoutParams lp; in addSystemView() local
1104 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams lp) { in onSetLayoutParams()
1120 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildConstrained() local
1145 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureChildCollapseMargins() local
1258 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
1387 final LayoutParams lp = (LayoutParams) mTitleTextView.getLayoutParams(); in onLayout() local
1391 final LayoutParams lp = (LayoutParams) mSubtitleTextView.getLayoutParams(); in onLayout() local
[all …]
DActionMenuView.java156 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
213 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
251 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
277 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
307 LayoutParams lp = (LayoutParams) getChildAt(0).getLayoutParams(); in onMeasureExactFormat() local
311 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() local
323 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
359 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local
391 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureChildForCells() local
499 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); 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.java171 private void updateConnectivityService(LinkProperties lp) { in updateConnectivityService()
251 LinkProperties lp = new LinkProperties(mNetwork.linkProperties); in interfaceLinkStateChanged() local
279 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/
DPlaybackControlsRowPresenter.java321 MarginLayoutParams lp = (MarginLayoutParams) vh.mControlsDock.getLayoutParams(); in initRow() local
349 LayoutParams lp = vh.mCard.getLayoutParams(); in onBindRowViewHolder() local
355 LayoutParams lp = vh.mCard.getLayoutParams(); in onBindRowViewHolder() local
365 MarginLayoutParams lp = (MarginLayoutParams) vh.mControlsDock.getLayoutParams(); in onBindRowViewHolder() 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
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DMultiPaneChallengeLayout.java188 private int getVirtualHeight(LayoutParams lp, int height, int heightUsed) { in getVirtualHeight()
232 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
282 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
350 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() local
369 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in layoutWithGravity() local
/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
DLayoutInsetsTest.java43 LayoutParams lp = new LayoutParams(); in create() local
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContainer.java245 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/v4/java/android/support/v4/widget/
DDrawerLayout.java262 void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity); in applyMarginInsets()
276 public void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity) { in applyMarginInsets()
299 public void applyMarginInsets(MarginLayoutParams lp, Object insets, int drawerGravity) { in applyMarginInsets()
624 final LayoutParams lp = (LayoutParams) activeDrawer.getLayoutParams(); in updateDrawerState() local
642 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerClosed() local
664 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerOpened() local
706 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in setDrawerViewOffset() local
851 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local
904 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() local
1256 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in closeDrawers() local
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java659 LayoutParams lp = getLayoutParams(view); in getMargin1() local
676 LayoutParams lp = getLayoutParams(view); in getMargin() local
704 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) { in setCellGroup()
730 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); in validateLayoutParams() local
802 private void checkLayoutParams(LayoutParams lp, boolean horizontal) { in checkLayoutParams()
827 LayoutParams lp = (LayoutParams) p; in checkLayoutParams() local
866 LayoutParams lp = (LayoutParams) c.getLayoutParams(); in computeLayoutParamsHashCode() local
901 LayoutParams lp = getLayoutParams(c); in measureChildrenWithMargins() local
1025 LayoutParams lp = getLayoutParams(c); in onLayout() local
1184 LayoutParams lp = getLayoutParams(c); in createGroupBounds() local
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DNoSaveStateFrameLayout.java37 NoSaveStateFrameLayout.LayoutParams lp = new NoSaveStateFrameLayout.LayoutParams( in wrap() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DScreenPinningRequest.java79 WindowManager.LayoutParams lp = getWindowLayoutParams(); in showPrompt() local
90 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( in getWindowLayoutParams() local

1234567