Home
last modified time | relevance | path

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

1234567

/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Common/UI/
H A DView.h377 if (!layoutParams) in layoutParams_()
508 InertView(LayoutParams *layoutParams) in InertView() argument
509 : View(layoutParams) {} in InertView()
520 Clickable(LayoutParams *layoutParams);
692 Item(LayoutParams *layoutParams);
698 ClickableItem(LayoutParams *layoutParams);
763 : Choice(buttonImage, layoutParams) {} in Choice() argument
825 : Item(layoutParams), text_(text) { in Item() argument
877 Spacer(LayoutParams *layoutParams = 0)
878 : InertView(layoutParams), size_(0.0f) {} in InertView() argument
[all …]
H A DUIScreen.h251 AbstractChoiceWithValueDisplay(const std::string &text, LayoutParams *layoutParams = nullptr)
252 : Choice(text, layoutParams) { in Choice() argument
268 const char *category, ScreenManager *screenManager, UI::LayoutParams *layoutParams = nullptr)
269 …: AbstractChoiceWithValueDisplay(text, layoutParams), value_(value), choices_(choices), minVal_(mi… in AbstractChoiceWithValueDisplay() argument
313 const char *category, ScreenManager *screenManager, UI::LayoutParams *layoutParams = nullptr)
314 …tiChoice(&valueInt_, text, nullptr, 0, (int)choices.size(), category, screenManager, layoutParams),
433 ChoiceWithValueDisplay(int *value, const std::string &text, LayoutParams *layoutParams = 0)
434 : AbstractChoiceWithValueDisplay(text, layoutParams), iValue_(value) {} in AbstractChoiceWithValueDisplay() argument
436 …(std::string *value, const std::string &text, const char *category, LayoutParams *layoutParams = 0)
437 : AbstractChoiceWithValueDisplay(text, layoutParams), sValue_(value), category_(category) {} in AbstractChoiceWithValueDisplay() argument
[all …]
/dports/emulators/ppsspp/ppsspp-1.12.3/Common/UI/
H A DView.h377 if (!layoutParams) in layoutParams_()
508 InertView(LayoutParams *layoutParams) in InertView() argument
509 : View(layoutParams) {} in InertView()
520 Clickable(LayoutParams *layoutParams);
692 Item(LayoutParams *layoutParams);
698 ClickableItem(LayoutParams *layoutParams);
763 : Choice(buttonImage, layoutParams) {} in Choice() argument
825 : Item(layoutParams), text_(text) { in Item() argument
877 Spacer(LayoutParams *layoutParams = 0)
878 : InertView(layoutParams), size_(0.0f) {} in InertView() argument
[all …]
H A DUIScreen.h251 AbstractChoiceWithValueDisplay(const std::string &text, LayoutParams *layoutParams = nullptr)
252 : Choice(text, layoutParams) { in Choice() argument
268 const char *category, ScreenManager *screenManager, UI::LayoutParams *layoutParams = nullptr)
269 …: AbstractChoiceWithValueDisplay(text, layoutParams), value_(value), choices_(choices), minVal_(mi… in AbstractChoiceWithValueDisplay() argument
313 const char *category, ScreenManager *screenManager, UI::LayoutParams *layoutParams = nullptr)
314 …tiChoice(&valueInt_, text, nullptr, 0, (int)choices.size(), category, screenManager, layoutParams),
433 ChoiceWithValueDisplay(int *value, const std::string &text, LayoutParams *layoutParams = 0)
434 : AbstractChoiceWithValueDisplay(text, layoutParams), iValue_(value) {} in AbstractChoiceWithValueDisplay() argument
436 …(std::string *value, const std::string &text, const char *category, LayoutParams *layoutParams = 0)
437 : AbstractChoiceWithValueDisplay(text, layoutParams), sValue_(value), category_(category) {} in AbstractChoiceWithValueDisplay() argument
[all …]
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Common/UI/
H A DView.h377 if (!layoutParams) in layoutParams_()
508 InertView(LayoutParams *layoutParams) in InertView() argument
509 : View(layoutParams) {} in InertView()
520 Clickable(LayoutParams *layoutParams);
692 Item(LayoutParams *layoutParams);
698 ClickableItem(LayoutParams *layoutParams);
763 : Choice(buttonImage, layoutParams) {} in Choice() argument
825 : Item(layoutParams), text_(text) { in Item() argument
877 Spacer(LayoutParams *layoutParams = 0)
878 : InertView(layoutParams), size_(0.0f) {} in InertView() argument
[all …]
H A DUIScreen.h251 AbstractChoiceWithValueDisplay(const std::string &text, LayoutParams *layoutParams = nullptr)
252 : Choice(text, layoutParams) { in Choice() argument
268 const char *category, ScreenManager *screenManager, UI::LayoutParams *layoutParams = nullptr)
269 …: AbstractChoiceWithValueDisplay(text, layoutParams), value_(value), choices_(choices), minVal_(mi… in AbstractChoiceWithValueDisplay() argument
313 const char *category, ScreenManager *screenManager, UI::LayoutParams *layoutParams = nullptr)
314 …tiChoice(&valueInt_, text, nullptr, 0, (int)choices.size(), category, screenManager, layoutParams),
433 ChoiceWithValueDisplay(int *value, const std::string &text, LayoutParams *layoutParams = 0)
434 : AbstractChoiceWithValueDisplay(text, layoutParams), iValue_(value) {} in AbstractChoiceWithValueDisplay() argument
436 …(std::string *value, const std::string &text, const char *category, LayoutParams *layoutParams = 0)
437 : AbstractChoiceWithValueDisplay(text, layoutParams), sValue_(value), category_(category) {} in AbstractChoiceWithValueDisplay() argument
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/feed/core/java/src/org/chromium/chrome/browser/feed/library/basicstream/internal/viewholders/
H A DNoContentViewHolder.java33 ViewGroup.LayoutParams layoutParams = itemView.getLayoutParams(); in bind() local
34 if (layoutParams == null) { in bind()
35 layoutParams = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in bind()
36 itemView.setLayoutParams(layoutParams); in bind()
37 } else if (!(layoutParams instanceof MarginLayoutParams)) { in bind()
38 layoutParams = new LayoutParams(layoutParams); in bind()
39 itemView.setLayoutParams(layoutParams); in bind()
41 LayoutUtils.setMarginsRelative((MarginLayoutParams) layoutParams, in bind()
H A DZeroStateViewHolder.java68 ViewGroup.LayoutParams layoutParams = cardView.getLayoutParams(); in setCardLayout() local
69 if (layoutParams == null) { in setCardLayout()
70 layoutParams = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in setCardLayout()
71 } else if (!(layoutParams instanceof MarginLayoutParams)) { in setCardLayout()
72 layoutParams = new LayoutParams(layoutParams); in setCardLayout()
74 cardView.setLayoutParams(layoutParams); in setCardLayout()
76 LayoutUtils.setMarginsRelative((MarginLayoutParams) layoutParams, in setCardLayout()
H A DContinuationViewHolder.java49 ViewGroup.LayoutParams layoutParams = itemView.getLayoutParams(); in bind() local
50 if (layoutParams == null) { in bind()
51 layoutParams = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in bind()
52 itemView.setLayoutParams(layoutParams); in bind()
53 } else if (!(layoutParams instanceof MarginLayoutParams)) { in bind()
54 layoutParams = new LayoutParams(layoutParams); in bind()
55 itemView.setLayoutParams(layoutParams); in bind()
57 LayoutUtils.setMarginsRelative((MarginLayoutParams) layoutParams, in bind()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/features/start_surface/internal/javatests/src/org/chromium/chrome/features/start_surface/
H A DTasksSurfaceViewBinderTest.java79 MarginLayoutParams layoutParams = (MarginLayoutParams) mTasksSurfaceView.getLayoutParams(); in testSetShowAndHideOverview() local
80 assertEquals(10, layoutParams.bottomMargin); in testSetShowAndHideOverview()
103 MarginLayoutParams layoutParams = (MarginLayoutParams) mTasksSurfaceView.getLayoutParams(); in testSetShowAndHideStackTabSwitcher() local
104 assertEquals(10, layoutParams.bottomMargin); in testSetShowAndHideStackTabSwitcher()
128 assertEquals(10, layoutParams.bottomMargin); in testSetBottomBarHeight()
131 layoutParams = (MarginLayoutParams) mTasksSurfaceView.getLayoutParams(); in testSetBottomBarHeight()
132 assertEquals(20, layoutParams.bottomMargin); in testSetBottomBarHeight()
141 ViewGroup.LayoutParams layoutParams = mTopToolbarPlaceholderView.getLayoutParams(); in testSetTopBarHeight() local
142 assertEquals(10, layoutParams.height); in testSetTopBarHeight()
145 layoutParams = mTopToolbarPlaceholderView.getLayoutParams(); in testSetTopBarHeight()
[all …]
H A DExploreSurfaceViewBinderTest.java129 FrameLayout.LayoutParams layoutParams = in testSetVisibilityWithBottomBarVisible() local
131 assertEquals(layoutParams.bottomMargin, 10); in testSetVisibilityWithBottomBarVisible()
132 assertEquals(layoutParams.topMargin, 20); in testSetVisibilityWithBottomBarVisible()
209 ViewGroup.MarginLayoutParams layoutParams = in testSetTopMarginWithBottomBarVisible() local
211 assertEquals("Top margin isn't initialized correctly.", 20, layoutParams.topMargin); in testSetTopMarginWithBottomBarVisible()
214 layoutParams = (ViewGroup.MarginLayoutParams) mFeedSurfaceView.getLayoutParams(); in testSetTopMarginWithBottomBarVisible()
215 assertEquals("Wrong top margin.", 40, layoutParams.topMargin); in testSetTopMarginWithBottomBarVisible()
233 ViewGroup.MarginLayoutParams layoutParams = in testSetTopMarginWithBottomBarNotVisible() local
235 assertEquals("Wrong top margin.", 0, layoutParams.topMargin); in testSetTopMarginWithBottomBarNotVisible()
240 layoutParams = (ViewGroup.MarginLayoutParams) mFeedSurfaceView.getLayoutParams(); in testSetTopMarginWithBottomBarNotVisible()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/
H A DPaymentRequestBottomBar.java62 MarginLayoutParams layoutParams = (MarginLayoutParams) getLayoutParams(); in onMeasure() local
64 + getPaddingRight() + layoutParams.leftMargin + layoutParams.rightMargin; in onMeasure()
95 + layoutParams.topMargin + layoutParams.bottomMargin; in onMeasure()
103 MarginLayoutParams layoutParams = (MarginLayoutParams) getLayoutParams(); in onLayout() local
104 int leftSpace = getPaddingLeft() + layoutParams.leftMargin; in onLayout()
105 int rightSpace = getPaddingRight() + layoutParams.rightMargin; in onLayout()
106 int topSpace = getPaddingTop() + layoutParams.topMargin; in onLayout()
107 int bottomSpace = getPaddingBottom() + layoutParams.bottomMargin; in onLayout()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/android/java/src/org/chromium/content/browser/androidoverlay/
H A DDialogOverlayCore.java230 WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(); in createLayoutParams() local
234 layoutParams.gravity = Gravity.TOP | Gravity.LEFT; in createLayoutParams()
239 layoutParams.type = mAsPanel ? WindowManager.LayoutParams.TYPE_APPLICATION_PANEL in createLayoutParams()
242 layoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL in createLayoutParams()
248 layoutParams.flags |= WindowManager.LayoutParams.FLAG_SECURE; in createLayoutParams()
263 (Integer) layoutParams.getClass().getField("privateFlags").get(layoutParams); in createLayoutParams()
264 layoutParams.getClass() in createLayoutParams()
266 .set(layoutParams, currentFlags | 0x00000040); in createLayoutParams()
277 return layoutParams; in createLayoutParams()
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/tests/expected/java/
H A D80204-cast.java4 …RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) imageView.getLayoutParams… in isButtonHit() local
5 Rect buttonRect = new Rect((int) (layoutParams.leftMargin - buttonExtraMargin), in isButtonHit()
6 (int) (layoutParams.topMargin - buttonExtraMargin), in isButtonHit()
7 (int) (layoutParams.leftMargin + imageView.getWidth() + buttonExtraMargin), in isButtonHit()
8 (int) (layoutParams.topMargin + imageView.getHeight() + buttonExtraMargin)); in isButtonHit()
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/tests/input/java/
H A Dcast.java4 …RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams)imageView.getLayoutParams(… in isButtonHit() local
5 Rect buttonRect = new Rect((int) (layoutParams.leftMargin - buttonExtraMargin), in isButtonHit()
6 (int) (layoutParams.topMargin - buttonExtraMargin), in isButtonHit()
7 (int) (layoutParams.leftMargin + imageView.getWidth() + buttonExtraMargin), in isButtonHit()
8 (int) (layoutParams.topMargin + imageView.getHeight() + buttonExtraMargin)); in isButtonHit()
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/base/java/org/mozilla/gecko/toolbar/
H A DBrowserToolbarTablet.java94 MarginLayoutParams layoutParams =
96 layoutParams.leftMargin = 0;
99 layoutParams = (MarginLayoutParams) urlEditLayout.getLayoutParams();
100 layoutParams.leftMargin = 0;
114 MarginLayoutParams layoutParams =
116 layoutParams.leftMargin = forwardButtonTranslationWidth;
118 layoutParams = (MarginLayoutParams) urlEditLayout.getLayoutParams();
119 layoutParams.leftMargin = forwardButtonTranslationWidth;
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/thirdparty/com/leanplum/messagetemplates/
H A DBaseMessageDialog.java121 dialogView.setLayoutParams(layoutParams); in BaseMessageDialog()
255 RelativeLayout.LayoutParams layoutParams; in createContainerView() local
257 layoutParams = new RelativeLayout.LayoutParams( in createContainerView()
293 view.setLayoutParams(layoutParams); in createContainerView()
360 view.setLayoutParams(layoutParams); in createBackgroundImageView()
380 title.setLayoutParams(layoutParams); in createTitleView()
390 view.setLayoutParams(layoutParams); in createMessageView()
402 view.setLayoutParams(layoutParams); in createWebView()
483 webView.setLayoutParams(layoutParams); in createHtml()
597 layoutParams.setMargins(0, 0, 0, SizeUtil.dp5); in createAcceptButton()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/features/start_surface/internal/java/src/org/chromium/chrome/features/start_surface/
H A DExploreSurfaceViewBinder.java61 FrameLayout.LayoutParams layoutParams = in setVisibility() local
63 layoutParams.bottomMargin = model.get(BOTTOM_BAR_HEIGHT); in setVisibility()
64 layoutParams.topMargin = model.get(TOP_MARGIN); in setVisibility()
77 FrameLayout.LayoutParams layoutParams = in setTopMargin() local
79 if (layoutParams == null) return; in setTopMargin()
81 layoutParams.topMargin = model.get(TOP_MARGIN); in setTopMargin()
82 feedSurfaceView.setLayoutParams(layoutParams); in setTopMargin()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/UI/
H A DGamepadEmu.h30 GamepadView(const char *key, UI::LayoutParams *layoutParams);
49 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in MultiTouchButton() argument
50 : GamepadView(key, layoutParams), scale_(scale), bgImg_(bgImg), bgDownImg_(bgDownImg), img_(img) { in MultiTouchButton()
77 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in BoolButton() argument
78 : MultiTouchButton(key, bgImg, bgDownImg, img, scale, layoutParams), value_(value) { in BoolButton()
92 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in PSPButton() argument
93 : MultiTouchButton(key, bgImg, bgDownImg, img, scale, layoutParams), pspButtonBit_(pspButtonBit) { in PSPButton()
104 … arrowDownIndex, ImageID overlayIndex, float scale, float spacing, UI::LayoutParams *layoutParams);
125 …y, ImageID stickImg, ImageID stickDownImg, int stick, float scale, UI::LayoutParams *layoutParams);
150 …st char *key, ImageID stickImg, ImageID stickDownImg, float scale, UI::LayoutParams *layoutParams);
[all …]
/dports/emulators/ppsspp/ppsspp-1.12.3/UI/
H A DGamepadEmu.h30 GamepadView(const char *key, UI::LayoutParams *layoutParams);
49 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in MultiTouchButton() argument
50 : GamepadView(key, layoutParams), scale_(scale), bgImg_(bgImg), bgDownImg_(bgDownImg), img_(img) { in MultiTouchButton()
77 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in BoolButton() argument
78 : MultiTouchButton(key, bgImg, bgDownImg, img, scale, layoutParams), value_(value) { in BoolButton()
92 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in PSPButton() argument
93 : MultiTouchButton(key, bgImg, bgDownImg, img, scale, layoutParams), pspButtonBit_(pspButtonBit) { in PSPButton()
104 … arrowDownIndex, ImageID overlayIndex, float scale, float spacing, UI::LayoutParams *layoutParams);
125 …y, ImageID stickImg, ImageID stickDownImg, int stick, float scale, UI::LayoutParams *layoutParams);
150 …st char *key, ImageID stickImg, ImageID stickDownImg, float scale, UI::LayoutParams *layoutParams);
[all …]
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/UI/
H A DGamepadEmu.h30 GamepadView(const char *key, UI::LayoutParams *layoutParams);
49 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in MultiTouchButton() argument
50 : GamepadView(key, layoutParams), scale_(scale), bgImg_(bgImg), bgDownImg_(bgDownImg), img_(img) { in MultiTouchButton()
77 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in BoolButton() argument
78 : MultiTouchButton(key, bgImg, bgDownImg, img, scale, layoutParams), value_(value) { in BoolButton()
92 …r *key, ImageID bgImg, ImageID bgDownImg, ImageID img, float scale, UI::LayoutParams *layoutParams) in PSPButton() argument
93 : MultiTouchButton(key, bgImg, bgDownImg, img, scale, layoutParams), pspButtonBit_(pspButtonBit) { in PSPButton()
104 … arrowDownIndex, ImageID overlayIndex, float scale, float spacing, UI::LayoutParams *layoutParams);
125 …y, ImageID stickImg, ImageID stickDownImg, int stick, float scale, UI::LayoutParams *layoutParams);
150 …st char *key, ImageID stickImg, ImageID stickDownImg, float scale, UI::LayoutParams *layoutParams);
[all …]
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/mobile/Android/app/src/main/java/org/geuz/onelab/
H A DModelFragment.java139 RelativeLayout.LayoutParams layoutParams = in onCreateView() local
150 layoutParams.setMargins(0, actionBarHeight + 20, 20, 0); in onCreateView()
151 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_TOP); in onCreateView()
152 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_RIGHT); in onCreateView()
153 glViewLayout.addView(topRightLayout, layoutParams); in onCreateView()
167 layoutParams = in onCreateView()
170 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in onCreateView()
171 glViewLayout.addView(_progressLayout, layoutParams); in onCreateView()
243 layoutParams = in onCreateView()
246 layoutParams.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM); in onCreateView()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/java/src/org/chromium/chrome/browser/autofill/settings/
H A DAndroidPaymentAppPreference.java30 ViewGroup.LayoutParams layoutParams = iconView.getLayoutParams(); in onBindViewHolder() local
31 layoutParams.width = iconSize; in onBindViewHolder()
32 layoutParams.height = iconSize; in onBindViewHolder()
33 iconView.setLayoutParams(layoutParams); in onBindViewHolder()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/android/javatests/src/org/chromium/chrome/browser/tab/
H A DTabViewManagerTest.java65 FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) view.getLayoutParams(); in testControllerMargins() local
72 expectedTopMargin, layoutParams.topMargin); in testControllerMargins()
74 expectedBottomMargin, layoutParams.bottomMargin); in testControllerMargins()
76 layoutParams.leftMargin); in testControllerMargins()
78 layoutParams.rightMargin); in testControllerMargins()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/android/junit/src/org/chromium/content/browser/androidoverlay/
H A DDialogOverlayCoreTest.java85 public void setAttributes(WindowManager.LayoutParams layoutParams) { in setAttributes() argument
86 mLayoutParams = layoutParams; in setAttributes()
147 WindowManager.LayoutParams layoutParams() { in layoutParams() method in DialogOverlayCoreTest
331 assertEquals(WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA, layoutParams().type); in testOverlayTypeAndGeometry()
332 assertEquals(mConfig.rect.x, layoutParams().x); in testOverlayTypeAndGeometry()
333 assertEquals(mConfig.rect.y, layoutParams().y); in testOverlayTypeAndGeometry()
334 assertEquals(mConfig.rect.width, layoutParams().width); in testOverlayTypeAndGeometry()
335 assertEquals(mConfig.rect.height, layoutParams().height); in testOverlayTypeAndGeometry()
345 assertEquals(layoutParams().type, WindowManager.LayoutParams.TYPE_APPLICATION_PANEL); in testOverlayAsPanel()

1234567