/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
EditorVignette.java | 204 ViewGroup.LayoutParams lp = new LinearLayout.LayoutParams( local 206 controls.setLayoutParams(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);
|
FocusHelper.java | 626 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); local 628 final int row = lp.cellY; 641 float tmpDistance = (float) Math.sqrt(Math.pow(tmpLp.cellX - lp.cellX, 2) + 642 Math.pow(tmpLp.cellY - lp.cellY, 2)); [all...] |
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
LauncherAppTransitionManagerImpl.java | 456 LayoutParams lp = new LayoutParams(rect.width(), rect.height()); local 457 lp.ignoreInsets = true; 458 lp.setMarginStart(viewLocationStart); 459 lp.topMargin = viewLocationTop; 460 mFloatingView.setLayoutParams(lp); 482 ? windowTargetBounds.width() - lp.getMarginStart() - rect.width() 483 : lp.getMarginStart(); 484 float dX = centerX - xPosition - (lp.width / 2); 485 float dY = centerY - lp.topMargin - (lp.height / 2) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsGridAdapter.java | 123 ViewGroup.LayoutParams lp = host.getLayoutParams(); local 125 if (!(lp instanceof LayoutParams) || (cic == null)) { 128 LayoutParams glp = (LayoutParams) lp;
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
DragLayer.java | 268 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 276 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2); 277 coord[1] = lp.y + (int) (child.getMeasuredHeight() * (1 - childScale) / 2); 279 // Since the child hasn't necessarily been laid out, we force the lp to be updated with
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
FolderIcon.java | 166 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) icon.mFolderName.getLayoutParams(); local 167 lp.topMargin = grid.iconSizePx + grid.iconDrawablePaddingPx; 230 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 233 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); 643 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 645 lp.canReorder = false; 648 cl.setFolderLeaveBehindCell(lp.cellX, lp.cellY);
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
ArrowPopup.java | 308 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); local 311 arrowLp.gravity = lp.gravity = Gravity.BOTTOM; 312 lp.bottomMargin = 314 arrowLp.bottomMargin = lp.bottomMargin - arrowLp.height - mArrayOffset - insets.bottom; 316 arrowLp.gravity = lp.gravity = Gravity.TOP; 317 lp.topMargin = y + insets.top; 318 arrowLp.topMargin = lp.topMargin - insets.top - arrowLp.height - mArrayOffset;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
ConversationListFragment.java | 403 final MarginLayoutParams lp = local 406 + lp.leftMargin + lp.rightMargin;
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsHttpClient.java | 250 final LinkProperties lp = mConnectivityManager.getLinkProperties(mNetwork); local 251 if (lp != null) { 252 if (!lp.isReachable(ipv4Literal)) {
|
/toolchain/binutils/binutils-2.27/opcodes/ |
opc2c.c | 630 char * lp; local 661 for (lp = line + 4; *lp; lp++) 666 if (strncmp (lp, "*/", 2) == 0) 668 else if ((lp[0] == ' ' && lp[1] == ' ') || (lp[0] == '\t')) 670 while (*lp == ' ' || *lp == '\t' [all...] |
/frameworks/base/core/java/android/widget/ |
StackView.java | 235 LayoutParams lp = (LayoutParams) view.getLayoutParams(); local 236 lp.setVerticalOffset(0); 237 lp.setHorizontalOffset(0); 294 LayoutParams lp = (LayoutParams) view.getLayoutParams(); local 295 lp.setVerticalOffset(0); 296 lp.setHorizontalOffset(0); 538 LayoutParams lp = (LayoutParams) child.getLayoutParams(); local 539 if ((lp.horizontalOffset == 0 && lp.verticalOffset == 0) || 541 lp.resetInvalidateRect() [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/ |
GridLayout.java | 671 LayoutParams lp = getLayoutParams(view); local 673 (leading ? lp.leftMargin : lp.rightMargin) : 674 (leading ? lp.topMargin : lp.bottomMargin); 675 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; 688 LayoutParams lp = getLayoutParams(view); local 689 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec; 716 private static void setCellGroup(LayoutParams lp, int row, int rowSpan, int col, int colSpan) 742 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); local 839 LayoutParams lp = (LayoutParams) p; local 884 LayoutParams lp = (LayoutParams) c.getLayoutParams(); local 919 LayoutParams lp = getLayoutParams(c); local 1036 LayoutParams lp = getLayoutParams(c); local 1194 LayoutParams lp = getLayoutParams(c); local 1210 LayoutParams lp = getLayoutParams(c); local 1563 LayoutParams lp = getLayoutParams(c); local 1605 LayoutParams lp = getLayoutParams(child); local 1636 LayoutParams lp = getLayoutParams(c); local 1692 LayoutParams lp = getLayoutParams(c); local [all...] |
/art/compiler/optimizing/ |
induction_var_range.cc | 358 for (HLoopInformation* lp = instruction->GetBlock()->GetLoopInformation(); // closest enveloping loop 359 lp != nullptr; 360 lp = lp->GetPreHeader()->GetLoopInformation()) { 362 ReplaceInduction(induction_analysis_->LookupInfo(lp, instruction), fetch, replacement); 364 ReplaceInduction(induction_analysis_->LookupInfo(lp, GetLoopControl(lp)), fetch, replacement); 472 HLoopInformation* lp = context->GetBlock()->GetLoopInformation(); // closest enveloping loop local 473 if (lp != nullptr) { 474 HInductionVarAnalysis::InductionInfo* i = induction_analysis_->LookupInfo(lp, instruction) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
HorizontalScrollViewTest.java | 471 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(10, 10); local 472 lp.leftMargin = 3; 473 lp.topMargin = 10; 474 lp.rightMargin = 5; 475 lp.bottomMargin = 7; 477 child.setLayoutParams(lp); 516 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( local 520 lp.leftMargin = 3; 521 lp.topMargin = 10; 522 lp.rightMargin = 5 [all...] |
ScrollViewTest.java | 485 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(10, 10); local 486 lp.leftMargin = 3; 487 lp.topMargin = 10; 488 lp.rightMargin = 5; 489 lp.bottomMargin = 7; 491 child.setLayoutParams(lp); 530 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( local 534 lp.leftMargin = 3; 535 lp.topMargin = 10; 536 lp.rightMargin = 5 [all...] |
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
LocalPlayer.java | 488 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local 492 lp.width = surfaceWidth; 493 lp.height = surfaceWidth * height / width; 497 lp.width = surfaceHeight * width / height; 498 lp.height = surfaceHeight; 500 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height); 501 mSurfaceView.setLayoutParams(lp); 559 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams(); local 561 lp.width = surfaceWidth [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
LocalPlayer.java | 488 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local 492 lp.width = surfaceWidth; 493 lp.height = surfaceWidth * height / width; 497 lp.width = surfaceHeight * width / height; 498 lp.height = surfaceHeight; 500 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height); 501 mSurfaceView.setLayoutParams(lp); 559 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams(); local 561 lp.width = surfaceWidth [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
LocalPlayer.java | 488 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local 492 lp.width = surfaceWidth; 493 lp.height = surfaceWidth * height / width; 497 lp.width = surfaceHeight * width / height; 498 lp.height = surfaceHeight; 500 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height); 501 mSurfaceView.setLayoutParams(lp); 559 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams(); local 561 lp.width = surfaceWidth [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
lstrlib.c | 578 size_t ls, lp;
local 580 const char *p = luaL_checklstring(L, 2, &lp);
588 if (find && (lua_toboolean(L, 4) || nospecials(p, lp))) {
590 const char *s2 = lmemfind(s + init - 1, ls - init + 1, p, lp);
593 lua_pushinteger(L, s2 - s + lp);
602 p++; lp--; /* skip anchor character */
608 ms.p_end = p + lp;
641 size_t ls, lp;
local 643 const char *p = lua_tolstring(L, lua_upvalueindex(2), &lp);
649 ms.p_end = p + lp;
736 size_t srcl, lp; local [all...] |
/external/blktrace/btt/ |
output.c | 367 long long *lp = mp->modes; local 371 for (i = 0; i < mp->nmds; i++, lp++) { 373 if (smip->mode == *lp) { 383 new->mode = *lp;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
RuleBasedNumberFormat.java | 1628 int lp = description.indexOf(specialName); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
RuleBasedNumberFormat.java | 1666 int lp = description.indexOf(specialName); local [all...] |
/external/iproute2/ip/ |
ipaddress.c | 1868 struct nlmsg_list *l, **lp; local [all...] |