HomeSort by relevance Sort by last modified time
    Searched refs:linearLayout (Results 1 - 9 of 9) sorted by null

  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
MarqueeActivity.java 25 import android.widget.LinearLayout;
34 final LinearLayout linearLayout = new LinearLayout(this);
35 linearLayout.setOrientation(LinearLayout.VERTICAL);
42 linearLayout.addView(text1, new LinearLayout.LayoutParams(
43 100, LinearLayout.LayoutParams.WRAP_CONTENT));
50 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java 28 import android.widget.LinearLayout.LayoutParams;
30 import android.widget.LinearLayout;
42 * Test {@link LinearLayout}.
44 @TestTargetClass(LinearLayout.class)
63 notes = "Test constructor(s) of {@link LinearLayout}",
64 method = "LinearLayout",
69 notes = "Test constructor(s) of {@link LinearLayout}",
70 method = "LinearLayout",
74 @ToBeFixed(bug="1417734", explanation="LinearLayout#LinearLayout(Context, AttributeSet)"
    [all...]
DigitalClockTest.java 31 import android.widget.LinearLayout;
104 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById(
108 linearLayout.addView(digitalClock);
111 linearLayout.removeView(digitalClock);
124 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById(
127 linearLayout.addView(digitalClock)
    [all...]
RemoteViewsTest.java 47 import android.widget.LinearLayout;
376 assertTrue(mRemoteViews.onLoadClass(LinearLayout.class));
709 LinearLayout linearLayout = (LinearLayout) mResult.findViewById(R.id.remoteView_linear);
710 assertTrue(linearLayout.getWeightSum() <= 0.0f);
714 assertEquals(0.5f, linearLayout.getWeightSum());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
HorizontalScrollViewRule.java 58 INode linearLayout = node.appendChild(FQCN_LINEAR_LAYOUT);
59 linearLayout.setAttribute(ANDROID_URI, ATTR_ORIENTATION,
LinearLayoutRule.java 64 * An {@link IViewRule} for android.widget.LinearLayout and all its derived
93 * @param node The LinearLayout to look up the orientation for
117 * Returns true if this LinearLayout supports switching orientation.
133 "Change LinearLayout Orientation",
346 // Paint callback for the LinearLayout. This is called
549 // LinearLayout
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LinearLayoutRuleTest.java 52 INode targetNode = TestNode.create("android.widget.LinearLayout").id(
75 // LinearLayout,
108 INode linearLayout = TestNode.create("android.widget.LinearLayout").id(
122 return super.dragInto(new LinearLayoutRule(), linearLayout, dragBounds, dragPoint, null,
129 initialize(rule, "android.widget.LinearLayout");
149 initialize(rule, "android.widget.LinearLayout");
150 INode node = TestNode.create("android.widget.LinearLayout").id("@+id/LinearLayout")
175 initialize(rule, "android.widget.LinearLayout");
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RelativeLayoutConversionHelper.java 99 * <li> Adapt the LinearLayout analysis code to work with TableLayouts and TableRows as well
300 * constraints for layout types that we know about - such as LinearLayout baseline
403 * Returns the layout weight of of the given child of a LinearLayout, or 0.0 if it
420 * Returns the sum of all the layout weights of the children in the given LinearLayout
422 * @param linearLayout the layout to compute the total sum for
425 private float getWeightSum(Element linearLayout) {
427 for (Element child : DomUtilities.getChildren(linearLayout)) {
435 * Analyzes the given LinearLayout and updates the constraints to reflect
486 // We can't emulate a LinearLayout where multiple children have positive
    [all...]
  /frameworks/base/core/java/android/widget/
TextView.java     [all...]

Completed in 257 milliseconds