/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 | 31 private int mLayout; field in ResourceCursorAdapter 53 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 75 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 92 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 104 return mInflater.inflate(mLayout, parent, false); in newView() 118 mLayout = layout; in setViewResource()
|
D | TextView.java | 501 private Layout mLayout; field in TextView 1494 return mLayout; in getLayout() 1765 if (mLayout.getLineCount() <= mMaximum) { in getExtendedPaddingTop() 1772 int layoutht = mLayout.getLineTop(mMaximum); in getExtendedPaddingTop() 1798 if (mLayout.getLineCount() <= mMaximum) { in getExtendedPaddingBottom() 1805 int layoutht = mLayout.getLineTop(mMaximum); in getExtendedPaddingBottom() 2479 if (mLayout != null) { in setRawTextSize() 2506 if (mLayout != null) { in setTextScaleX() 2531 if (mLayout != null) { in setTypeface() 2905 if (mLayout != null && newLayout) { in setGravity() [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/support/v4/java/android/support/v4/widget/ |
D | ResourceCursorAdapter.java | 33 private int mLayout; field in ResourceCursorAdapter 55 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 77 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 94 mLayout = mDropDownLayout = layout; in ResourceCursorAdapter() 106 return mInflater.inflate(mLayout, parent, false); in newView() 120 mLayout = layout; in setViewResource()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginFullScreenHolder.java | 43 private static CustomFrameLayout mLayout; field in PluginFullScreenHolder 56 mLayout = new CustomFrameLayout(mWebView.getContext()); in setContentView() 62 mLayout.addView(contentView, layoutParams); in setContentView() 63 mLayout.setVisibility(View.VISIBLE); in setContentView() 85 client.onShowCustomView(mLayout, mOrientation, mCallback); in show() 143 mLayout.removeView(mContentView); 144 mLayout = null;
|
D | HTML5VideoFullScreen.java | 87 private static FrameLayout mLayout; field in HTML5VideoFullScreen 178 MediaController mc = new FullScreenMediaController(mProxy.getContext(), mLayout); in prepareForFullScreen() 179 mc.setSystemUiVisibility(mLayout.getSystemUiVisibility()); in prepareForFullScreen() 241 return (mLayout == null); in fullScreenExited() 252 mLayout.removeView(getSurfaceView()); 255 mLayout.removeView(mProgressView); 258 mLayout = null; 285 mLayout = new FrameLayout(mProxy.getContext()); in enterFullScreenVideoState() 291 mLayout.addView(getSurfaceView(), layoutParams); in enterFullScreenVideoState() 293 mLayout.setVisibility(View.VISIBLE); in enterFullScreenVideoState() [all …]
|
/frameworks/base/core/java/android/view/ |
D | SurfaceView.java | 100 final WindowManager.LayoutParams mLayout field in SurfaceView 215 mLayout.token = getWindowToken(); in onAttachedToWindow() 216 mLayout.setTitle("SurfaceView"); in onAttachedToWindow() 274 mLayout.token = null; in onDetachedFromWindow() 383 mLayout.flags |= WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; in setZOrderOnTop() 386 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM; in setZOrderOnTop() 404 mLayout.flags |= WindowManager.LayoutParams.FLAG_SECURE; in setSecure() 406 mLayout.flags &= ~WindowManager.LayoutParams.FLAG_SECURE; in setSecure() 464 mLayout.x = mLeft; in updateWindow() 465 mLayout.y = mTop; in updateWindow() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SimpleCursorAdapterTest.java | 41 int mLayout; field in SimpleCursorAdapterTest 57 mLayout = com.android.internal.R.layout.simple_list_item_2; in setUp() 90 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testCreateLive() 101 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, mFrom, mTo); in testCreateNull() 112 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorLive() 131 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, mCursor2x2, mFrom, mTo); in testChangeCursorNull() 150 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, in testChangeCursorColumns() 176 SimpleCursorAdapter ca = new SimpleCursorAdapter(mContext, mLayout, null, null, null); in testNullConstructor() 186 … TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, null, null, null); in testChangeNullToMapped() 209 TestSimpleCursorAdapter ca = new TestSimpleCursorAdapter(mContext, mLayout, mCursor2x2, in testChangeMapping()
|
/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()
|
D | BaselineButtonsTest.java | 34 private View mLayout; field in BaselineButtonsTest 50 mLayout = activity.findViewById(R.id.layout); in setUp() 60 assertNotNull(mLayout); in testPreconditions() 74 assertEquals("Layout incorrect height", pauseHeight, mLayout.getHeight()); in testLayout()
|
/frameworks/base/core/java/android/service/wallpaper/ |
D | WallpaperService.java | 160 final WindowManager.LayoutParams mLayout field in WallpaperService.Engine 527 out.print(prefix); out.print("mLayout="); out.println(mLayout); in dump() 589 mLayout.x = 0; in updateSurface() 590 mLayout.y = 0; in updateSurface() 591 mLayout.width = myWidth; in updateSurface() 592 mLayout.height = myHeight; in updateSurface() 594 mLayout.format = mFormat; in updateSurface() 597 mLayout.flags = mWindowFlags in updateSurface() 603 mLayout.privateFlags = mWindowPrivateFlags; in updateSurface() 605 mLayout.memoryType = mType; in updateSurface() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuView.java | 118 private int[] mLayout; field in IconMenuView 161 mLayout = new int[mMaxRows]; in IconMenuView() 231 int[] layout = mLayout; in layoutItemsUsingGravity() 254 int[] layout = mLayout; in doItemsFit() 333 final int numItemsForRow[] = mLayout; in positionChildren() 519 return mLayout; in getLayout()
|
/frameworks/base/core/java/android/text/ |
D | DynamicLayout.java | 134 e.mLayout = this; in DynamicLayout() 635 mLayout = new WeakReference<DynamicLayout>(layout); in ChangeWatcher() 639 DynamicLayout ml = mLayout.get(); in reflow() 676 private WeakReference<DynamicLayout> mLayout; field in DynamicLayout.ChangeWatcher
|