/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DragLayer.java | 414 final LayoutParams lp = (LayoutParams) flp; 415 if (lp.customPosition) { 416 child.layout(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height); 445 LayoutParams lp = new LayoutParams(-1, -1); 446 lp [all...] |
H A D | Workspace.java | 548 CellLayout.LayoutParams lp; 550 lp = new CellLayout.LayoutParams(x, y, spanX, spanY); 552 lp = (CellLayout.LayoutParams) genericLp; 553 lp.cellX = x; 554 lp.cellY = y; 555 lp.cellHSpan = spanX; 556 lp.cellVSpan = spanY; 560 lp.isLockedToGrid = false; 566 if (!layout.addViewToCellLayout(child, insert ? 0 : -1, childId, lp, markCellsAsOccupied)) { 570 Log.w(TAG, "Failed to add to item at (" + lp [all...] |
H A D | AppsCustomizePagedView.java | 624 DragLayer.LayoutParams lp = new DragLayer.LayoutParams(unScaledSize[0], 626 lp.x = lp.y = 0; 627 lp.customPosition = true; 628 hostView.setLayoutParams(lp); 1226 GridLayout.LayoutParams lp = new GridLayout.LayoutParams( 1229 lp.width = cellWidth; 1230 lp.height = cellHeight; 1231 lp.setGravity(Gravity.TOP | Gravity.START); 1232 if (ix > 0) lp [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
H A D | EditorGrad.java | 154 LinearLayout lp = (LinearLayout) inflater.inflate( 158 lp, MODE_CONTRAST); 160 lp, MODE_BRIGHTNESS); 162 lp, MODE_SATURATION); 163 lp.findViewById(R.id.gradAddButton).setOnClickListener(new OnClickListener() { 169 lp.findViewById(R.id.gradDelButton).setOnClickListener(new OnClickListener() {
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | DragLayer.java | 490 public LayoutParams(ViewGroup.LayoutParams lp) { argument 491 super(lp); 534 final LayoutParams lp = (LayoutParams) flp; 535 if (lp.customPosition) { 536 child.layout(lp.x, lp.y, lp.x + lp.width, lp.y + lp [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
H A D | FolderPagedView.java | 219 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams(); 220 lp.cellX = item.cellX; 221 lp.cellY = item.cellY; 223 view, -1, mFolder.mLauncher.getViewIdForItem(item), lp, true); 331 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); 344 lp.cellX = info.cellX; 345 lp.cellY = info.cellY; 347 v, -1, mFolder.mLauncher.getViewIdForItem(info), lp, true);
|
H A D | Folder.java | 443 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 444 if (lp == null) { 445 lp = new DragLayer.LayoutParams(0, 0); 446 lp.customPosition = true; 447 setLayoutParams(lp); 1040 DragLayer.LayoutParams lp = (DragLayer.LayoutParams) getLayoutParams(); 1090 lp.width = width; 1091 lp.height = height; 1092 lp.x = left; 1093 lp [all...] |
H A D | FolderIcon.java | 190 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) icon.mFolderName.getLayoutParams(); 191 lp.topMargin = grid.iconSizePx + grid.iconDrawablePaddingPx; 246 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 249 mBackground.animateToAccept(cl, lp.cellX, lp.cellY); 1144 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); 1146 lp.canReorder = false; 1149 cl.setFolderLeaveBehindCell(lp.cellX, lp.cellY);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | SwitchBar.java | 109 ViewGroup.MarginLayoutParams lp = (MarginLayoutParams) mTextView.getLayoutParams(); 110 lp.setMarginStart(switchBarMarginStart); 117 lp = (MarginLayoutParams) mSwitch.getLayoutParams(); 118 lp.setMarginEnd(switchBarMarginEnd);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
H A D | SchedulesHeaderRowPresenter.java | 233 ViewGroup.LayoutParams lp = mSelector.getLayoutParams(); 246 lp.width = targetWidth; 251 final float deltaWidth = lp.width - targetWidth; 258 lp.width = targetWidth + Math.round(
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Hotseat.java | 160 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(x, y, 1, 1); 161 lp.canReorder = false; 162 mContent.addViewToCellLayout(allAppsButton, -1, allAppsButton.getId(), lp, true);
|
H A D | Workspace.java | 632 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, firstPage.getCountX(), 1); 633 lp.canReorder = false; 634 if (!firstPage.addViewToCellLayout(qsb, 0, getEmbeddedQsbId(), lp, true)) { 653 ViewGroup.LayoutParams lp = qsbContainer.getLayoutParams(); 654 if (cellHeight > 0 && lp.height != cellHeight) { 655 lp.height = cellHeight; 656 qsbContainer.setLayoutParams(lp); 777 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, spanX, spanY); 778 lp.canReorder = false; 779 lp [all...] |
H A D | PagedView.java | 650 LayoutParams lp = generateDefaultLayoutParams(); 651 lp.isFullScreenPage = true; 652 super.addView(page, 0, lp); 722 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 729 if (!lp.isFullScreenPage) { 730 if (lp.width == LayoutParams.WRAP_CONTENT) { 736 if (lp.height == LayoutParams.WRAP_CONTENT) { 790 LayoutParams lp = (LayoutParams) getChildAt(startIndex).getLayoutParams(); 793 int childLeft = offsetX + (lp.isFullScreenPage ? 0 : getPaddingLeft()); 801 lp [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
H A D | UtilsTest.java | 64 LinkProperties lp = new LinkProperties(); 65 lp.addLinkAddress(address); 66 when(connectivityManager.getLinkProperties(network)).thenReturn(lp);
|
/packages/services/Car/car-support-lib/src/android/support/car/ui/ |
H A D | PagedScrollBarView.java | 142 final ViewGroup.LayoutParams lp = mScrollThumb.getLayoutParams(); 143 if (lp.height != thumbLength) { 144 lp.height = thumbLength;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
H A D | BaseContentFragment.java | 298 LayoutParams lp = iconView.getLayoutParams(); 300 lp.height = lp.width * iconView.getDrawable().getIntrinsicHeight() 304 lp.height = lp.width;
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
H A D | LauncherAccessibilityDelegate.java | 273 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) host.getLayoutParams(); 281 lp.cellX --; 284 lp.cellHSpan ++; 287 lp.cellHSpan --; 291 lp.cellY --; 294 lp.cellVSpan ++; 297 lp.cellVSpan --;
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
H A D | AppChooserActivity.java | 258 ViewGroup.LayoutParams lp = holder.icon.getLayoutParams(); 259 lp.width = lp.height = mIconSize;
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
H A D | DetailsContentPresenter.java | 296 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) view.getLayoutParams(); 297 lp.topMargin = topMargin; 298 view.setLayoutParams(lp);
|
H A D | SeriesDeletionFragment.java | 207 LayoutParams lp = vh.itemView.getLayoutParams(); 209 lp.height = mOneLineActionHeight; 212 new LayoutParams(lp.width, LayoutParams.WRAP_CONTENT));
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | ChannelBannerView.java | 518 RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) view.getLayoutParams(); 520 if (lp.topMargin != topMargin) { 521 lp.topMargin = topMargin; 522 view.setLayoutParams(lp); 636 ViewGroup.LayoutParams lp = mProgramTextView.getLayoutParams(); 637 lp.width = width; 638 mProgramTextView.setLayoutParams(lp);
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
H A D | SearchFragment.java | 371 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) mSpacer.getLayoutParams(); 372 lp.height = spacerHeight; 373 mSpacer.setLayoutParams(lp);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
H A D | AllAppsGridAdapter.java | 133 ViewGroup.LayoutParams lp = host.getLayoutParams(); 135 if (!(lp instanceof LayoutParams) || (cic == null)) { 138 LayoutParams glp = (LayoutParams) lp;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
H A D | ConversationListFragment.java | 403 final MarginLayoutParams lp = 406 + lp.leftMargin + lp.rightMargin;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | TwoPaneLayout.java | 747 final ViewGroup.LayoutParams lp = pane.getLayoutParams(); 748 if (lp.width == w) { 751 lp.width = w; 752 pane.setLayoutParams(lp);
|