/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
D | InputTypeActivity.java | 34 private LinearLayout mLayout; field in InputTypeActivity 45 mLayout = new LinearLayout(this); in onCreate() 46 mLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 47 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 52 mParent = mLayout; in onCreate() 55 … mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL, in onCreate() 59 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 63 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 67 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() 71 …mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|Ed… in onCreate() [all …]
|
D | DialogActivity.java | 34 private LinearLayout mLayout; field in DialogActivity 46 mLayout = new LinearLayout(this); in onCreate() 47 mLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 48 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 73 mLayout.addView(mEditText); in onCreate() 74 mLayout.addView(mButton1); in onCreate() 75 mLayout.addView(mButton2); in onCreate() 77 setContentView(mLayout); in onCreate()
|
D | EditTextActivityDialog.java | 37 private LinearLayout mLayout; field in EditTextActivityDialog 48 mLayout = new LinearLayout(this); in onCreate() 49 mLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 50 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 70 mLayout.addView(mButton1); in onCreate() 71 mLayout.addView(mButton2); in onCreate() 73 setContentView(mLayout); in onCreate() 94 ((ScrollView) layout).setMinimumHeight(mLayout.getHeight()); in createDialog()
|
D | BigEditTextActivityScrollablePanScan.java | 33 private LinearLayout mLayout; field in BigEditTextActivityScrollablePanScan 47 mLayout = new LinearLayout(this); in onCreate() 48 mLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 49 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 56 mLayout.addView(view); in onCreate() 58 ((ScrollView) mRootView).addView(mLayout); in onCreate()
|
D | BigEditTextActivityScrollableResize.java | 33 private LinearLayout mLayout; field in BigEditTextActivityScrollableResize 47 mLayout = new LinearLayout(this); in onCreate() 48 mLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 49 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 56 mLayout.addView(view); in onCreate() 58 ((ScrollView) mRootView).addView(mLayout); in onCreate()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | HorizontalFocusSearchTest.java | 40 private LinearLayout mLayout; field in HorizontalFocusSearchTest 57 mLayout = getActivity().getLayout(); in setUp() 65 assertNotNull(mLayout); in testPreconditions() 74 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP)); in testSearchFromLeftButton() 76 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN)); in testSearchFromLeftButton() 78 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT)); in testSearchFromLeftButton() 82 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT)); in testSearchFromLeftButton() 87 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP)); in TODO_testSearchFromMiddleLeftButton() 90 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN)); in TODO_testSearchFromMiddleLeftButton() 93 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT)); in TODO_testSearchFromMiddleLeftButton() [all …]
|
D | VerticalFocusSearchTest.java | 37 private LinearLayout mLayout; field in VerticalFocusSearchTest 70 mLayout = getActivity().getLayout(); in setUp() 80 assertNotNull(mLayout); in testPreconditions() 89 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_UP)); in testSearchFromTopButton() 92 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT)); in testSearchFromTopButton() 95 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_RIGHT)); in testSearchFromTopButton() 100 .findNextFocus(mLayout, mTopWide, View.FOCUS_DOWN)); in testSearchFromTopButton() 105 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_LEFT)); in testSearchFromMidLeft() 109 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_RIGHT)); in testSearchFromMidLeft() 113 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_UP)); in testSearchFromMidLeft() [all …]
|
D | AdjacentVerticalRectLists.java | 40 private LinearLayout mLayout; field in AdjacentVerticalRectLists 47 return mLayout; in getLayout() 66 mLayout = new LinearLayout(this); in onCreate() 67 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate() 68 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 78 mLayout.addView(mLeftColumn); in onCreate() 83 mLayout.addView(mMiddleColumn); in onCreate() 88 mLayout.addView(mRightColumn); in onCreate() 90 setContentView(mLayout); in onCreate()
|
D | VerticalFocusSearch.java | 34 private LinearLayout mLayout; field in VerticalFocusSearch 44 return mLayout; in getLayout() 67 mLayout = new LinearLayout(this); in onCreate() 68 mLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 69 mLayout.setHorizontalGravity(Gravity.START); in onCreate() 70 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 75 mLayout.addView(mTopWide); in onCreate() 77 mMidSkinny1Left = addSkinny(mLayout, "mid skinny 1(L)", false); in onCreate() 79 mMidSkinny2Right = addSkinny(mLayout, "mid skinny 2(R)", true); in onCreate() 82 mLayout.addView(mBottomWide); in onCreate() [all …]
|
D | HorizontalFocusSearch.java | 29 private LinearLayout mLayout; field in HorizontalFocusSearch 38 return mLayout; in getLayout() 61 mLayout = new LinearLayout(this); in onCreate() 62 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate() 63 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 68 mLayout.addView(mLeftTall); in onCreate() 70 mMidShort1Top = addShort(mLayout, "mid(1) top", false); in onCreate() 71 mMidShort2Bottom = addShort(mLayout, "mid(2) bottom", true); in onCreate() 74 mLayout.addView(mRightTall); in onCreate() 76 setContentView(mLayout); in onCreate()
|
D | GoneParentFocusedChild.java | 37 private LinearLayout mLayout; field in GoneParentFocusedChild 44 return mLayout; in getLayout() 58 mLayout = new LinearLayout(this); in onCreate() 59 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate() 60 mLayout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 78 setContentView(mLayout); in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | AccessibilityIterators.java | 36 protected Layout mLayout; field in AccessibilityIterators.LineTextSegmentIterator 47 mLayout = layout; in initialize() 61 nextLine = mLayout.getLineForOffset(0); in following() 63 final int currentLine = mLayout.getLineForOffset(offset); in following() 70 if (nextLine >= mLayout.getLineCount()) { in following() 89 previousLine = mLayout.getLineForOffset(mText.length()); in preceding() 91 final int currentLine = mLayout.getLineForOffset(offset); in preceding() 107 final int paragraphDirection = mLayout.getParagraphDirection(lineNumber); in getLineEdgeIndex() 109 return mLayout.getLineStart(lineNumber); in getLineEdgeIndex() 111 return mLayout.getLineEnd(lineNumber) - 1; in getLineEdgeIndex() [all …]
|
D | ResourceCursorAdapter.java | 33 private int mLayout; field in ResourceCursorAdapter 56 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 79 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 97 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 135 return mInflater.inflate(mLayout, parent, false); in newView() 149 mLayout = layout; in setViewResource()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | ElementLayoutActivity.java | 37 private FlowLayout mLayout; field in ElementLayoutActivity 49 mLayout = (FlowLayout)findViewById(R.id.root_flow_layout); in onCreate() 50 mLayout.setBackgroundColor(BACKGROUND_COLOR); in onCreate() 53 mLayout.addView(mIndicator); in onCreate() 59 mLayout.getViewTreeObserver().addOnPreDrawListener(this); in onCreate() 84 setContentView(mLayout); in onCreate() 98 mLayout.addView(textView); in createTextView() 104 mLayout.addView(button); in createRadioButton() 110 mLayout.addView(button); in createToggleButton() 116 mLayout.addView(button); in createSwitch() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | ScreenPinningRequest.java | 139 private ViewGroup mLayout; field in ScreenPinningRequest.RequestWindowView 161 mLayout.setAlpha(0f); in onAttachedToWindow() 163 mLayout.setTranslationX(OFFSET_DP * density); in onAttachedToWindow() 165 mLayout.setTranslationY(OFFSET_DP * density); in onAttachedToWindow() 167 mLayout.animate() in onAttachedToWindow() 205 mLayout = (ViewGroup) View.inflate(getContext(), isLandscape in inflateView() 209 mLayout.setClickable(true); in inflateView() 211 mLayout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); in inflateView() 213 mLayout.findViewById(R.id.screen_pinning_text_area) in inflateView() 215 View buttons = mLayout.findViewById(R.id.screen_pinning_buttons); in inflateView() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | Merge.java | 31 private LinearLayout mLayout; field in Merge 37 mLayout = new LinearLayout(this); in onCreate() 38 mLayout.setOrientation(LinearLayout.VERTICAL); in onCreate() 39 LayoutInflater.from(this).inflate(R.layout.merge_tag, mLayout); in onCreate() 41 setContentView(mLayout); in onCreate() 45 return mLayout; in getLayout()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 107 final WindowManager.LayoutParams mLayout field in SurfaceView 234 mLayout.token = getWindowToken(); in onAttachedToWindow() 235 mLayout.setTitle("SurfaceView - " + getViewRootImpl().getTitle()); in onAttachedToWindow() 293 mLayout.token = null; in onDetachedFromWindow() 402 mLayout.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; in setZOrderOnTop() 405 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; in setZOrderOnTop() 423 mLayout.flags |= WindowManager.LayoutParams.FLAG_SECURE; in setSecure() 425 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_SECURE; in setSecure() 461 final boolean layoutSizeChanged = getWidth() != mLayout.width in updateWindow() 462 || getHeight() != mLayout.height; in updateWindow() [all …]
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ResourceCursorAdapter.java | 33 private int mLayout; field in ResourceCursorAdapter 55 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 83 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 100 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 112 return mInflater.inflate(mLayout, parent, false); in newView() 126 mLayout = layout; in setViewResource()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SimpleCursorAdapterTest.java | 43 int mLayout; field in SimpleCursorAdapterTest 59 mLayout = com.android.internal.R.layout.simple_list_item_2; in setUp() 92 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testCreateLive() 103 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); in testCreateNull() 114 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorLive() 133 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorNull() 152 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, in testChangeCursorColumns() 178 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, null, null); in testNullConstructor() 188 … TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, null, null, null); in testChangeNullToMapped() 211 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, in testChangeMapping()
|
/frameworks/base/core/java/android/transition/ |
D | Scene.java | 37 private View mLayout; // alternative to layoutId field in Scene 119 mLayout = layout; in Scene() 128 mLayout = layout; in Scene() 170 if (mLayoutId > 0 || mLayout != null) { in enter() 177 mSceneRoot.addView(mLayout); in enter()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | ViewStubBindingObject.java | 23 private int mLayout = R.layout.table_layout_adapter_test; field in ViewStubBindingObject 26 return mLayout; in getLayout() 30 mLayout = R.layout.auto_complete_text_view_adapter_test; in changeValues()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 173 final WindowManager.LayoutParams mLayout field in WallpaperService.Engine 555 out.print(prefix); out.print("mLayout="); out.println(mLayout); in dump() 621 mLayout.x = 0; in updateSurface() 622 mLayout.y = 0; in updateSurface() 623 mLayout.width = myWidth; in updateSurface() 624 mLayout.height = myHeight; in updateSurface() 626 mLayout.format = mFormat; in updateSurface() 629 mLayout.flags = mWindowFlags in updateSurface() 635 mLayout.privateFlags = mWindowPrivateFlags; in updateSurface() 637 mLayout.memoryType = mType; in updateSurface() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | RecyclerView.java | 313 @VisibleForTesting LayoutManager mLayout; field in RecyclerView 470 mLayout.removeAndRecycleView(viewHolder.itemView, mRecycler); 775 mLayout.onItemsAdded(RecyclerView.this, op.positionStart, op.itemCount); in initAdapterManager() 778 mLayout.onItemsRemoved(RecyclerView.this, op.positionStart, op.itemCount); in initAdapterManager() 781 mLayout.onItemsUpdated(RecyclerView.this, op.positionStart, op.itemCount, in initAdapterManager() 785 mLayout.onItemsMoved(RecyclerView.this, op.positionStart, op.itemCount, 1); in initAdapterManager() 932 if (mLayout != null) { in setAdapterInternal() 933 mLayout.removeAndRecycleAllViews(mRecycler); in setAdapterInternal() 934 mLayout.removeAndRecycleScrapInt(mRecycler); in setAdapterInternal() 946 if (mLayout != null) { in setAdapterInternal() [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DrawerController.java | 125 private DrawerLayout mLayout; field in DrawerController.RuntimeDrawerController 136 mLayout = layout; in RuntimeDrawerController() 140 mLayout.setDrawerListener(this); in RuntimeDrawerController() 151 mLayout.openDrawer(mDrawer); in setOpen() 154 mLayout.closeDrawer(mDrawer); in setOpen() 160 return mLayout.isDrawerOpen(mDrawer); in isOpen()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
D | LLEditTextThenButton.java | 31 private LinearLayout mLayout; field in LLEditTextThenButton 39 mLayout = (LinearLayout) findViewById(R.id.layout); in onCreate() 45 return mLayout; in getLayout()
|