OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:linearLayout
(Results
1 - 12
of
12
) 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
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LinearLayoutTest.java
4
import android.widget.
LinearLayout
;
17
ViewGroup.LayoutParams layoutParams = new
LinearLayout
(null).getLayoutParams();
19
assertThat(layoutParams, instanceOf(
LinearLayout
.LayoutParams.class));
24
LinearLayout
linearLayout
= new
LinearLayout
(null);
25
LinearLayout
.LayoutParams params = new
LinearLayout
.LayoutParams(1, 2);
27
linearLayout
.setLayoutParams(params);
29
assertTrue(
linearLayout
.getLayoutParams() == params)
[
all
...]
ListViewTest.java
30
import android.widget.
LinearLayout
;
519
LinearLayout
linearLayout
= new
LinearLayout
(null);
520
linearLayout
.addView(new View(null));
521
return
linearLayout
;
/cts/tests/tests/widget/src/android/widget/cts/
LinearLayoutTest.java
28
import android.widget.
LinearLayout
.LayoutParams;
30
import android.widget.
LinearLayout
;
37
* Test {@link
LinearLayout
}.
55
new
LinearLayout
(mContext);
57
new
LinearLayout
(mContext, null);
61
new
LinearLayout
(mContext, attrs);
64
new
LinearLayout
(null, null);
71
LinearLayout
linearLayout
= new
LinearLayout
(mContext)
[
all
...]
DigitalClockTest.java
31
import android.widget.
LinearLayout
;
79
final
LinearLayout
linearLayout
= (
LinearLayout
) mActivity.findViewById(
83
linearLayout
.addView(digitalClock);
86
linearLayout
.removeView(digitalClock);
93
final
LinearLayout
linearLayout
= (
LinearLayout
) mActivity.findViewById(
96
linearLayout
.addView(digitalClock)
[
all
...]
RemoteViewsTest.java
42
import android.widget.
LinearLayout
;
294
assertTrue(mRemoteViews.onLoadClass(
LinearLayout
.class));
562
LinearLayout
linearLayout
= (
LinearLayout
) mResult.findViewById(R.id.remoteView_linear);
563
assertTrue(
linearLayout
.getWeightSum() <= 0.0f);
567
assertEquals(0.5f,
linearLayout
.getWeightSum());
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
HorizontalScrollViewRule.java
62
INode
linearLayout
= node.appendChild(FQCN_LINEAR_LAYOUT);
63
linearLayout
.setAttribute(ANDROID_URI, ATTR_ORIENTATION,
LinearLayoutRule.java
65
* An {@link IViewRule} for android.widget.
LinearLayout
and all its derived
94
* @param node The
LinearLayout
to look up the orientation for
118
* Returns true if this
LinearLayout
supports switching orientation.
136
"Change
LinearLayout
Orientation",
360
// Paint callback for the
LinearLayout
. This is called
565
//
LinearLayout
[
all
...]
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/
CustomArrayAdapter.java
35
import android.widget.
LinearLayout
;
74
LinearLayout
linearLayout
= (
LinearLayout
)(convertView.findViewById(
76
LinearLayout
.LayoutParams linearLayoutParams = new
LinearLayout
.LayoutParams
78
linearLayout
.setLayoutParams(linearLayoutParams);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
LinearLayoutRuleTest.java
51
INode targetNode = TestNode.create("android.widget.
LinearLayout
").id(
74
//
LinearLayout
,
107
INode
linearLayout
= TestNode.create("android.widget.
LinearLayout
").id(
121
return super.dragInto(new LinearLayoutRule(),
linearLayout
, dragBounds, dragPoint, null,
128
initialize(rule, "android.widget.
LinearLayout
");
148
initialize(rule, "android.widget.
LinearLayout
");
149
INode node = TestNode.create("android.widget.
LinearLayout
").id("@+id/
LinearLayout
")
174
initialize(rule, "android.widget.
LinearLayout
");
[
all
...]
/frameworks/base/core/java/android/widget/
Editor.java
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
RelativeLayoutConversionHelper.java
98
* <li> Adapt the
LinearLayout
analysis code to work with TableLayouts and TableRows as well
299
* constraints for layout types that we know about - such as
LinearLayout
baseline
337
* Returns the layout weight of of the given child of a
LinearLayout
, or 0.0 if it
354
* Returns the sum of all the layout weights of the children in the given
LinearLayout
356
* @param
linearLayout
the layout to compute the total sum for
359
private float getWeightSum(Element
linearLayout
) {
361
for (Element child : DomUtilities.getChildren(
linearLayout
)) {
369
* Analyzes the given
LinearLayout
and updates the constraints to reflect
420
// We can't emulate a
LinearLayout
where multiple children have positive
[
all
...]
Completed in 623 milliseconds