Searched defs:layout (Results 26 - 50 of 58) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentCenterGravityTest.java17 package android.widget.layout.linear;
27 import android.widget.layout.linear.BaselineAlignmentCenterGravity;
H A DBaselineButtonsTest.java17 package android.widget.layout.linear;
26 import android.widget.layout.linear.BaselineButtons;
50 mLayout = activity.findViewById(R.id.layout);
H A DLLEditTextThenButton.java17 package android.widget.layout.linear;
37 setContentView(R.layout.linear_layout_edittext_then_button);
39 mLayout = (LinearLayout) findViewById(R.id.layout);
H A DLLOfButtons1.java17 package android.widget.layout.linear;
39 setContentView(R.layout.linear_layout_buttons);
51 return (LinearLayout) findViewById(R.id.layout);
H A DExceptionTextView.java17 package android.widget.layout.linear;
H A DLLOfTwoFocusableInTouchMode.java17 package android.widget.layout.linear;
39 setContentView(R.layout.linear_layout_buttons);
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DCellSpanTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.CellSpan;
27 * {@link android.widget.layout.table.CellSpan} is
H A DFixedWidthTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.FixedWidth;
27 * {@link android.widget.layout.table.FixedWidth} is
H A DHorizontalGravityTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.HorizontalGravity;
28 * {@link android.widget.layout.table.HorizontalGravity} is
H A DVerticalGravityTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.VerticalGravity;
29 * {@link android.widget.layout.table.VerticalGravity} is
H A DWeightTest.java17 package android.widget.layout.table;
19 import android.widget.layout.table.Weight;
27 * {@link android.widget.layout.table.Weight} is
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerListHelper.java47 * @param layout - layout to populate data
49 public void bindListUI(int layout) { argument
53 TrackerAdapter adapter = new TrackerAdapter(mActivity, layout, cursor);
62 public TrackerAdapter(Context context, int layout, Cursor c) { argument
63 super(context, layout, c);
/frameworks/base/core/java/android/widget/
H A DResourceCursorAdapter.java42 * @param layout resource identifier of a layout file that defines the views
46 public ResourceCursorAdapter(Context context, int layout, Cursor c) { argument
48 mLayout = mDropDownLayout = layout;
57 * @param layout resource identifier of a layout file that defines the views
65 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { argument
67 mLayout = mDropDownLayout = layout;
88 * <p>Sets the layout resource of the item views.</p>
90 * @param layout th
92 setViewResource(int layout) argument
[all...]
H A DSimpleCursorAdapter.java72 * @param layout resource identifier of a layout file that defines the views
73 * for this list item. The layout file should include at least
83 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument
84 super(context, layout, c);
322 // rescan columns in case cursor layout is different
H A DAbsSpinner.java77 R.layout.simple_spinner_item, entries);
78 adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item);
196 // Put in recycler for re-measuring and/or layout
292 layout(delta, animate);
297 abstract void layout(int delta, boolean animate); method in class:AbsSpinner
309 * Override to prevent spamming ourselves with layout requests
/frameworks/base/core/java/android/text/method/
H A DTouch.java38 public static void scrollTo(TextView widget, Layout layout, int x, int y) { argument
41 int top = layout.getLineForVertical(y);
42 int bottom = layout.getLineForVertical(y + widget.getHeight() -
50 left = (int) Math.min(left, layout.getLineLeft(i));
51 right = (int) Math.max(right, layout.getLineRight(i));
54 a = layout.getParagraphAlignment(i);
80 public static int getMaxScrollX(TextView widget, Layout layout, int y) { argument
81 int top = layout.getLineForVertical(y);
82 int bottom = layout.getLineForVertical(y + widget.getHeight()
87 left = (int) Math.min(left, layout
[all...]
/frameworks/base/core/java/android/text/style/
H A DDrawableMarginSpan.java45 boolean first, Layout layout) {
48 int itop = (int)layout.getLineTop(layout.getLineForOffset(st));
42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DIconMarginSpan.java45 boolean first, Layout layout) {
47 int itop = layout.getLineTop(layout.getLineForOffset(st));
42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DLeadingMarginSpan.java62 * @param layout the layout containing this line
68 boolean first, Layout layout);
141 boolean first, Layout layout) {
64 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
137 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DQuoteSpan.java69 boolean first, Layout layout) {
66 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutGravityTest.java17 package android.widget.layout.frame;
24 import android.widget.layout.frame.FrameLayoutGravity;
/frameworks/base/awt/org/apache/harmony/awt/gl/font/
H A DCaretManager.java304 public Line2D getCaretShape(TextHitInfo hitInfo, TextLayout layout) { argument
305 return getCaretShape(hitInfo, layout, true, false, null);
311 * @param layout - text layout
319 TextHitInfo hitInfo, TextLayout layout,
339 if (layout.getBaseline() >= 0) {
346 layout.getBaselineOffsets()[layout.getBaseline()];
353 y1 = layout.getDescent();
354 y2 = - layout
318 getCaretShape( TextHitInfo hitInfo, TextLayout layout, boolean useItalic, boolean useBounds, Rectangle2D bounds ) argument
[all...]
/frameworks/base/core/java/android/text/
H A DSelection.java112 * Moving the selection within the layout
119 public static boolean moveUp(Spannable text, Layout layout) { argument
135 int line = layout.getLineForOffset(end);
140 if (layout.getParagraphDirection(line) ==
141 layout.getParagraphDirection(line - 1)) {
142 float h = layout.getPrimaryHorizontal(end);
143 move = layout.getOffsetForHorizontal(line - 1, h);
145 move = layout.getLineStart(line - 1);
160 public static boolean moveDown(Spannable text, Layout layout) { argument
176 int line = layout
202 moveLeft(Spannable text, Layout layout) argument
227 moveRight(Spannable text, Layout layout) argument
250 extendUp(Spannable text, Layout layout) argument
279 extendDown(Spannable text, Layout layout) argument
308 extendLeft(Spannable text, Layout layout) argument
324 extendRight(Spannable text, Layout layout) argument
336 extendToLeftEdge(Spannable text, Layout layout) argument
342 extendToRightEdge(Spannable text, Layout layout) argument
348 moveToLeftEdge(Spannable text, Layout layout) argument
354 moveToRightEdge(Spannable text, Layout layout) argument
360 findEdge(Spannable text, Layout layout, int dir) argument
377 chooseHorizontal(Layout layout, int direction, int off1, int off2) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java57 mLayout = com.android.internal.R.layout.simple_list_item_2;
143 * Test changeCursor() with differing column layout. This confirms that the Adapter can
246 public TestSimpleCursorAdapter(Context context, int layout, Cursor c, argument
248 super(context, layout, c, from, to);
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java82 LinearLayout layout = new LinearLayout(this);
83 addBitmapDrawable(layout, R.drawable.logo120dpi, true);
84 addBitmapDrawable(layout, R.drawable.logo160dpi, true);
85 addBitmapDrawable(layout, R.drawable.logo240dpi, true);
87 addChildToRoot(root, layout);
89 layout = new LinearLayout(this);
90 addBitmapDrawable(layout, R.drawable.logo120dpi, false);
91 addBitmapDrawable(layout, R.drawable.logo160dpi, false);
92 addBitmapDrawable(layout, R.drawable.logo240dpi, false);
94 addChildToRoot(root, layout);
156 addChildToRoot(LinearLayout root, LinearLayout layout) argument
161 addBitmapDrawable(LinearLayout layout, int resource, boolean scale) argument
176 addResourceDrawable(LinearLayout layout, int resource) argument
187 addCanvasBitmap(LinearLayout layout, int resource, boolean scale) argument
198 addNinePatchResourceDrawable(LinearLayout layout, int resource) argument
[all...]

Completed in 5103 milliseconds

123