HomeSort by relevance Sort by last modified time
    Searched defs:lp (Results 226 - 250 of 637) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Launcher3/src/com/android/launcher3/accessibility/
LauncherAccessibilityDelegate.java 279 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) host.getLayoutParams(); local
287 lp.cellX --;
290 lp.cellHSpan ++;
293 lp.cellHSpan --;
297 lp.cellY --;
300 lp.cellVSpan ++;
303 lp.cellVSpan --;
  /packages/apps/Launcher3/src/com/android/launcher3/folder/
FolderAnimationManager.java 113 final DragLayer.LayoutParams lp = (DragLayer.LayoutParams) mFolder.getLayoutParams(); local
141 previewItemOffsetX = (int) (lp.width * initialScale - initialSize - previewItemOffsetX);
152 final float xDistance = initialX - lp.x;
153 final float yDistance = initialY - lp.y;
168 Rect endRect = new Rect(0, 0, lp.width, lp.height);
  /packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
WorkspacePageIndicator.java 261 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) getLayoutParams(); local
265 lp.leftMargin = padding.left + grid.workspaceCellPaddingXPx;
266 lp.rightMargin = padding.right + grid.workspaceCellPaddingXPx;
267 lp.bottomMargin = padding.bottom;
269 lp.leftMargin = lp.rightMargin = 0;
270 lp.gravity = Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM;
271 lp.bottomMargin = grid.hotseatBarSizePx + insets.bottom;
273 setLayoutParams(lp);
  /packages/apps/Launcher3/src/com/android/launcher3/views/
BaseDragLayer.java 308 public LayoutParams(ViewGroup.LayoutParams lp) {
309 super(lp);
352 final LayoutParams lp = (LayoutParams) flp; local
353 if (lp.customPosition) {
354 child.layout(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/
SnackBar.java 285 final MarginLayoutParams lp = (MarginLayoutParams) mMessageWrapper.getLayoutParams(); local
288 lp.leftMargin = leftRightMargin;
289 lp.rightMargin = leftRightMargin;
290 mMessageWrapper.setLayoutParams(lp);
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
AppChooserActivity.java 258 ViewGroup.LayoutParams lp = holder.icon.getLayoutParams(); local
259 lp.width = lp.height = mIconSize;
  /packages/apps/Settings/src/com/android/settings/widget/
SwitchBar.java 118 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) mTextView.getLayoutParams(); local
119 lp.setMarginStart(switchBarMarginStart);
126 lp = (MarginLayoutParams) mSwitch.getLayoutParams();
127 lp.setMarginEnd(switchBarMarginEnd);
  /packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DetailsContentPresenter.java 353 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) view.getLayoutParams(); local
354 lp.topMargin = topMargin;
355 view.setLayoutParams(lp);
  /packages/apps/TV/src/com/android/tv/ui/
TvTransitionManager.java 121 LayoutParams lp = (LayoutParams) mInputBannerView.getLayoutParams(); local
122 lp.width =
126 mInputBannerView.setLayoutParams(lp);
182 ViewGroup.MarginLayoutParams lp =
185 emptySceneLayoutParams.setMarginStart(lp.getMarginStart());
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
BaseContentFragment.java 298 LayoutParams lp = iconView.getLayoutParams(); local
300 lp.height = lp.width * iconView.getDrawable().getIntrinsicHeight()
304 lp.height = lp.width;
  /toolchain/binutils/binutils-2.27/bfd/
pei-x86_64.c 451 const bfd_vma *lp = (const bfd_vma *) l; local
454 if (*lp == *rp)
456 return (*lp < *rp ? -1 : 1);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
BoxInsetLayout.java 117 LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); local
124 if ((lp.boxedEdges & LayoutParams.BOX_LEFT) == 0) {
125 marginLeft = lp.leftMargin;
127 if ((lp.boxedEdges & LayoutParams.BOX_RIGHT) == 0) {
128 marginRight = lp.rightMargin;
130 if ((lp.boxedEdges & LayoutParams.BOX_TOP) == 0) {
131 marginTop = lp.topMargin;
133 if ((lp.boxedEdges & LayoutParams.BOX_BOTTOM) == 0) {
134 marginBottom = lp.bottomMargin;
138 marginLeft = lp.leftMargin
178 final LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); local
255 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
FrameLayoutTest.java 240 ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(3, 5); local
241 lp.leftMargin = 1;
242 lp.topMargin = 2;
243 lp.rightMargin = 3;
244 lp.bottomMargin = 4;
245 LayoutParams generated = (LayoutParams) myFrameLayout.generateLayoutParams(lp);
GalleryTest.java 164 LayoutParams lp = new LayoutParams(width, height); local
166 LayoutParams layoutParams = gallery.generateLayoutParams(lp);
RelativeLayoutTest.java 296 ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(3, 5); local
297 lp.leftMargin = 1;
298 lp.topMargin = 2;
299 lp.rightMargin = 3;
300 lp.bottomMargin = 4;
302 layout.generateLayoutParams(lp);
RemoteViewsWidgetTest.java 203 FrameLayout.MarginLayoutParams lp = new FrameLayout.MarginLayoutParams( local
206 mAppWidgetHostView.setLayoutParams(lp);
  /external/lzma/Java/SevenZip/Compression/LZMA/
Decoder.java 167 boolean SetLcLpPb(int lc, int lp, int pb)
169 if (lc > Base.kNumLitContextBitsMax || lp > 4 || pb > Base.kNumPosStatesBitsMax)
171 m_LiteralDecoder.Create(lp, lc);
320 int lp = remainder % 5; local
325 if (!SetLcLpPb(lc, lp, pb))
  /external/opencv/cv/src/
cvinpaint.cpp 336 int lm=l-1+(l==1),lp=l-1-(l==t->cols-2); local
352 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)))*2.0f;
354 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color)));
358 gradI.x=(float)((CV_MAT_3COLOR_ELEM(*out,uchar,km,lp,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm-1,color)));
449 int lm=l-1+(l==1),lp=l-1-(l==t->cols-2); local
465 gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm-1)))*2.0f;
467 gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp+1)-CV_MAT_ELEM(*out,uchar,km,lm)));
471 gradI.x=(float)((CV_MAT_ELEM(*out,uchar,km,lp)-CV_MAT_ELEM(*out,uchar,km,lm-1)));
544 int lm=l-1+(l==1),lp=l-1-(l==f->cols-2); local
569 gradI.y=(float)(abs(CV_MAT_3COLOR_ELEM(*out,uchar,km,lp+1,color)-CV_MAT_3COLOR_ELEM(*out,uchar,km,lm,color))
635 int lm=l-1+(l==1),lp=l-1-(l==t->cols-2); local
    [all...]
  /external/syslinux/gpxe/src/drivers/net/
amd8111e.c 114 static void amd8111e_init_hw_default(struct amd8111e_priv *lp);
115 static int amd8111e_start(struct amd8111e_priv *lp);
116 static int amd8111e_read_phy(struct amd8111e_priv *lp, int phy_addr, int reg, u32 *val);
118 static int amd8111e_write_phy(struct amd8111e_priv *lp, int phy_addr, int reg, u32 val);
120 static void amd8111e_probe_ext_phy(struct amd8111e_priv *lp);
121 static void amd8111e_disable_interrupt(struct amd8111e_priv *lp);
122 static void amd8111e_enable_interrupt(struct amd8111e_priv *lp);
123 static void amd8111e_force_interrupt(struct amd8111e_priv *lp);
124 static int amd8111e_get_mac_address(struct amd8111e_priv *lp);
125 static int amd8111e_init_rx_ring(struct amd8111e_priv *lp);
525 struct amd8111e_priv *lp = nic->priv_data; local
567 struct amd8111e_priv *lp = nic->priv_data; local
613 struct amd8111e_priv *lp = nic->priv_data; local
630 struct amd8111e_priv *lp = nic->priv_data; local
654 struct amd8111e_priv *lp = &amd8111e; local
    [all...]
  /frameworks/base/core/java/android/view/inputmethod/
BaseInputConnection.java 822 LogPrinter lp = new LogPrinter(Log.VERBOSE, TAG); local
823 lp.println("Current text:");
824 TextUtils.dumpSpans(content, lp, " ");
825 lp.println("Composing text:");
826 TextUtils.dumpSpans(text, lp, " ");
846 LogPrinter lp = new LogPrinter(Log.VERBOSE, TAG); local
847 lp.println("Final text:");
848 TextUtils.dumpSpans(content, lp, " ");
  /frameworks/base/core/java/android/widget/
GridLayout.java 690 LayoutParams lp = getLayoutParams(view); local
692 (leading ? lp.leftMargin : lp.rightMargin) :
693 (leading ? lp.topMargin : lp.bottomMargin);
694 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin;
703 LayoutParams lp = getLayoutParams(view); local
704 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
731 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan)
757 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); local
866 LayoutParams lp = (LayoutParams) p; local
913 LayoutParams lp = new LayoutParams(); local
991 LayoutParams lp = (LayoutParams) c.getLayoutParams(); local
1026 LayoutParams lp = getLayoutParams(c); local
1143 LayoutParams lp = getLayoutParams(c); local
1306 LayoutParams lp = getLayoutParams(c); local
1322 LayoutParams lp = getLayoutParams(c); local
1675 LayoutParams lp = getLayoutParams(c); local
1717 LayoutParams lp = getLayoutParams(child); local
1748 LayoutParams lp = getLayoutParams(c); local
1804 LayoutParams lp = getLayoutParams(c); local
    [all...]
TabWidget.java 505 final LinearLayout.LayoutParams lp = new LayoutParams( local
507 lp.setMargins(0, 0, 0, 0);
508 child.setLayoutParams(lp);
ZoomButtonsController.java 245 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); local
247 lp.gravity = Gravity.TOP | Gravity.START;
248 lp.flags = LayoutParams.FLAG_NOT_TOUCHABLE |
252 lp.height = LayoutParams.WRAP_CONTENT;
253 lp.width = LayoutParams.MATCH_PARENT;
254 lp.type = LayoutParams.TYPE_APPLICATION_PANEL;
255 lp.format = PixelFormat.TRANSLUCENT;
256 lp.windowAnimations = com.android.internal.R.style.Animation_ZoomButtons;
257 mContainerLayoutParams = lp;
260 container.setLayoutParams(lp);
    [all...]
  /frameworks/base/core/java/com/android/internal/view/menu/
ListMenuItemView.java 275 ViewGroup.LayoutParams lp = getLayoutParams(); local
277 if (lp.height > 0 && iconLp.width <= 0) {
278 iconLp.width = lp.height;
350 final LayoutParams lp = (LayoutParams) mGroupDivider.getLayoutParams(); local
351 rect.top += mGroupDivider.getHeight() + lp.topMargin + lp.bottomMargin;
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarContextView.java 326 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); local
327 availableWidth -= lp.leftMargin + lp.rightMargin;
352 ViewGroup.LayoutParams lp = mCustomView.getLayoutParams(); local
353 final int customWidthMode = lp.width != LayoutParams.WRAP_CONTENT ?
355 final int customWidth = lp.width >= 0 ?
356 Math.min(lp.width, availableWidth) : availableWidth;
357 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ?
359 final int customHeight = lp.height >= 0 ?
360 Math.min(lp.height, height) : height
389 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); local
    [all...]

Completed in 425 milliseconds

1 2 3 4 5 6 7 8 91011>>