/frameworks/base/core/java/com/android/internal/view/ |
D | TooltipPopup.java | 38 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/support/v7/appcompat/src/android/support/v7/widget/ |
D | TooltipPopup.java | 51 private final WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams(); field in TooltipPopup 62 mLayoutParams.setTitle(getClass().getSimpleName()); in TooltipPopup() 63 mLayoutParams.packageName = mContext.getPackageName(); in TooltipPopup() 64 mLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL; in TooltipPopup() 65 mLayoutParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in TooltipPopup() 66 mLayoutParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in TooltipPopup() 67 mLayoutParams.format = PixelFormat.TRANSLUCENT; in TooltipPopup() 68 mLayoutParams.windowAnimations = R.style.Animation_AppCompat_Tooltip; in TooltipPopup() 69 mLayoutParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in TooltipPopup() 81 computePosition(anchorView, anchorX, anchorY, fromTouch, mLayoutParams); in show() [all …]
|
/frameworks/base/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/ |
D | MainActivity.java | 46 private final LayoutParams mLayoutParams = new LayoutParams(); field in MainActivity 60 mLayoutParams.token = getActivityToken(); in onCreate() 104 window.mSeq, mLayoutParams, -1, -1, View.VISIBLE, 0, mTmpRect, in slamWm()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | AccessibilityShortcutControllerTest.java | 100 private WindowManager.LayoutParams mLayoutParams = new WindowManager.LayoutParams(); field in AccessibilityShortcutControllerTest 148 mLayoutParams.privateFlags = 0; in setUp() 149 when(mToast.getWindowParams()).thenReturn(mLayoutParams); in setUp() 299 mLayoutParams.privateFlags in testOnAccessibilityShortcut_withDialogShowing_callsServer()
|
/frameworks/base/core/java/android/widget/ |
D | RelativeLayout.java | 542 if (mLayoutParams != null && mLayoutParams.width >= 0) { in onMeasure() 543 width = Math.max(width, mLayoutParams.width); in onMeasure() 572 if (mLayoutParams != null && mLayoutParams.height >= 0) { in onMeasure() 573 height = Math.max(height, mLayoutParams.height); in onMeasure()
|
D | TextView.java | 7947 final int height = mLayoutParams.height; in makeNewLayout() 8465 if (mLayoutParams.width == LayoutParams.WRAP_CONTENT) { in checkForResize() 8471 if (mLayoutParams.height == LayoutParams.WRAP_CONTENT) { in checkForResize() 8477 } else if (mLayoutParams.height == LayoutParams.MATCH_PARENT) { in checkForResize() 8502 if ((mLayoutParams.width != LayoutParams.WRAP_CONTENT in checkForRelayout() 8523 if (mLayoutParams.height != LayoutParams.WRAP_CONTENT in checkForRelayout() 8524 && mLayoutParams.height != LayoutParams.MATCH_PARENT) { in checkForRelayout()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseRecyclerViewInstrumentationTest.java | 830 final @Nullable RecyclerView.LayoutParams mLayoutParams; field in BaseRecyclerViewInstrumentationTest.TestAdapter 839 mLayoutParams = layoutParams; in TestAdapter() 893 if (mLayoutParams != null) { in onBindViewHolder() 894 holder.itemView.setLayoutParams(new RecyclerView.LayoutParams(mLayoutParams)); in onBindViewHolder()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 3772 protected ViewGroup.LayoutParams mLayoutParams; field in View 15190 return mLayoutParams; 15206 mLayoutParams = params; 15220 if (mLayoutParams != null) { 15221 mLayoutParams.resolveLayoutDirection(getLayoutDirection()); 21903 if (mLayoutParams == null) { 21906 output = mLayoutParams.debug(output);
|
D | ViewGroup.java | 4950 child.mLayoutParams = params; in addViewInner() 5558 child.mLayoutParams = params; in attachViewToParent()
|