/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | ViewTarget.java | 135 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in checkCurrentDimens() local 139 notifyCbs(layoutParams.width, layoutParams.height); in checkCurrentDimens() 160 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in getSize() local 164 cb.onSizeReady(layoutParams.width, layoutParams.height); in getSize() 195 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in isUsingWrapContent() local 196 … return layoutParams != null && (layoutParams.width == ViewGroup.LayoutParams.WRAP_CONTENT in isUsingWrapContent() 197 || layoutParams.height == ViewGroup.LayoutParams.WRAP_CONTENT); in isUsingWrapContent() 201 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in isLayoutParamsSizeValid() local 202 return layoutParams != null && layoutParams.width > 0 && layoutParams.height > 0; in isLayoutParamsSizeValid()
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
D | ApiCompatibilityUtils.java | 134 public static void setMarginEnd(MarginLayoutParams layoutParams, int end) { in setMarginEnd() argument 136 layoutParams.setMarginEnd(end); in setMarginEnd() 138 layoutParams.rightMargin = end; in setMarginEnd() 145 public static int getMarginEnd(MarginLayoutParams layoutParams) { in getMarginEnd() argument 147 return layoutParams.getMarginEnd(); in getMarginEnd() 149 return layoutParams.rightMargin; in getMarginEnd() 156 public static void setMarginStart(MarginLayoutParams layoutParams, int start) { in setMarginStart() argument 158 layoutParams.setMarginStart(start); in setMarginStart() 160 layoutParams.leftMargin = start; in setMarginStart() 167 public static int getMarginStart(MarginLayoutParams layoutParams) { in getMarginStart() argument [all …]
|
/external/robolectric/v1/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/robolectric/v1/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 228 return layoutParams; in getLayoutParams() 233 layoutParams = params; in setLayoutParams()
|
/external/robolectric/v1/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/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | ScreenResponseFragment.java | 564 final WindowManager.LayoutParams layoutParams = getActivity().getWindow().getAttributes(); in increaseScreenBrightness() local 565 layoutParams.screenBrightness = 1f; in increaseScreenBrightness() 566 getActivity().getWindow().setAttributes(layoutParams); in increaseScreenBrightness()
|
/external/doclava/src/com/google/doclava/ |
D | Doclava.java | 1751 ArrayList<ClassInfo> layoutParams = new ArrayList<ClassInfo>(); in writeSdkValues() local 1828 layoutParams.add(clazz); in writeSdkValues() 1856 for (int i = 0; i < layoutParams.size();) { in writeSdkValues() 1857 ClassInfo clazz = layoutParams.get(i); in writeSdkValues() 1865 layoutParams.remove(i); in writeSdkValues() 1871 writeClasses(output + "/widgets.txt", widgets, layouts, layoutParams); in writeSdkValues() 1923 ArrayList<ClassInfo> layouts, ArrayList<ClassInfo> layoutParams) { in writeClasses() argument 1934 for (ClassInfo clazz : layoutParams) { in writeClasses()
|