OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MarginLayoutParams
(Results
1 - 25
of
73
) sorted by null
1
2
3
/frameworks/base/tools/layoutlib/create/tests/mock_android/view/
ViewGroup.java
21
public class
MarginLayoutParams
extends LayoutParams {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/view/
ViewGroup.java
21
public class
MarginLayoutParams
extends LayoutParams {
/frameworks/base/tools/layoutlib/create/tests/mock_android/widget/
TableLayout.java
23
public class LayoutParams extends
MarginLayoutParams
{
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/widget/
TableLayout.java
23
public class LayoutParams extends
MarginLayoutParams
{
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
ViewLayoutUtils.java
21
import android.view.ViewGroup.
MarginLayoutParams
;
30
public static
MarginLayoutParams
newLayoutParam(ViewGroup placer, int width, int height) {
45
if (lp instanceof
MarginLayoutParams
) {
46
final
MarginLayoutParams
marginLayoutParams
= (
MarginLayoutParams
)lp;
47
marginLayoutParams
.width = w;
48
marginLayoutParams
.height = h;
49
marginLayoutParams
.setMargins(x, y, 0, 0);
/cts/tests/tests/view/src/android/view/cts/
ViewGroup_MarginLayoutParamsTest.java
24
import android.view.ViewGroup.
MarginLayoutParams
;
33
private ViewGroup.
MarginLayoutParams
mMarginLayoutParams;
45
// create a new
MarginLayoutParams
instance
53
mMarginLayoutParams = new ViewGroup.
MarginLayoutParams
(mContext, p);
57
// create a new
MarginLayoutParams
instance
58
mMarginLayoutParams = new ViewGroup.
MarginLayoutParams
(320, 480);
62
// create a new
MarginLayoutParams
instance
63
MarginLayoutParams
temp = new ViewGroup.
MarginLayoutParams
(320, 480);
64
mMarginLayoutParams = new ViewGroup.
MarginLayoutParams
(temp)
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMarginLayoutParams.java
10
* Shadow for {@link ViewGroup.
MarginLayoutParams
} that simulates its implementation.
13
@Implements(ViewGroup.
MarginLayoutParams
.class)
17
private ViewGroup.
MarginLayoutParams
realMarginLayoutParams;
ShadowFrameLayout.java
20
setLayoutParams(new ViewGroup.
MarginLayoutParams
(0, 0));
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
MarginLayoutParamsTest.java
21
ViewGroup.
MarginLayoutParams
marginLayoutParams
= new ViewGroup.
MarginLayoutParams
(0, 0);
22
marginLayoutParams
.setMargins(1, 2, 3, 4);
23
assertThat(
marginLayoutParams
.leftMargin, equalTo(1));
24
assertThat(
marginLayoutParams
.topMargin, equalTo(2));
25
assertThat(
marginLayoutParams
.rightMargin, equalTo(3));
26
assertThat(
marginLayoutParams
.bottomMargin, equalTo(4));
FrameLayoutTest.java
31
assertThat(layoutParams, instanceOf(ViewGroup.
MarginLayoutParams
.class));
/packages/apps/DeskClock/src/com/android/deskclock/
CircleButtonsLinearLayout.java
90
MarginLayoutParams
stopParams = (
MarginLayoutParams
) mStop.getLayoutParams();
98
MarginLayoutParams
labelParams = (
MarginLayoutParams
) mLabel.getLayoutParams();
169
MarginLayoutParams
leftParams = (
MarginLayoutParams
) mLeft.getLayoutParams();
172
MarginLayoutParams
rightParams = (
MarginLayoutParams
) mRight.getLayoutParams();
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
FrameLayoutMarginTest.java
65
((ViewGroup.
MarginLayoutParams
) mLeftView.getLayoutParams()).leftMargin);
71
((ViewGroup.
MarginLayoutParams
) mRightView.getLayoutParams()).rightMargin);
77
((ViewGroup.
MarginLayoutParams
) mTopView.getLayoutParams()).topMargin);
83
((ViewGroup.
MarginLayoutParams
) mBottomView.getLayoutParams()).bottomMargin);
/cts/tests/tests/widget/src/android/widget/cts/
FrameLayout_LayoutParamsTest.java
29
import android.view.ViewGroup.
MarginLayoutParams
;
51
new LayoutParams(new
MarginLayoutParams
(mContext, attrs));
71
new LayoutParams((ViewGroup.
MarginLayoutParams
) null);
72
fail("did not throw NullPointerException when ViewGroup.
MarginLayoutParams
is null.");
LinearLayout_LayoutParamsTest.java
28
import android.view.ViewGroup.
MarginLayoutParams
;
47
MarginLayoutParams
marginLayoutParams
= new
MarginLayoutParams
(320, 480);
48
new LinearLayout.LayoutParams(
marginLayoutParams
);
RadioGroup_LayoutParamsTest.java
32
import android.view.ViewGroup.
MarginLayoutParams
;
85
mLayoutParams = new RadioGroup.LayoutParams(new
MarginLayoutParams
(100, 200));
94
MarginLayoutParams
source = new
MarginLayoutParams
(10, 20);
110
new RadioGroup.LayoutParams((
MarginLayoutParams
) null);
112
+ "
MarginLayoutParams
is null.");
/frameworks/base/core/tests/coretests/src/android/widget/listview/
ListViewHeight.java
62
ViewGroup.
MarginLayoutParams
lp;
63
lp = (ViewGroup.
MarginLayoutParams
) mInnerList.getLayoutParams();
78
ViewGroup.
MarginLayoutParams
lp;
79
lp = (ViewGroup.
MarginLayoutParams
) mInnerList.getLayoutParams();
/packages/apps/Email/src/com/android/email/activity/
BannerController.java
54
return ((ViewGroup.
MarginLayoutParams
) mBannerView.getLayoutParams()).topMargin;
63
((ViewGroup.
MarginLayoutParams
) mBannerView.getLayoutParams()).topMargin = y;
MessageListItemCoordinates.java
204
ViewGroup.
MarginLayoutParams
params = (ViewGroup.
MarginLayoutParams
) view.getLayoutParams();
215
ViewGroup.
MarginLayoutParams
params = (ViewGroup.
MarginLayoutParams
) view.getLayoutParams();
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
AbstractLayoutTest.java
54
ViewGroup.
MarginLayoutParams
lp = (ViewGroup.
MarginLayoutParams
) v.getLayoutParams();
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
KeyguardPasswordView.java
144
if (params instanceof
MarginLayoutParams
) {
145
final
MarginLayoutParams
mlp = (
MarginLayoutParams
) params;
/frameworks/base/tools/layoutlib/create/tests/data/
mock_android.jar
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
ActionBarContextView.java
284
return new ViewGroup.
MarginLayoutParams
(
290
return new ViewGroup.
MarginLayoutParams
(getContext(), attrs);
320
ViewGroup.
MarginLayoutParams
lp = (ViewGroup.
MarginLayoutParams
) mClose
383
ViewGroup.
MarginLayoutParams
lp = (ViewGroup.
MarginLayoutParams
) mClose
/frameworks/base/core/java/com/android/internal/widget/
ActionBarContextView.java
314
return new
MarginLayoutParams
(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
319
return new
MarginLayoutParams
(getContext(), attrs);
348
MarginLayoutParams
lp = (
MarginLayoutParams
) mClose.getLayoutParams();
404
((
MarginLayoutParams
) mClose.getLayoutParams()).leftMargin);
431
-mClose.getWidth() - ((
MarginLayoutParams
) mClose.getLayoutParams()).leftMargin);
463
MarginLayoutParams
lp = (
MarginLayoutParams
) mClose.getLayoutParams();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
QuickSettingsContainerView.java
78
ViewGroup.
MarginLayoutParams
lp = (ViewGroup.
MarginLayoutParams
) v.getLayoutParams();
/packages/apps/Browser/src/com/android/browser/
BookmarkItem.java
184
final
MarginLayoutParams
lp = (
MarginLayoutParams
) child.getLayoutParams();
Completed in 2155 milliseconds
1
2
3