Home
last modified time | relevance | path

Searched refs:mLayoutParams (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/
DTooltipPopup.java38 private final WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams(); field in TooltipPopup
51 mLayoutParams.setTitle( in TooltipPopup()
53 mLayoutParams.packageName = mContext.getOpPackageName(); in TooltipPopup()
54 mLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_ABOVE_SUB_PANEL; in TooltipPopup()
55 mLayoutParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in TooltipPopup()
56 mLayoutParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in TooltipPopup()
57 mLayoutParams.format = PixelFormat.TRANSLUCENT; in TooltipPopup()
58 mLayoutParams.windowAnimations = com.android.internal.R.style.Animation_Tooltip; in TooltipPopup()
59 mLayoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in TooltipPopup()
71 computePosition(anchorView, anchorX, anchorY, fromTouch, mLayoutParams); in show()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationLayoutEngine.java117 private final ComplicationLayoutParams mLayoutParams; field in ComplicationLayoutEngine.ViewEntry
135 mLayoutParams = layoutParams; in ViewEntry()
157 return mLayoutParams; in getLayoutParams()
173 new Constraints.LayoutParams(mLayoutParams.width, mLayoutParams.height); in applyLayoutParams()
194 mLayoutParams.iteratePositions(position -> { in applyLayoutParams()
250 if (mLayoutParams.constraintSpecified()) { in applyLayoutParams()
254 params.matchConstraintMaxWidth = mLayoutParams.getConstraint(); in applyLayoutParams()
258 params.matchConstraintMaxHeight = mLayoutParams.getConstraint(); in applyLayoutParams()
296 if (viewEntry.mLayoutParams.getWeight() != mLayoutParams.getWeight()) { in compareTo()
297 return mLayoutParams.getWeight() > viewEntry.mLayoutParams.getWeight() ? 1 : -1; in compareTo()
[all …]
DDreamClockTimeComplication.java96 private final ComplicationLayoutParams mLayoutParams; field in DreamClockTimeComplication.DreamClockTimeViewHolder
105 mLayoutParams = layoutParams; in DreamClockTimeViewHolder()
116 return mLayoutParams; in getLayoutParams()
DSmartSpaceComplication.java126 private final ComplicationLayoutParams mLayoutParams; field in SmartSpaceComplication.SmartSpaceComplicationViewHolder
135 mLayoutParams = layoutParams; in SmartSpaceComplicationViewHolder()
155 return mLayoutParams; in getLayoutParams()
DDreamMediaEntryComplication.java68 private final ComplicationLayoutParams mLayoutParams; field in DreamMediaEntryComplication.DreamMediaEntryViewHolder
78 mLayoutParams = layoutParams; in DreamMediaEntryViewHolder()
90 return mLayoutParams; in getLayoutParams()
DOpenHubComplication.java126 private final ComplicationLayoutParams mLayoutParams; field in OpenHubComplication.OpenHubChipViewHolder
136 mLayoutParams = layoutParams; in OpenHubChipViewHolder()
148 return mLayoutParams; in getLayoutParams()
DDreamHomeControlsComplication.java172 private final ComplicationLayoutParams mLayoutParams; field in DreamHomeControlsComplication.DreamHomeControlsChipViewHolder
182 mLayoutParams = layoutParams; in DreamHomeControlsChipViewHolder()
194 return mLayoutParams; in getLayoutParams()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java86 final WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams(); field in WindowAddRemovePerfTest.TestWindow
94 mLayoutParams.setTitle(TestWindow.class.getName()); in TestWindow()
95 mLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; in TestWindow()
97 mLayoutParams.flags = FLAG_LAYOUT_IN_SCREEN | FLAG_LAYOUT_INSET_DECOR; in TestWindow()
108 session.addToDisplay(this, mLayoutParams, View.VISIBLE, in runBenchmark()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DDefaultUiController.java72 private final WindowManager.LayoutParams mLayoutParams; field in DefaultUiController
92 mLayoutParams = new WindowManager.LayoutParams( in DefaultUiController()
101 mLayoutParams.privateFlags = WindowManager.LayoutParams.PRIVATE_FLAG_NO_MOVE_ANIMATION; in DefaultUiController()
102 mLayoutParams.gravity = Gravity.BOTTOM; in DefaultUiController()
103 mLayoutParams.setFitInsetsTypes(0 /* types */); in DefaultUiController()
104 mLayoutParams.setTitle("Assist"); in DefaultUiController()
185 mWindowManager.addView(mRoot, mLayoutParams); in attach()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaViewHolder.java37 private final ComplicationLayoutParams mLayoutParams; field in MediaViewHolder
46 mLayoutParams = layoutParams; in MediaViewHolder()
56 return mLayoutParams; in getLayoutParams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/
DDreamClockTimeComplicationTest.java74 private ComplicationLayoutParams mLayoutParams; field in DreamClockTimeComplicationTest
137 new DreamClockTimeComplication.DreamClockTimeViewHolder(mView, mLayoutParams, in testComplicationViewHolderContentAccessors()
140 assertThat(viewHolder.getLayoutParams()).isEqualTo(mLayoutParams); in testComplicationViewHolderContentAccessors()
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DDreamOverlayServiceTest.java64 WindowManager.LayoutParams mLayoutParams; field in DreamOverlayServiceTest
138 client.startDream(mLayoutParams, mOverlayCallback, in testCallbacksRunOnExecutor()
196 firstClient.startDream(mLayoutParams, mOverlayCallback, in testOverlayClientInteraction()
207 secondClient.startDream(mLayoutParams, mOverlayCallback, in testOverlayClientInteraction()
/frameworks/base/core/java/android/widget/
DRelativeLayout.java562 if (mLayoutParams != null && mLayoutParams.width >= 0) { in onMeasure()
563 width = Math.max(width, mLayoutParams.width); in onMeasure()
592 if (mLayoutParams != null && mLayoutParams.height >= 0) { in onMeasure()
593 height = Math.max(height, mLayoutParams.height); in onMeasure()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java141 private WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams(); field in AccessibilityShortcutControllerTest
205 mLayoutParams.privateFlags = 0; in setUp()
206 when(mToast.getWindowParams()).thenReturn(mLayoutParams); in setUp()
/frameworks/base/core/java/android/view/
DView.java4672 protected ViewGroup.LayoutParams mLayoutParams; field in View
20509 return mLayoutParams; in getLayoutParams()
20525 mLayoutParams = params; in setLayoutParams()
20539 if (mLayoutParams != null) { in resolveLayoutParams()
20540 mLayoutParams.resolveLayoutDirection(getLayoutDirection()); in resolveLayoutParams()
27902 if (mLayoutParams == null) { in debug()
27905 output = mLayoutParams.debug(output); in debug()
DViewGroup.java5269 child.mLayoutParams = params; in addViewInner()
5898 child.mLayoutParams = params; in attachViewToParent()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt85603 Lcom/android/internal/view/TooltipPopup;->mLayoutParams:Landroid/view/WindowManager$LayoutParams;