/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
GridLayout.java | 659 LayoutParams lp = getLayoutParams(view); local 661 (leading ? lp.leftMargin : lp.rightMargin) : 662 (leading ? lp.topMargin : lp.bottomMargin); 663 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; 676 LayoutParams lp = getLayoutParams(view); local 677 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 704 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) 730 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); local 827 LayoutParams lp = (LayoutParams) p; local 866 LayoutParams lp = (LayoutParams) c.getLayoutParams(); local 901 LayoutParams lp = getLayoutParams(c); local 1025 LayoutParams lp = getLayoutParams(c); local 1184 LayoutParams lp = getLayoutParams(c); local 1200 LayoutParams lp = getLayoutParams(c); local 1554 LayoutParams lp = getLayoutParams(c); local 1592 LayoutParams lp = getLayoutParams(getChildAt(i)); local 1633 LayoutParams lp = getLayoutParams(c); local 1685 LayoutParams lp = getLayoutParams(c); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
ScreenPinningRequest.java | 79 WindowManager.LayoutParams lp = getWindowLayoutParams(); local 80 mWindowManager.addView(mRequestWindow, lp); 90 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 100 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; 101 lp.setTitle("ScreenPinningConfirmation"); 102 lp.gravity = Gravity.FILL; 103 return lp;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
PlaybackControlsPresenter.java | 266 MarginLayoutParams lp; local 267 lp = (MarginLayoutParams) vh.mCurrentTime.getLayoutParams(); 268 lp.setMarginStart(enable ? vh.mCurrentTimeMarginStart : 0); 269 vh.mCurrentTime.setLayoutParams(lp); 271 lp = (MarginLayoutParams) vh.mTotalTime.getLayoutParams(); 272 lp.setMarginEnd(enable ? vh.mTotalTimeMarginEnd : 0); 273 vh.mTotalTime.setLayoutParams(lp);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
SlidingChallengeLayout.java | 837 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 838 if (lp.childType == LayoutParams.CHILD_TYPE_CHALLENGE) { 855 lp.leftMargin = lp.rightMargin = getChallengeMargin(true); 857 } else if (lp.childType == LayoutParams.CHILD_TYPE_EXPAND_CHALLENGE_HANDLE) { [all...] |
/packages/apps/Settings/src/com/android/settings/wfd/ |
WifiDisplaySettings.java | 393 ListPreference lp = new ListPreference(getActivity()) { local 414 lp.setTitle(R.string.wifi_display_wps_config); 415 lp.setEntries(wpsEntries); 416 lp.setEntryValues(wpsValues); 417 lp.setValue("" + mWpsConfig); 418 lp.setSummary("%1$s"); 419 mCertCategory.addPreference(lp); 422 lp = new ListPreference(getActivity()) { 436 lp.setTitle(R.string.wifi_display_listen_channel); 437 lp.setEntries(lcEntries) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ToolbarWidgetWrapper.java | 139 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); local 140 lp.height = height; 141 mToolbar.setLayoutParams(lp); 448 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local 449 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 450 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 451 lp.gravity = Gravity.START | Gravity.BOTTOM; 510 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local 511 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 512 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT 525 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, local [all...] |
ActionBarContainer.java | 245 final ViewGroup.LayoutParams lp = tabView.getLayoutParams(); local 246 lp.width = LayoutParams.MATCH_PARENT; 247 lp.height = LayoutParams.WRAP_CONTENT; 267 final LayoutParams lp = (LayoutParams) view.getLayoutParams(); local 268 return view.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; 311 final LayoutParams lp = (LayoutParams) tabContainer.getLayoutParams(); local 313 tabContainer.layout(l, containerHeight - tabHeight - lp.bottomMargin, r, 314 containerHeight - lp.bottomMargin);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ToolbarWidgetWrapper.java | 141 final ViewGroup.LayoutParams lp = mToolbar.getLayoutParams(); local 142 lp.height = height; 143 mToolbar.setLayoutParams(lp); 475 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local 476 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 477 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT; 478 lp.gravity = Gravity.START | Gravity.BOTTOM; 537 Toolbar.LayoutParams lp = (Toolbar.LayoutParams) mTabView.getLayoutParams(); local 538 lp.width = ViewGroup.LayoutParams.WRAP_CONTENT; 539 lp.height = ViewGroup.LayoutParams.WRAP_CONTENT 552 Toolbar.LayoutParams lp = new Toolbar.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarDisplayOptions.java | 102 ActionBar.LayoutParams lp = (ActionBar.LayoutParams) mCustomView.getLayoutParams(); local 104 switch (lp.gravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) { 115 lp.gravity = lp.gravity & ~Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK | newGravity; 116 bar.setCustomView(mCustomView, lp);
|
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);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarDisplayOptions.java | 127 ActionBar.LayoutParams lp = mCustomViewLayoutParams; local 129 switch (lp.gravity & Gravity.HORIZONTAL_GRAVITY_MASK) { 140 lp.gravity = lp.gravity & ~Gravity.HORIZONTAL_GRAVITY_MASK | newGravity; 141 bar.setCustomView(mCustomView, lp);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuItemView.java | 260 IconMenuView.LayoutParams lp = (IconMenuView.LayoutParams) getLayoutParams(); local 261 if (lp == null) { 263 lp = new IconMenuView.LayoutParams( 268 lp.desiredWidth = (int) Layout.getDesiredWidth(getText(), getPaint()); 270 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 | 546 CellLayout.LayoutParams lp = local 550 mContent.addViewToCellLayout(textView, insert ? 0 : -1, (int)item.id, lp, true); 795 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local 843 lp.width = width; 844 lp.height = height; 845 lp.x = left; 846 lp.y = top; 859 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local 860 if (lp == null) { 861 lp = new DragLayer.LayoutParams(0, 0) 894 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); local 1012 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);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
DragView.java | 261 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(0, 0); local 262 lp.width = mBitmap.getWidth(); 263 lp.height = mBitmap.getHeight(); 264 lp.customPosition = true; 265 setLayoutParams(lp);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
NavigationBarView.java | 391 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams(); local 392 if (lp != null) { 393 boolean oldSlippery = (lp.flags & WindowManager.LayoutParams.FLAG_SLIPPERY) != 0; 395 lp.flags |= WindowManager.LayoutParams.FLAG_SLIPPERY; 397 lp.flags &= ~WindowManager.LayoutParams.FLAG_SLIPPERY; 402 wm.updateViewLayout(this, lp); 539 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) menu.getLayoutParams(); local 540 lp.gravity = isLayoutRtl ? Gravity.BOTTOM : Gravity.TOP; 541 menu.setLayoutParams(lp); 544 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) imeSwitcher.getLayoutParams() local [all...] |
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
AlignmentTest.java | 111 ViewGroup.LayoutParams lp = v.getLayoutParams(); local 112 lp.width += 1; // width; 113 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/chromium_org/third_party/libvpx/source/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];
|
/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/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardServiceDelegate.java | 283 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( local 285 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE; 286 lp.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; 287 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_FAKE_HARDWARE_ACCELERATED; 288 lp.setTitle("KeyguardScrim"); 290 wm.addView(view, lp);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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];
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
windowsx.h | 22 #define GlobalPtrHandle(lp) ((HGLOBAL)GlobalHandle(lp)) 23 #define GlobalLockPtr(lp) ((WINBOOL)GlobalLock(GlobalPtrHandle(lp))) 24 #define GlobalUnlockPtr(lp) GlobalUnlock(GlobalPtrHandle(lp)) 26 #define GlobalReAllocPtr(lp,cbNew,flags) (GlobalUnlockPtr(lp),GlobalLock(GlobalReAlloc(GlobalPtrHandle(lp) ,(cbNew),(flags)))) 27 #define GlobalFreePtr(lp) (GlobalUnlockPtr(lp),(WINBOOL)(ULONG_PTR)GlobalFree(GlobalPtrHandle(lp)) [all...] |