/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
NoIdTest.java | 19 import android.widget.LinearLayout; 34 mBinder.setOrientation(LinearLayout.VERTICAL); 42 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot(); 43 assertEquals(LinearLayout.VERTICAL, linearLayout.getOrientation()); 44 mBinder.setOrientation(LinearLayout.HORIZONTAL); 46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation()) [all...] |
/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/v1/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;
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
TestResultActivity.java | 25 import android.widget.LinearLayout; 48 final LinearLayout linearLayout = new LinearLayout(this); 49 linearLayout.setOrientation(LinearLayout.VERTICAL); 50 setContentView(linearLayout); 54 linearLayout.addView(
|
/cts/tests/tests/widget/src/android/widget/cts/ |
DigitalClockTest.java | 31 import android.widget.LinearLayout; 80 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( 84 linearLayout.addView(digitalClock); 87 linearLayout.removeView(digitalClock); 94 final LinearLayout linearLayout = (LinearLayout) mActivity.findViewById( 97 linearLayout.addView(digitalClock) [all...] |
LinearLayoutTest.java | 33 import android.widget.LinearLayout; 34 import android.widget.LinearLayout.LayoutParams; 43 * Test {@link LinearLayout}. 61 new LinearLayout(mContext); 63 new LinearLayout(mContext, null); 67 new LinearLayout(mContext, attrs); 70 new LinearLayout(null, null); 77 LinearLayout linearLayout = new LinearLayout(mContext) [all...] |
RemoteViewsTest.java | 44 import android.widget.LinearLayout; 327 assertTrue(mRemoteViews.onLoadClass(LinearLayout.class)); 596 LinearLayout linearLayout = (LinearLayout) mResult.findViewById(R.id.remoteView_linear); 597 assertTrue(linearLayout.getWeightSum() <= 0.0f); 601 assertEquals(0.5f, linearLayout.getWeightSum());
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/ |
R$id.class | |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
ScreenPinningRequest.java | 41 import android.widget.LinearLayout; 248 LinearLayout linearLayout = (LinearLayout) group; 249 if (linearLayout.getOrientation() == LinearLayout.VERTICAL) { 250 int childCount = linearLayout.getChildCount(); 253 childList.add(linearLayout.getChildAt(i)); 255 linearLayout.removeAllViews(); 257 linearLayout.addView(childList.get(i)) [all...] |
/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);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
FocusSearchNavigationTest.java | 36 import android.widget.LinearLayout; 94 LinearLayout linearLayout = (LinearLayout) mActivity.findViewById(R.id.root); 95 linearLayout.setOrientation(mOrientation); 103 mRecyclerView.setLayoutParams(new LinearLayout.LayoutParams( 106 mRecyclerView.setLayoutParams(new LinearLayout.LayoutParams(
|
/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...] |
/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...] |
/frameworks/base/core/java/android/widget/ |
Editor.java | [all...] |