Searched defs:lp (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorColorBorderTabletUI.java93 LinearLayout lp = (LinearLayout) inflater.inflate(
98 LinearLayout buttonContainer = (LinearLayout) lp.findViewById(R.id.listStyles);
100 mCBCornerSizeSeekBar = (SeekBar) lp.findViewById(R.id.colorBorderCornerSizeSeekBar);
101 mCBCornerSizeValue = (TextView) lp.findViewById(R.id.colorBorderCornerValue);
102 mCBSizeSeekBar = (SeekBar) lp.findViewById(R.id.colorBorderSizeSeekBar);
104 mCBSizeValue = (TextView) lp.findViewById(R.id.colorBorderSizeValue);
105 setupCBSizeSeekBar(lp);
106 setupCBCornerSizeSeekBar(lp);
107 setupColor(lp, res);
110 private void setupCBSizeSeekBar(LinearLayout lp) { argument
130 setupCBCornerSizeSeekBar(LinearLayout lp) argument
150 setupColor(LinearLayout lp, Resources res) argument
[all...]
H A DEditorDrawTabletUI.java89 public EditorDrawTabletUI(EditorDraw editorDraw, Context context, LinearLayout lp) { argument
95 LinearLayout buttonContainer = (LinearLayout) lp.findViewById(R.id.listStyles);
97 mdrawSizeSeekBar = (SeekBar) lp.findViewById(R.id.drawSizeSeekBar);
98 mDrawSizeValue = (TextView) lp.findViewById(R.id.drawSizeValue);
100 Button clearButton = (Button) lp.findViewById(R.id.clearButton);
157 final LinearLayout ctls = (LinearLayout) lp.findViewById(R.id.controls);
158 final LinearLayout pick = (LinearLayout) lp.findViewById(R.id.colorPicker);
159 Button b = (Button) lp.findViewById(R.id.draw_color_popupbutton);
175 mColorButton[i] = (Button) lp.findViewById(ids[i]);
210 mHueView = (ColorHueView) lp
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DShortcutAndWidgetContainer.java64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
66 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
67 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
84 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
86 canvas.drawRect(lp.x, lp
104 setupLp(CellLayout.LayoutParams lp) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DShortcutAndWidgetContainer.java68 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
70 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) &&
71 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) {
88 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams();
90 canvas.drawRect(lp.x, lp
112 setupLp(CellLayout.LayoutParams lp) argument
[all...]
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java621 ViewGroup.LayoutParams lp = view.getLayoutParams();
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) { argument
684 return new LayoutParams(lp);
688 checkLayoutParams(ViewGroup.LayoutParams lp) argument
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DStaggeredGridView.java859 final LayoutParams lp = (LayoutParams) view.getLayoutParams();
860 if (lp.position > mReorderHelper.getDraggedChildPosition()) {
1296 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
1305 rec = recreateLayoutRecord(mFirstPosition + i, child, lp);
1309 // starting from the child's first column (lp.column). For each column, update
1313 final int span = Math.min(mColCount, lp.span);
1315 final int col = mIsRtlLayout ? lp.column - spanIndex :
1316 lp.column + spanIndex;
1341 private LayoutRecord recreateLayoutRecord(int position, View child, LayoutParams lp) { argument
1344 rec.column = lp
3629 generateLayoutParams(ViewGroup.LayoutParams lp) argument
3634 checkLayoutParams(ViewGroup.LayoutParams lp) argument
[all...]

Completed in 285 milliseconds