Searched refs:LayoutParams (Results 226 - 250 of 430) sorted by relevance

1234567891011>>

/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DManyEditTextActivityScrollPanScan.java62 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
H A DOneEditTextActivitySelected.java61 this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java139 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(
140 LinearLayout.LayoutParams.MATCH_PARENT,
141 LinearLayout.LayoutParams.WRAP_CONTENT);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DFrameworkActionBar.java38 import android.view.ViewGroup.LayoutParams;
147 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(
148 measureContentWidth(adapter), LayoutParams.WRAP_CONTENT);
H A DNavigationBar.java111 LayoutParams layoutParams = (LayoutParams) view.getLayoutParams();
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DItemAlignment.java22 import android.support.v17.leanback.widget.GridLayoutManager.LayoutParams;
H A DVerticalGridPresenter.java22 import android.view.ViewGroup.LayoutParams;
246 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
H A DScaleFrameLayout.java93 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearSmoothScroller.java303 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams)
328 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams)
H A DRecyclerView.java583 ViewGroup.LayoutParams layoutParams) {
1946 final ViewGroup.LayoutParams focusedLayoutParams = focused.getLayoutParams();
1947 if (focusedLayoutParams instanceof LayoutParams) {
1949 final LayoutParams lp = (LayoutParams) focusedLayoutParams;
3164 ((LayoutParams) child.getLayoutParams()).mInsetsDirty = true;
3241 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
3242 return p instanceof LayoutParams && mLayout.checkLayoutParams((LayoutParams) p);
3246 protected ViewGroup.LayoutParams generateDefaultLayoutParam
8720 public static class LayoutParams extends android.view.ViewGroup.MarginLayoutParams { class in class:RecyclerView
8729 public LayoutParams(Context c, AttributeSet attrs) { method in class:RecyclerView.LayoutParams
8733 public LayoutParams(int width, int height) { method in class:RecyclerView.LayoutParams
8737 public LayoutParams(MarginLayoutParams source) { method in class:RecyclerView.LayoutParams
8741 public LayoutParams(ViewGroup.LayoutParams source) { method in class:RecyclerView.LayoutParams
8745 public LayoutParams(LayoutParams source) { method in class:RecyclerView.LayoutParams
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarContainer.java242 final ViewGroup.LayoutParams lp = tabView.getLayoutParams();
243 lp.width = LayoutParams.MATCH_PARENT;
244 lp.height = LayoutParams.WRAP_CONTENT;
267 final LayoutParams lp = (LayoutParams) view.getLayoutParams();
311 final LayoutParams lp = (LayoutParams) tabContainer.getLayoutParams();
H A DFloatingToolbar.java715 ViewGroup.LayoutParams params = mContentContainer.getLayoutParams();
729 ViewGroup.LayoutParams params = mContentContainer.getLayoutParams();
773 ViewGroup.LayoutParams params = mContentContainer.getLayoutParams();
787 ViewGroup.LayoutParams params = mContentContainer.getLayoutParams();
845 ViewGroup.LayoutParams params = mContentContainer.getLayoutParams();
861 ViewGroup.LayoutParams params = mContentContainer.getLayoutParams();
1085 ViewGroup.LayoutParams params = menuItemButton.getLayoutParams();
1204 mListViewItemWidthCalculator.setLayoutParams(new ViewGroup.LayoutParams(
1205 ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DInputMonitor.java116 WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
175 final boolean modal = (flags & (WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
176 | WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE)) == 0;
179 flags |= WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL;
286 & WindowManager.LayoutParams.PRIVATE_FLAG_DISABLE_WALLPAPER_TOUCH_EVENTS)
291 && (privateFlags & WindowManager.LayoutParams.PRIVATE_FLAG_KEYGUARD) == 0
390 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_POINTER)
H A DWindowState.java19 import static android.view.WindowManager.LayoutParams.FIRST_SUB_WINDOW;
20 import static android.view.WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED;
21 import static android.view.WindowManager.LayoutParams.LAST_SUB_WINDOW;
22 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_COMPATIBLE_WINDOW;
23 import static android.view.WindowManager.LayoutParams.PRIVATE_FLAG_KEYGUARD;
24 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_STARTING;
25 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD;
26 import static android.view.WindowManager.LayoutParams.TYPE_INPUT_METHOD_DIALOG;
27 import static android.view.WindowManager.LayoutParams.TYPE_WALLPAPER;
97 final WindowManager.LayoutParams mAttr
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
40 import android.view.ViewGroup.LayoutParams;
579 mWindow.setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM,
580 WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
585 custom.addView(customView, new LayoutParams(MATCH_PARENT, MATCH_PARENT));
593 ((LinearLayout.LayoutParams) customPanel.getLayoutParams()).weight = 0;
603 LayoutParams lp = new LayoutParams(
604 LayoutParams.MATCH_PARENT, LayoutParams
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAlertController.java35 import android.view.ViewGroup.LayoutParams;
55 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
438 mWindow.setFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM,
439 WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
444 custom.addView(customView, new LayoutParams(MATCH_PARENT, MATCH_PARENT));
452 ((LinearLayout.LayoutParams) customPanel.getLayoutParams()).weight = 0;
476 LayoutParams lp = new LayoutParams(
477 LayoutParams.MATCH_PARENT, LayoutParams
[all...]
/frameworks/base/core/java/android/preference/
H A DEditTextPreference.java134 container.addView(editText, ViewGroup.LayoutParams.MATCH_PARENT,
135 ViewGroup.LayoutParams.WRAP_CONTENT);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewPerformanceTest.java46 ViewGroup.LayoutParams p = new ViewGroup.LayoutParams(320, 240);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java66 mIconFrame.addView(mOverlay, LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSegmentedButtons.java78 final LayoutParams lp = (LayoutParams) b.getLayoutParams();
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
H A DBatteryWaster.java145 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
147 getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewPropertyAlphaActivity.java98 myViewAlphaDefault.setLayoutParams(new LinearLayout.LayoutParams(75, 75));
101 myViewAlphaHandled.setLayoutParams(new LinearLayout.LayoutParams(75, 75));
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
H A DImfBaseTestCase.java115 int adjustMode = windowSoftInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST;
116 if (mExpectAutoPop && adjustMode == WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE) {
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/test/
H A DGridLayoutTest.java89 GridLayout.LayoutParams lp = (GridLayout.LayoutParams) rightView.getLayoutParams();
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java19 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
20 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;
688 WindowManager.LayoutParams.TYPE_INPUT_METHOD, Gravity.BOTTOM, false);
690 mWindow.getWindow().addFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
924 LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams)
933 lp.height = LinearLayout.LayoutParams.WRAP_CONTENT;
1218 mExtractFrame.addView(view, new FrameLayout.LayoutParams(
1219 ViewGroup.LayoutParams.MATCH_PARENT,
1220 ViewGroup.LayoutParams
[all...]

Completed in 696 milliseconds

1234567891011>>