Home
last modified time | relevance | path

Searched refs:frameLayout (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/orientation/
DLandscapePagedViewHandlerTest.kt129 val frameLayout = FrameLayout.LayoutParams(100, 100) in testIcon_updateSplitIconsPosition() constant
130 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition()
133 assertThat(frameLayout.gravity).isEqualTo(expectedGravity) in testIcon_updateSplitIconsPosition()
134 assertThat(frameLayout.topMargin).isEqualTo(expectedTranslationY) in testIcon_updateSplitIconsPosition()
147 val frameLayout = FrameLayout.LayoutParams(100, 100) in testIcon_updateSplitIconsPosition_isRTL() constant
148 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition_isRTL()
151 assertThat(frameLayout.gravity).isEqualTo(expectedGravity) in testIcon_updateSplitIconsPosition_isRTL()
152 assertThat(frameLayout.topMargin).isEqualTo(expectedTranslationY) in testIcon_updateSplitIconsPosition_isRTL()
162 val frameLayout = FrameLayout.LayoutParams(100, 100) in testChip_updateSplitIconsPosition() constant
164 `when`(iconView.layoutParams).thenReturn(frameLayout) in testChip_updateSplitIconsPosition()
[all …]
DSeascapePagedViewHandlerTest.kt131 val frameLayout = FrameLayout.LayoutParams(100, 100) in testIcon_updateSplitIconsPosition() constant
132 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition()
135 assertThat(frameLayout.gravity).isEqualTo(expectedGravity) in testIcon_updateSplitIconsPosition()
136 assertThat(frameLayout.bottomMargin).isEqualTo(expectedTranslationY) in testIcon_updateSplitIconsPosition()
149 val frameLayout = FrameLayout.LayoutParams(100, 100) in testIcon_updateSplitIconsPosition_isRTL() constant
150 `when`(iconView.layoutParams).thenReturn(frameLayout) in testIcon_updateSplitIconsPosition_isRTL()
153 assertThat(frameLayout.gravity).isEqualTo(expectedGravity) in testIcon_updateSplitIconsPosition_isRTL()
154 assertThat(frameLayout.bottomMargin).isEqualTo(expectedTranslationY) in testIcon_updateSplitIconsPosition_isRTL()
164 val frameLayout = FrameLayout.LayoutParams(100, 100) in testChip_updateSplitIconsPosition() constant
166 `when`(iconView.layoutParams).thenReturn(frameLayout) in testChip_updateSplitIconsPosition()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DToggleButtonActionItem.java62 public void bindViewHolder(FrameLayout frameLayout) { in bindViewHolder() argument
64 final DrawableStateToggleButton toggleButton = getOptionalToggleButton(frameLayout); in bindViewHolder()
79 private DrawableStateToggleButton getOptionalToggleButton(FrameLayout frameLayout) { in getOptionalToggleButton() argument
81 frameLayout.findViewById(R.id.multi_action_preference_toggle_button); in getOptionalToggleButton()
84 toggleButton = createView(frameLayout.getContext(), frameLayout); in getOptionalToggleButton()
89 frameLayout.addView(toggleButton); in getOptionalToggleButton()
DBaseActionItem.java114 abstract void bindViewHolder(FrameLayout frameLayout); in bindViewHolder() argument
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/layout/tests/
DScaledLayoutActivity.java33 FrameLayout frameLayout = findViewById(R.id.root_layout); in onCreate() local
34 frameLayout.addView(createScaledLayoutTestcaseLayout()); in onCreate()
35 frameLayout.addView(createScaledLayoutTestcaseBounceY()); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DImageOnlyEditor.java45 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
46 super.createEditor(context, frameLayout); in createEditor()
DEditorRedEye.java44 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
45 super.createEditor(context, frameLayout); in createEditor()
DEditorTinyPlanet.java37 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
38 super.createEditor(context, frameLayout); in createEditor()
DEditorCurves.java48 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
49 super.createEditor(context, frameLayout); in createEditor()
DEditorMirror.java44 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
45 super.createEditor(context, frameLayout); in createEditor()
DEditorStraighten.java48 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
49 super.createEditor(context, frameLayout); in createEditor()
DEditorRotate.java44 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
45 super.createEditor(context, frameLayout); in createEditor()
DEditorCrop.java75 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
76 super.createEditor(context, frameLayout); in createEditor()
DEditorColorBorder.java79 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
81 super.createEditor(context, frameLayout); in createEditor()
DParametricEditor.java129 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
130 super.createEditor(context, frameLayout); in createEditor()
DEditor.java143 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
145 mFrameLayout = frameLayout; in createEditor()
DEditorDraw.java111 public void createEditor(Context context, FrameLayout frameLayout) { in createEditor() argument
113 super.createEditor(context, frameLayout); in createEditor()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DEnterprisePrivacySettingsTest.java208 FrameLayout frameLayout = new FrameLayout(this); in onCreate() local
209 frameLayout.setId(CONTAINER_VIEW_ID); in onCreate()
214 setContentView(frameLayout); in onCreate()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationViewTest.java97 FrameLayout frameLayout = new FrameLayout(mContext); in setup() local
99 .inflate(R.layout.test_car_notification_view_layout, frameLayout); in setup()
100 mCarNotificationView = frameLayout.findViewById(R.id.notification_view); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
DSettingsHomepageActivityTest.java122 final FrameLayout frameLayout = activity.findViewById(R.id.main_content); in launch_shouldHaveAnimationForIaFragment() local
124 assertThat(frameLayout.getLayoutTransition()).isNotNull(); in launch_shouldHaveAnimationForIaFragment()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DDeviceAsWebcamPreview.java278 FrameLayout.LayoutParams frameLayout = new FrameLayout.LayoutParams(mPreviewSize.getWidth(), in setTextureViewScale() local
280 mTextureView.setLayoutParams(frameLayout); in setTextureViewScale()