Home
last modified time | relevance | path

Searched refs:layoutParams (Results 1 – 23 of 23) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DViewTarget.java135 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/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLayoutParamsTest.java15 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()
DFrameLayoutTest.java30 ViewGroup.LayoutParams layoutParams = frameLayout.getLayoutParams(); in getLayoutParamsShouldReturnInstanceOfMarginLayoutParams() local
31 assertThat(layoutParams, instanceOf(ViewGroup.MarginLayoutParams.class)); in getLayoutParamsShouldReturnInstanceOfMarginLayoutParams()
DLinearLayoutTest.java17 ViewGroup.LayoutParams layoutParams = new LinearLayout(null).getLayoutParams(); in getLayoutParams_shouldReturnLinearLayoutParams() local
19 assertThat(layoutParams, instanceOf(LinearLayout.LayoutParams.class)); in getLayoutParams_shouldReturnLinearLayoutParams()
DViewTest.java37 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in testHasEmptyLayoutParams() local
38 assertThat(layoutParams, notNullValue()); in testHasEmptyLayoutParams()
/external/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/
DCanvasProofActivity.java107 LayoutParams layoutParams = in nextView() local
110 this.ganeshPictureView.setLayoutParams(layoutParams); in nextView()
114 this.hwuiPictureView.setLayoutParams(layoutParams); in nextView()
170 LayoutParams layoutParams = in onCreate() local
173 this.ganeshPictureView.setLayoutParams(layoutParams); in onCreate()
174 this.hwuiPictureView.setLayoutParams(layoutParams); in onCreate()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowViewStub.java83 ViewGroup.LayoutParams layoutParams = getLayoutParams(); in inflate() local
84 if (layoutParams != null) { in inflate()
85 parent.addView(view, index, layoutParams); in inflate()
DShadowView.java64 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/
DTestWindowManager.java19 public void addView(View view, android.view.ViewGroup.LayoutParams layoutParams) { in addView() argument
/external/doclava/src/com/google/doclava/
DDoclava.java1559 ArrayList<ClassInfo> layoutParams = new ArrayList<ClassInfo>(); in writeSdkValues() local
1636 layoutParams.add(clazz); in writeSdkValues()
1664 for (int i = 0; i < layoutParams.size();) { in writeSdkValues()
1665 ClassInfo clazz = layoutParams.get(i); in writeSdkValues()
1673 layoutParams.remove(i); in writeSdkValues()
1679 writeClasses(output + "/widgets.txt", widgets, layouts, layoutParams); in writeSdkValues()
1731 ArrayList<ClassInfo> layouts, ArrayList<ClassInfo> layoutParams) { in writeClasses() argument
1742 for (ClassInfo clazz : layoutParams) { in writeClasses()
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...