Home
last modified time | relevance | path

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

/external/setupdesign/main/src/com/google/android/setupdesign/view/
DIconUniformityAppImageView.java94 getLayoutParams().width, in bindView()
95 getLayoutParams().height); in bindView()
97 float radius = getLayoutParams().height * APPS_ICON_RADIUS_MULTIPLIER; in bindView()
111 /* right= */ getLayoutParams().width, in bindView()
112 /* bottom= */ getLayoutParams().height, in bindView()
125 /* right= */ getLayoutParams().width, in bindView()
126 /* bottom= */ getLayoutParams().height); in bindView()
DFillContentLayout.java91 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in measureIllustrationChild()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DViewTarget.java135 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in checkCurrentDimens()
160 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in getSize()
195 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in isUsingWrapContent()
201 final ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in isLayoutParamsSizeValid()
/external/setupdesign/main/src/com/google/android/setupdesign/util/
DHeaderAreaStyler.java167 final ViewGroup.LayoutParams lp = headerArea.getLayoutParams(); in applyPartnerCustomizationHeaderAreaStyle()
201 final ViewGroup.LayoutParams lp = iconContainer.getLayoutParams(); in applyPartnerCustomizationIconStyle()
218 final ViewGroup.LayoutParams lpIcon = iconImage.getLayoutParams(); in applyPartnerCustomizationIconStyle()
261 if (icon.getLayoutParams() instanceof FrameLayout.LayoutParams) { in setGravity()
262 FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) icon.getLayoutParams(); in setGravity()
DTextViewPartnerStyler.java92 final ViewGroup.LayoutParams lp = textView.getLayoutParams(); in applyPartnerCustomizationStyle()
DContentStyler.java122 ViewGroup.LayoutParams lp = infoIcon.getLayoutParams(); in applyInfoPartnerCustomizationStyle()
/external/volley/src/main/java/com/android/volley/toolbox/
DNetworkImageView.java201 if (getLayoutParams() != null) { in loadImageIfNecessary()
202 wrapWidth = getLayoutParams().width == LayoutParams.WRAP_CONTENT; in loadImageIfNecessary()
203 wrapHeight = getLayoutParams().height == LayoutParams.WRAP_CONTENT; in loadImageIfNecessary()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRelativeLayoutTest.java25 …lativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) imageView.getLayoutParams(); in getRules_shouldShowAddRuleData_sinceApiLevel17()
38 …lativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) imageView.getLayoutParams(); in getRules_shouldShowAddRuleData_uptoApiLevel16()
DShadowViewGroupTest.java252 assertSame(layoutParams1, child1.getLayoutParams()); in addViewWithLayoutParams_shouldStoreLayoutParams()
253 assertSame(layoutParams2, child2.getLayoutParams()); in addViewWithLayoutParams_shouldStoreLayoutParams()
279 assertThat(child1.getLayoutParams()).isInstanceOf(FrameLayout.LayoutParams.class); in layoutParams_shouldBeViewGroupLayoutParams()
280 assertThat(child1.getLayoutParams()).isInstanceOf(ViewGroup.LayoutParams.class); in layoutParams_shouldBeViewGroupLayoutParams()
DShadowLinearLayoutTest.java31 assertSame(params, linearLayout.getLayoutParams()); in getLayoutParams_shouldReturnTheSameLinearLayoutParamsFromTheSetter()
DShadowWebViewTest.java242 assertThat(webView.getLayoutParams()).isNull(); in shouldReturnPreviouslySetLayoutParams()
245 assertThat(webView.getLayoutParams()).isSameInstanceAs(params); in shouldReturnPreviouslySetLayoutParams()
DShadowThemeTest.java265 assertThat(button.getLayoutParams().width).isEqualTo(42); // comes via style attr in shouldApplyFromStyleAttribute()
DShadowViewTest.java78 assertThat(view.getLayoutParams()).isNull(); in testHasNullLayoutParamsUntilAddedToParent()
80 assertThat(view.getLayoutParams()).isNotNull(); in testHasNullLayoutParamsUntilAddedToParent()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java67 LayoutParams params = mLayout.getLayoutParams(); in onCreate()
253 LayoutParams params = mLayout.getLayoutParams(); in onConfigurationChanged()
258 LayoutParams params = mLayout.getLayoutParams(); in onConfigurationChanged()
/external/setupdesign/main/src/com/google/android/setupdesign/template/
DIconMixin.java62 LayoutParams layoutParams = iconView.getLayoutParams(); in IconMixin()
154 LayoutParams layoutParams = iconView.getLayoutParams(); in setUpscaleIcon()
DDescriptionMixin.java180 final ViewGroup.LayoutParams lp = titleView.getLayoutParams(); in adjustLegacyDescriptionItem()
/external/setupcompat/main/java/com/google/android/setupcompat/view/
DButtonBarLayout.java85 LayoutParams childParams = (LayoutParams) child.getLayoutParams(); in setStacked()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DItem.java195 LayoutParams layoutParams = iconContainer.getLayoutParams(); in onBindView()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java355 getLayoutParams(view, root); // Make quite sure every view has a layout param. in buildView()
449 private LayoutParams getLayoutParams(View view, ViewGroup root) { in getLayoutParams() method in ViewInflater
450 LayoutParams result = view.getLayoutParams(); in getLayoutParams()
548 LayoutParams layout = getLayoutParams(view, root); in setLayoutProperty()
/external/setupcompat/main/java/com/google/android/setupcompat/util/
DSystemBarHelper.java282 final ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) view.getLayoutParams(); in onApplyWindowInsets()
/external/setupdesign/lottie_loading_layout/src/com/google/android/setupdesign/
DGlifLoadingLayout.java347 headerView.getLayoutParams().height = (int) configHeaderHeight; in updateHeaderHeight()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java397 defaultTimeBar.setLayoutParams(timeBarPlaceholder.getLayoutParams()); in PlayerControlView()
DPlayerView.java492 controller.setLayoutParams(controllerPlaceholder.getLayoutParams()); in PlayerView()