/external/chromium_org/base/android/java/src/org/chromium/base/ |
D | ApiCompatibilityUtils.java | 76 public static void setMarginEnd(MarginLayoutParams layoutParams, int end) { in setMarginEnd() argument 78 layoutParams.setMarginEnd(end); in setMarginEnd() 80 layoutParams.rightMargin = end; in setMarginEnd() 87 public static int getMarginEnd(MarginLayoutParams layoutParams) { in getMarginEnd() argument 89 return layoutParams.getMarginEnd(); in getMarginEnd() 91 return layoutParams.rightMargin; in getMarginEnd() 98 public static void setMarginStart(MarginLayoutParams layoutParams, int start) { in setMarginStart() argument 100 layoutParams.setMarginStart(start); in setMarginStart() 102 layoutParams.leftMargin = start; in setMarginStart() 109 public static int getMarginStart(MarginLayoutParams layoutParams) { in getMarginStart() argument [all …]
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | LayoutParamsTest.java | 15 Gallery.LayoutParams layoutParams = new Gallery.LayoutParams(123, 456); in testConstructor() local 16 assertThat(layoutParams.width, equalTo(123)); in testConstructor() 17 assertThat(layoutParams.height, equalTo(456)); in testConstructor()
|
D | FrameLayoutTest.java | 30 ViewGroup.LayoutParams layoutParams = frameLayout.getLayoutParams(); in getLayoutParamsShouldReturnInstanceOfMarginLayoutParams() local 31 assertThat(layoutParams, instanceOf(ViewGroup.MarginLayoutParams.class)); in getLayoutParamsShouldReturnInstanceOfMarginLayoutParams()
|
D | LinearLayoutTest.java | 17 ViewGroup.LayoutParams layoutParams = new LinearLayout(null).getLayoutParams(); in getLayoutParams_shouldReturnLinearLayoutParams() local 19 assertThat(layoutParams, instanceOf(LinearLayout.LayoutParams.class)); in getLayoutParams_shouldReturnLinearLayoutParams()
|
D | ViewTest.java | 37 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in testHasEmptyLayoutParams() local 38 assertThat(layoutParams, notNullValue()); in testHasEmptyLayoutParams()
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
D | ColorSuggestionListAdapter.java | 111 LinearLayout.LayoutParams layoutParams = in getView() local 113 ApiCompatibilityUtils.setMarginStart(layoutParams, -1); in getView() 115 ApiCompatibilityUtils.setMarginEnd(layoutParams, -1); in getView() 117 button.setLayoutParams(layoutParams); in getView()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowViewStub.java | 83 ViewGroup.LayoutParams layoutParams = getLayoutParams(); in inflate() local 84 if (layoutParams != null) { in inflate() 85 parent.addView(view, index, layoutParams); in inflate()
|
D | ShadowView.java | 64 private ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(0, 0); field in ShadowView 226 return layoutParams; in getLayoutParams() 231 layoutParams = params; in setLayoutParams()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
D | TestWindowManager.java | 19 public void addView(View view, android.view.ViewGroup.LayoutParams layoutParams) { in addView() argument
|
/external/doclava/src/com/google/doclava/ |
D | Doclava.java | 1437 ArrayList<ClassInfo> layoutParams = new ArrayList<ClassInfo>(); in writeSdkValues() local 1509 layoutParams.add(clazz); in writeSdkValues() 1537 for (int i = 0; i < layoutParams.size();) { in writeSdkValues() 1538 ClassInfo layoutParamClass = layoutParams.get(i); in writeSdkValues() 1541 layoutParams.remove(i); in writeSdkValues() 1547 writeClasses(output + "/widgets.txt", widgets, layouts, layoutParams); in writeSdkValues() 1591 ArrayList<ClassInfo> layouts, ArrayList<ClassInfo> layoutParams) { in writeClasses() argument 1602 for (ClassInfo clazz : layoutParams) { in writeClasses()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | ContentVideoView.java | 204 FrameLayout.LayoutParams layoutParams = new FrameLayout.LayoutParams( in showContentVideoView() local 208 this.addView(mVideoSurfaceView, layoutParams); in showContentVideoView()
|