/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
H A D | LLOfButtons2.java | 17 package android.widget.layout.linear;
|
H A D | BaselineAlignmentCenterGravity.java | 17 package android.widget.layout.linear; 29 setContentView(R.layout.baseline_center_gravity);
|
H A D | BaselineButtons.java | 17 package android.widget.layout.linear; 29 setContentView(R.layout.baseline_buttons);
|
H A D | HorizontalOrientationVerticalAlignment.java | 17 package android.widget.layout.linear; 29 setContentView(R.layout.linear_layout_spinner_then_button);
|
H A D | LinearLayoutEditTexts.java | 17 package android.widget.layout.linear; 29 setContentView(R.layout.linear_layout_textviews);
|
H A D | Weight.java | 17 package android.widget.layout.linear; 28 setContentView(R.layout.linear_layout_weight);
|
H A D | WeightSum.java | 17 package android.widget.layout.linear; 29 setContentView(R.layout.weight_sum);
|
H A D | BaselineAlignmentZeroWidthAndWeight.java | 17 package android.widget.layout.linear; 29 setContentView(R.layout.baseline_0width_and_weight); 33 findViewById(R.id.layout).setVisibility(View.VISIBLE);
|
H A D | FillInWrap.java | 17 package android.widget.layout.linear; 29 setContentView(R.layout.fill_in_wrap);
|
/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 112 * 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/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 83 LinearLayout layout = new LinearLayout(this); 84 addBitmapDrawable(layout, R.drawable.logo120dpi, true); 85 addBitmapDrawable(layout, R.drawable.logo160dpi, true); 86 addBitmapDrawable(layout, R.drawable.logo240dpi, true); 88 addChildToRoot(root, layout); 90 layout = new LinearLayout(this); 91 addBitmapDrawable(layout, R.drawable.logo120dpi, false); 92 addBitmapDrawable(layout, R.drawable.logo160dpi, false); 93 addBitmapDrawable(layout, R.drawable.logo240dpi, false); 95 addChildToRoot(root, layout); 157 addChildToRoot(LinearLayout root, LinearLayout layout) argument 162 addBitmapDrawable(LinearLayout layout, int resource, boolean scale) argument 177 addResourceDrawable(LinearLayout layout, int resource) argument 188 addCanvasBitmap(LinearLayout layout, int resource, boolean scale) argument 199 addNinePatchResourceDrawable(LinearLayout layout, int resource) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
H A D | FrameLayoutGravity.java | 17 package android.widget.layout.frame; 29 setContentView(R.layout.framelayout_gravity);
|
H A D | FrameLayoutMargin.java | 17 package android.widget.layout.frame; 29 setContentView(R.layout.framelayout_margin);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
H A D | CellSpan.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells spanning. 31 setContentView(R.layout.table_layout_cell_span);
|
H A D | FixedWidth.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells having a fixed width and height. 31 setContentView(R.layout.table_layout_fixed_width);
|
H A D | HorizontalGravity.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells using a horizontal gravity. 31 setContentView(R.layout.table_layout_horizontal_gravity);
|
H A D | VerticalGravity.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells using a vertical gravity. 31 setContentView(R.layout.table_layout_vertical_gravity);
|
H A D | Weight.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells having a weight. 31 setContentView(R.layout.table_layout_weight);
|
/frameworks/base/core/java/android/text/method/ |
H A D | ScrollingMovementMethod.java | 34 Layout layout = widget.getLayout(); 38 int em = Math.round(layout.getPaint().getFontSpacing()); 42 int top = layout.getLineForVertical(scrolly); 43 int bottom = layout.getLineForVertical(scrolly + widget.getHeight() - 48 left = (int) Math.min(left, layout.getLineLeft(i)); 64 Layout layout = widget.getLayout(); 68 int em = Math.round(layout.getPaint().getFontSpacing()); 72 int top = layout.getLineForVertical(scrolly); 73 int bottom = layout.getLineForVertical(scrolly + widget.getHeight() - 78 right = (int) Math.max(right, layout [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | InflateTest.java | 44 // do an initial instantiation of the layout and then clear 45 // out the layout cache. 64 // Make sure this layout is in the cache. 72 inflateTest(R.layout.layout_one); 77 inflateTest(R.layout.layout_two); 82 inflateTest(R.layout.layout_three); 87 inflateTest(R.layout.layout_four); 92 inflateTest(R.layout.layout_five); 97 inflateTest(R.layout.layout_six); 102 inflateCachedTest(R.layout [all...] |
H A D | MutateDrawable.java | 30 LinearLayout layout = new LinearLayout(this); 42 layout.addView(ok); 43 layout.addView(cancel); 47 setContentView(layout);
|
H A D | MergeTest.java | 38 final ViewGroup layout = activity.getLayout(); 40 assertEquals("The layout wasn't merged", 7, layout.getChildCount());
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
H A D | ManyEditTextActivityScrollResize.java | 42 LinearLayout layout = new LinearLayout(this); 43 layout.setOrientation(LinearLayout.VERTICAL); 50 layout.addView(editText); 53 ((ScrollView) mRootView).addView(layout);
|
H A D | ButtonActivity.java | 68 LinearLayout layout = new LinearLayout(this); 69 layout.setOrientation(LinearLayout.VERTICAL); 70 layout.addView(myButton); 71 setContentView(layout); 72 mRootView = layout;
|
/frameworks/base/core/java/android/widget/ |
H A D | ResourceCursorAdapter.java | 42 * @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...] |