/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
TabletTicker.java | 224 WindowManager.LayoutParams lp = new WindowManager.LayoutParams(width, mLargeIconHeight, local 227 lp.gravity = Gravity.BOTTOM | Gravity.END; 228 // lp.windowAnimations = com.android.internal.R.style.Animation_Toast; 233 lp.setTitle("NotificationTicker"); 234 view.setLayoutParams(lp); 282 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( local 285 content.addView(expanded, lp); 303 final ViewGroup.LayoutParams lp = largeIcon.getLayoutParams(); local 308 lp.height = statusBarHeight; 310 lp.height = mLargeIconHeight [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardSecurityViewFlipper.java | 197 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 199 if (lp.maxWidth > 0 && lp.maxWidth < maxWidth) { 200 maxWidth = lp.maxWidth; 202 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { 203 maxHeight = lp.maxHeight; 216 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 218 final int childWidthSpec = makeChildMeasureSpec(maxWidth, lp.width); 219 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height) [all...] |
KeyguardViewManager.java | 199 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 201 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE; 202 lp.windowAnimations = com.android.internal.R.style.Animation_LockScreen; 203 lp.screenOrientation = enableScreenRotation ? 207 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; 208 lp.privateFlags |= 211 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SET_NEEDS_MENU_KEY; 213 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; 215 lp.inputFeatures |= WindowManager.LayoutParams.INPUT_FEATURE_DISABLE_USER_ACTIVITY; 216 lp.setTitle(isActivity ? "KeyguardMock" : "Keyguard") [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActionBarContextView.java | 320 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) mClose local 322 availableWidth -= lp.leftMargin + lp.rightMargin; 347 ViewGroup.LayoutParams lp = mCustomView.getLayoutParams(); local 348 final int customWidthMode = lp.width != ViewGroup.LayoutParams.WRAP_CONTENT ? 350 final int customWidth = lp.width >= 0 ? 351 Math.min(lp.width, availableWidth) : availableWidth; 352 final int customHeightMode = lp.height != ViewGroup.LayoutParams.WRAP_CONTENT ? 354 final int customHeight = lp.height >= 0 ? 355 Math.min(lp.height, height) : height 383 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) mClose local [all...] |
LinearLayoutICS.java | 108 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 109 drawHorizontalDivider(canvas, child.getTop() - lp.topMargin); 130 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 131 drawVerticalDivider(canvas, child.getLeft() - lp.leftMargin);
|
ActionBarContainer.java | 194 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); local 195 lp.width = LayoutParams.FILL_PARENT; 196 lp.height = LayoutParams.WRAP_CONTENT; 239 final LayoutParams lp = (LayoutParams) mActionBarView.getLayoutParams(); local 241 mActionBarView.getMeasuredHeight() + lp.topMargin + lp.bottomMargin;
|
/system/core/sh/ |
show.c | 75 struct nodelist *lp; local 103 for (lp = n->npipe.cmdlist ; lp ; lp = lp->next) { 104 shcmd(lp->n, fp); 105 if (lp->next)
|
/frameworks/base/core/java/android/widget/ |
GridLayout.java | 625 LayoutParams lp = getLayoutParams(view); local 627 (leading ? lp.leftMargin : lp.rightMargin) : 628 (leading ? lp.topMargin : lp.bottomMargin); 629 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; 638 LayoutParams lp = getLayoutParams(view); local 639 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 666 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) 692 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); local 801 LayoutParams lp = (LayoutParams) p; local 841 LayoutParams lp = new LayoutParams(); local 927 LayoutParams lp = (LayoutParams) c.getLayoutParams(); local 962 LayoutParams lp = getLayoutParams(c); local 1084 LayoutParams lp = getLayoutParams(c); local 1249 LayoutParams lp = getLayoutParams(c); local 1264 LayoutParams lp = getLayoutParams(c); local 1606 LayoutParams lp = getLayoutParams(c); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GradientsActivity.java | 72 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); local 73 lp.setMargins(220, 0, 0, 0); 74 layout.addView(radialGradientView, lp); 76 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 77 lp.setMargins(440, 0, 0, 0); 78 layout.addView(sweepGradientView, lp); 80 lp = new FrameLayout.LayoutParams(200, 200, Gravity.CENTER); 81 lp.setMargins(220, -220, 0, 0); 82 layout.addView(bitmapView, lp);
|
TextGammaActivity.java | 92 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 95 lp.setMargins(0, 74, 0, 0); 96 layout.addView(gamma, lp);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
CellLayout.java | 617 final LayoutParams lp = params; local 636 if (lp.cellX >= 0 && lp.cellX <= mCountX - 1 && lp.cellY >= 0 && lp.cellY <= mCountY - 1) { 639 if (lp.cellHSpan < 0) lp.cellHSpan = mCountX; 640 if (lp.cellVSpan < 0) lp.cellVSpan = mCountY; 644 mShortcutsAndWidgets.addView(child, index, lp); 721 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1104 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 1237 MarginLayoutParams lp = (MarginLayoutParams) v.getLayoutParams(); local 1876 LayoutParams lp = (LayoutParams) v.getLayoutParams(); local 2097 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 2199 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 2221 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 2269 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 2409 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 2430 LayoutParams lp = (LayoutParams) mShortcutsAndWidgets.getChildAt(i).getLayoutParams(); local 2517 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 2541 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 2949 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local [all...] |
PagedViewCellLayout.java | 103 final PagedViewCellLayout.LayoutParams lp = params; local 107 if (lp.cellX >= 0 && lp.cellX <= (mCellCountX - 1) && 108 lp.cellY >= 0 && (lp.cellY <= mCellCountY - 1)) { 111 if (lp.cellHSpan < 0) lp.cellHSpan = mCellCountX; 112 if (lp.cellVSpan < 0) lp.cellVSpan = mCellCountY; 115 mChildren.addView(child, index, lp); 309 PagedViewCellLayout.LayoutParams lp = (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); local [all...] |
/external/tcpdump/ |
print-atalk.c | 96 register const struct LAP *lp; local 110 lp = (const struct LAP *)bp; 111 bp += sizeof(*lp); 112 length -= sizeof(*lp); 113 hdrlen = sizeof(*lp); 114 switch (lp->type) { 123 ataddr_string(0, lp->src), ddpskt_string(sdp->srcSkt)); 125 ataddr_string(0, lp->dst), ddpskt_string(sdp->dstSkt)); 129 ddp_print(bp, length, sdp->type, 0, lp->src, sdp->srcSkt); 158 lp->src, lp->dst, lp->type, length) [all...] |
/frameworks/base/core/java/android/content/ |
SyncActivityTooManyDeletes.java | 86 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 88 ll.addView(textView, lp); 89 ll.addView(listView, lp); 99 // ll.addView(imageView, lp);
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
MessageProcessor.java | 197 public void setListeningPoint(ListeningPointImpl lp) { 200 " listeningPoint = " + lp); 203 if ( lp.getPort() != this.getPort()) 205 ("lp mismatch with provider",getSIPStack().getStackLogger()); 206 this.listeningPoint = lp;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 82 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); local 83 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 85 lp.token = windowToken; 87 lp.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 179 final LinearLayout.LayoutParams lp = 185 ll.addView(button, lp); 257 final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 259 mLinearLayout.addView(viewFactory.create(this), lp); local
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuDialogHelper.java | 85 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); local 86 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 88 lp.token = windowToken; 90 lp.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
CandidateTextView.java | 166 WindowManager.LayoutParams lp = window.getAttributes(); local 167 lp.token = getWindowToken(); 168 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 169 window.setAttributes(lp);
|
/frameworks/base/core/java/android/service/dreams/ |
DreamService.java | 625 WindowManager.LayoutParams lp = mWindow.getAttributes(); local 626 lp.type = WindowManager.LayoutParams.TYPE_DREAM; 627 lp.token = windowToken; 628 lp.windowAnimations = com.android.internal.R.style.Animation_Dream; 629 lp.flags |= ( WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 637 mWindow.setAttributes(lp); 710 WindowManager.LayoutParams lp = mWindow.getAttributes(); local 711 lp.flags = applyFlags(lp.flags, flags, mask); 712 mWindow.setAttributes(lp); 713 mWindowManager.updateViewLayout(mWindow.getDecorView(), lp); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
BasicSlider.java | 43 LinearLayout lp = (LinearLayout) inflater.inflate( local 45 mSeekBar = (SeekBar) lp.findViewById(R.id.primarySeekBar);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 194 LayoutParams lp = mSurfaceView.getLayoutParams(); 197 lp.width = rect.width(); 198 lp.height = (int) (rect.width() / aspectRatio); 200 lp.width = (int) (rect.height() * aspectRatio); 201 lp.height = rect.height(); 203 mSurfaceView.setLayoutParams(lp);
|
/external/skia/legacy/src/effects/ |
SkMorphologyImageFilter.cpp | 35 const SkPMColor* lp = src; local 40 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { 52 lp += srcStrideY; 82 const SkPMColor* lp = src; local 87 for (const SkPMColor* p = lp; p <= up; p += srcStrideX) { 99 lp += srcStrideY;
|
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContextView.java | 348 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); local 349 availableWidth -= lp.leftMargin + lp.rightMargin; 373 ViewGroup.LayoutParams lp = mCustomView.getLayoutParams(); local 374 final int customWidthMode = lp.width != LayoutParams.WRAP_CONTENT ? 376 final int customWidth = lp.width >= 0 ? 377 Math.min(lp.width, availableWidth) : availableWidth; 378 final int customHeightMode = lp.height != LayoutParams.WRAP_CONTENT ? 380 final int customHeight = lp.height >= 0 ? 381 Math.min(lp.height, height) : height 463 MarginLayoutParams lp = (MarginLayoutParams) mClose.getLayoutParams(); local [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 621 ViewGroup.LayoutParams lp = view.getLayoutParams(); local 624 if (lp == null) { 625 lp = generateDefaultLayoutParams(); 626 } else if (!checkLayoutParams(lp)) { 627 lp = generateLayoutParams(lp); 629 view.setLayoutParams(lp); 632 final LayoutParams sglp = (LayoutParams) lp; 683 protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) { 684 return new LayoutParams(lp); 815 final LayoutParams lp = (LayoutParams) v.getLayoutParams(); local [all...] |