/frameworks/base/core/java/android/widget/ |
ZoomButtonsController.java | 243 LayoutParams lp = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); local 245 lp.gravity = Gravity.TOP | Gravity.START; 246 lp.flags = LayoutParams.FLAG_NOT_TOUCHABLE | 250 lp.height = LayoutParams.WRAP_CONTENT; 251 lp.width = LayoutParams.MATCH_PARENT; 252 lp.type = LayoutParams.TYPE_APPLICATION_PANEL; 253 lp.format = PixelFormat.TRANSLUCENT; 254 lp.windowAnimations = com.android.internal.R.style.Animation_ZoomButtons; 255 mContainerLayoutParams = lp; 258 container.setLayoutParams(lp); [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | 605 LayoutParams lp = getLayoutParams(view); local 607 (leading ? lp.leftMargin : lp.rightMargin) : 608 (leading ? lp.topMargin : lp.bottomMargin); 609 return margin == UNDEFINED ? getDefaultMarginValue(view, lp, horizontal, leading) : margin; 618 LayoutParams lp = getLayoutParams(view); local 619 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 646 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) 672 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); local 872 LayoutParams lp = (LayoutParams) c.getLayoutParams(); local 903 LayoutParams lp = getLayoutParams(c); local 1016 LayoutParams lp = getLayoutParams(c); local 1172 LayoutParams lp = getLayoutParams(c); local 1187 LayoutParams lp = getLayoutParams(c); local 1542 LayoutParams lp = getLayoutParams(c); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
PhoneStatusBar.java | 625 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 634 lp.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; 636 lp.flags |= WindowManager.LayoutParams.FLAG_DIM_BEHIND; 637 lp.dimAmount = 0.75f; 639 lp.gravity = Gravity.BOTTOM | Gravity.START; 640 lp.setTitle("RecentsPanel"); 641 lp.windowAnimations = com.android.internal.R.style.Animation_RecentApplications; 642 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED 644 return lp; 650 WindowManager.LayoutParams lp = new WindowManager.LayoutParams local 685 WindowManager.LayoutParams lp = local 694 WindowManager.LayoutParams lp = local 792 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 813 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 1378 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) mStatusBarWindow.getLayoutParams(); local 1656 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) mStatusBarWindow.getLayoutParams(); local 2121 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 2170 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mNotificationPanel.getLayoutParams(); local [all...] |
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/ |
ANTLRv3.g | 197 : lp='(' 201 -> ^( BLOCK[$lp,"BLOCK"] optionsSpec? (alternative rewrite?)+ EOB[$rp,"EOB"] ) 364 : lp='(' rewrite_tree_alternative ')' 365 -> ^(BLOCK[$lp,"BLOCK"] rewrite_tree_alternative EOB[$lp,"EOB"]) 422 id lp='(' rewrite_template_args ')' 424 -> ^(TEMPLATE[$lp,"TEMPLATE"] id rewrite_template_args $str) 438 : id lp='(' rewrite_template_args ')' 439 -> ^(TEMPLATE[$lp,"TEMPLATE"] id rewrite_template_args) 444 : lp='(' ACTION ')' '(' rewrite_template_args ') [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ANTLRv3.g | 192 : lp='(' 196 -> ^( BLOCK[$lp,"BLOCK"] optionsSpec? altpair+ EOB[$rp,"EOB"] ) 368 : lp='(' rewrite_tree_alternative ')' 369 -> ^(BLOCK[$lp,"BLOCK"] rewrite_tree_alternative EOB[$lp,"EOB"]) 426 id lp='(' rewrite_template_args ')' 428 -> ^(TEMPLATE[$lp,"TEMPLATE"] id rewrite_template_args $str) 442 : id lp='(' rewrite_template_args ')' 443 -> ^(TEMPLATE[$lp,"TEMPLATE"] id rewrite_template_args) 448 : lp='(' ACTION ')' '(' rewrite_template_args ') [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
AppTransition.java | 248 private AttributeCache.Entry getCachedAnimations(WindowManager.LayoutParams lp) { 250 + (lp != null ? lp.packageName : null) 251 + " resId=0x" + (lp != null ? Integer.toHexString(lp.windowAnimations) : null)); 252 if (lp != null && lp.windowAnimations != 0) { 256 String packageName = lp.packageName != null ? lp.packageName : "android"; 257 int resId = lp.windowAnimations [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipHelper.java | 129 ListeningPoint lp = mSipProvider.getListeningPoint(ListeningPoint.UDP); local 130 if (lp == null) lp = mSipProvider.getListeningPoint(ListeningPoint.TCP); 131 if (lp == null) { 133 if ((lps != null) && (lps.length > 0)) lp = lps[0]; 135 if (lp == null) { 138 return lp; 144 ListeningPoint lp = getListeningPoint(); local 145 ViaHeader viaHeader = mHeaderFactory.createViaHeader(lp.getIPAddress(), 146 lp.getPort(), lp.getTransport(), null) [all...] |
/external/tcpdump/ |
print-ospf.c | 255 register const u_int32_t *lp; local 346 lp = lsap->lsa_un.un_sla.sla_tosmetric; 349 printf(", metric: %u", EXTRACT_32BITS(lp)&SLA_MASK_METRIC); 352 while ((u_char *)lp < ls_end) { 355 TCHECK(*lp); 356 ul = EXTRACT_32BITS(lp); 360 ++lp; 366 lp = lsap->lsa_un.un_sla.sla_tosmetric; 369 printf(", metric: %u", EXTRACT_32BITS(lp)&SLA_MASK_METRIC); 372 while ((u_char *)lp < ls_end) [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 257 IconMenuView.LayoutParams lp = (IconMenuView.LayoutParams) getLayoutParams(); local 258 if (lp == null) { 260 lp = new IconMenuView.LayoutParams( 265 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint()); 267 return lp;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragView.java | 252 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(0, 0); local 253 lp.width = mBitmap.getWidth(); 254 lp.height = mBitmap.getHeight(); 255 lp.customPosition = true; 256 setLayoutParams(lp);
|
Folder.java | 547 CellLayout.LayoutParams lp = local 551 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true); 797 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local 845 lp.width = width; 846 lp.height = height; 847 lp.x = left; 848 lp.y = top; 861 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local 862 if (lp == null) { 863 lp = new DragLayer.LayoutParams(0, 0) 896 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); local 1014 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mCurrentDragView.getLayoutParams(); local [all...] |
Hotseat.java | 143 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x,y,1,1); local 144 lp.canReorder = false; 145 mContent.addViewToCellLayout(allAppsButton, -1, 0, lp, true);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
SlidingChallengeLayout.java | 816 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 817 if (lp.childType == LayoutParams.CHILD_TYPE_CHALLENGE) { 834 lp.leftMargin = lp.rightMargin = getChallengeMargin(true); 836 } else if (lp.childType == LayoutParams.CHILD_TYPE_EXPAND_CHALLENGE_HANDLE) { 847 } else if (lp.childType == LayoutParams.CHILD_TYPE_SCRIM) { 849 } else if (lp.childType == LayoutParams.CHILD_TYPE_WIDGETS) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MenuInflateFromXml.java | 113 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( local 116 lp.setMargins(10, 10, 10, 10); 117 layout.addView(mInstructionsText, lp);
|
FragmentReceiveResult.java | 40 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( local 45 setContentView(frame, lp);
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
AlignmentTest.java | 101 ViewGroup.LayoutParams lp = v.getLayoutParams(); local 102 lp.width += 1; // width; 103 lp.height += 1; // height;
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
AdvancedPreferencesFragment.java | 130 ListPreference lp = (ListPreference) pref; local 131 lp.setValue((String) objValue); 132 updateListPreferenceSummary(lp);
|
/external/libvpx/libvpx/vp8/common/ |
reconintra4x4.c | 105 unsigned int lp[4]; local 106 lp[0] = (top_left + 2 * Left[0] + Left[1] + 2) >> 2; 107 lp[1] = (Left[0] + 2 * Left[1] + Left[2] + 2) >> 2; 108 lp[2] = (Left[1] + 2 * Left[2] + Left[3] + 2) >> 2; 109 lp[3] = (Left[2] + 2 * Left[3] + Left[3] + 2) >> 2; 115 dst[c] = lp[r];
|
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContainer.java | 234 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); local 235 lp.width = LayoutParams.MATCH_PARENT; 236 lp.height = LayoutParams.WRAP_CONTENT; 275 final LayoutParams lp = (LayoutParams) mActionBarView.getLayoutParams(); 277 mActionBarView.getMeasuredHeight() + lp.topMargin + lp.bottomMargin;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List9.java | 80 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 86 mWindowManager.addView(mDialogText, lp);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentReceiveResultSupport.java | 42 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( local 47 setContentView(frame, lp);
|
/external/openssh/ |
moduli.c | 452 char *cp, *lp; local 476 lp = xmalloc(QLINESIZE + 1); 477 while (fgets(lp, QLINESIZE + 1, in) != NULL) { 479 if (strlen(lp) < 14 || *lp == '!' || *lp == '#') { 486 cp = &lp[14]; /* (skip) */ 642 xfree(lp);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
AdjacentListsWithAdjacentISVsInside.java | 92 final LinearLayout.LayoutParams lp = local 96 ll.addView(view, lp);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
StyleChooser.java | 42 LayoutParams lp = new LayoutParams(120, 120); local 46 button.setLayoutParams(lp);
|
/frameworks/support/v4/java/android/support/v4/view/ |
ViewPager.java | 456 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 457 if (!lp.isDecor) { [all...] |