/frameworks/base/core/tests/coretests/src/android/view/ |
Merge.java | 31 private LinearLayout mLayout; 37 mLayout = new LinearLayout(this); 38 mLayout.setOrientation(LinearLayout.VERTICAL); 39 LayoutInflater.from(this).inflate(R.layout.merge_tag, mLayout); 41 setContentView(mLayout); 45 return mLayout;
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
AdjacentVerticalRectLists.java | 40 private LinearLayout mLayout; 47 return mLayout; 66 mLayout = new LinearLayout(this); 67 mLayout.setOrientation(LinearLayout.HORIZONTAL); 68 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 78 mLayout.addView(mLeftColumn); 83 mLayout.addView(mMiddleColumn); 88 mLayout.addView(mRightColumn); 90 setContentView(mLayout);
|
GoneParentFocusedChild.java | 37 private LinearLayout mLayout; 44 return mLayout; 58 mLayout = new LinearLayout(this); 59 mLayout.setOrientation(LinearLayout.HORIZONTAL); 60 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 78 setContentView(mLayout);
|
HorizontalFocusSearch.java | 29 private LinearLayout mLayout; 38 return mLayout; 61 mLayout = new LinearLayout(this); 62 mLayout.setOrientation(LinearLayout.HORIZONTAL); 63 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 68 mLayout.addView(mLeftTall); 70 mMidShort1Top = addShort(mLayout, "mid(1) top", false); 71 mMidShort2Bottom = addShort(mLayout, "mid(2) bottom", true); 74 mLayout.addView(mRightTall); 76 setContentView(mLayout); [all...] |
VerticalFocusSearch.java | 34 private LinearLayout mLayout; 44 return mLayout; 67 mLayout = new LinearLayout(this); 68 mLayout.setOrientation(LinearLayout.VERTICAL); 69 mLayout.setHorizontalGravity(Gravity.START); 70 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 75 mLayout.addView(mTopWide); 77 mMidSkinny1Left = addSkinny(mLayout, "mid skinny 1(L)", false); 79 mMidSkinny2Right = addSkinny(mLayout, "mid skinny 2(R)", true); 82 mLayout.addView(mBottomWide) [all...] |
HorizontalFocusSearchTest.java | 40 private LinearLayout mLayout; 57 mLayout = getActivity().getLayout(); 65 assertNotNull(mLayout); 74 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_UP)); 76 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_DOWN)); 78 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_LEFT)); 82 mFocusFinder.findNextFocus(mLayout, mLeftTall, View.FOCUS_RIGHT)); 87 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_UP)); 90 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_DOWN)); 93 mFocusFinder.findNextFocus(mLayout, mMidShort1Top, View.FOCUS_LEFT)) [all...] |
VerticalFocusSearchTest.java | 37 private LinearLayout mLayout; 70 mLayout = getActivity().getLayout(); 80 assertNotNull(mLayout); 89 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_UP)); 92 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_LEFT)); 95 mFocusFinder.findNextFocus(mLayout, mTopWide, View.FOCUS_RIGHT)); 100 .findNextFocus(mLayout, mTopWide, View.FOCUS_DOWN)); 105 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_LEFT)); 109 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_RIGHT)); 113 mFocusFinder.findNextFocus(mLayout, mMidSkinny1Left, View.FOCUS_UP)) [all...] |
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
InputTypeActivity.java | 34 private LinearLayout mLayout; 45 mLayout = new LinearLayout(this); 46 mLayout.setOrientation(LinearLayout.VERTICAL); 47 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 52 mParent = mLayout; 55 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL, 59 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_CAP_CHARACTERS, 63 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_CAP_WORDS, 67 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE, 71 mLayout.addView(buildEntryView(EditorInfo.TYPE_CLASS_TEXT|EditorInfo.TYPE_TEXT_VARIATION_NORMAL|EditorInfo (…) [all...] |
EditTextActivityDialog.java | 37 private LinearLayout mLayout; 48 mLayout = new LinearLayout(this); 49 mLayout.setOrientation(LinearLayout.VERTICAL); 50 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 70 mLayout.addView(mButton1); 71 mLayout.addView(mButton2); 73 setContentView(mLayout); 94 ((ScrollView) layout).setMinimumHeight(mLayout.getHeight());
|
BigEditTextActivityScrollablePanScan.java | 33 private LinearLayout mLayout; 47 mLayout = new LinearLayout(this); 48 mLayout.setOrientation(LinearLayout.VERTICAL); 49 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 56 mLayout.addView(view); 58 ((ScrollView) mRootView).addView(mLayout);
|
BigEditTextActivityScrollableResize.java | 33 private LinearLayout mLayout; 47 mLayout = new LinearLayout(this); 48 mLayout.setOrientation(LinearLayout.VERTICAL); 49 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 56 mLayout.addView(view); 58 ((ScrollView) mRootView).addView(mLayout);
|
DialogActivity.java | 34 private LinearLayout mLayout; 46 mLayout = new LinearLayout(this); 47 mLayout.setOrientation(LinearLayout.VERTICAL); 48 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 73 mLayout.addView(mEditText); 74 mLayout.addView(mButton1); 75 mLayout.addView(mButton2); 77 setContentView(mLayout);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResourceCursorAdapter.java | 36 private int mLayout; 53 mLayout = mDropDownLayout = layout; 72 mLayout = mDropDownLayout = layout; 84 return mInflater.inflate(mLayout, parent, false); 99 mLayout = layout;
|
/frameworks/base/core/java/android/widget/ |
ResourceCursorAdapter.java | 31 private int mLayout; 53 mLayout = mDropDownLayout = layout; 75 mLayout = mDropDownLayout = layout; 92 mLayout = mDropDownLayout = layout; 104 return mInflater.inflate(mLayout, parent, false); 118 mLayout = layout;
|
AccessibilityIterators.java | 36 protected Layout mLayout; 47 mLayout = layout; 61 nextLine = mLayout.getLineForOffset(0); 63 final int currentLine = mLayout.getLineForOffset(offset); 70 if (nextLine >= mLayout.getLineCount()) { 89 previousLine = mLayout.getLineForOffset(mText.length()); 91 final int currentLine = mLayout.getLineForOffset(offset); 107 final int paragraphDirection = mLayout.getParagraphDirection(lineNumber); 109 return mLayout.getLineStart(lineNumber); 111 return mLayout.getLineEnd(lineNumber) - 1 [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LLEditTextThenButton.java | 31 private LinearLayout mLayout; 39 mLayout = (LinearLayout) findViewById(R.id.layout); 45 return mLayout;
|
BaselineButtonsTest.java | 34 private View mLayout; 50 mLayout = activity.findViewById(R.id.layout); 60 assertNotNull(mLayout); 74 assertEquals("Layout incorrect height", pauseHeight, mLayout.getHeight());
|
/frameworks/support/v4/java/android/support/v4/widget/ |
ResourceCursorAdapter.java | 33 private int mLayout; 55 mLayout = mDropDownLayout = layout; 77 mLayout = mDropDownLayout = layout; 94 mLayout = mDropDownLayout = layout; 106 return mInflater.inflate(mLayout, parent, false); 120 mLayout = layout;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
MultiLineTexture.java | 31 private final Layout mLayout; 35 mLayout = layout; 50 mLayout.draw(canvas);
|
/frameworks/base/core/java/android/webkit/ |
PluginFullScreenHolder.java | 43 private static CustomFrameLayout mLayout; 56 mLayout = new CustomFrameLayout(mWebView.getContext()); 62 mLayout.addView(contentView, layoutParams); 63 mLayout.setVisibility(View.VISIBLE); 85 client.onShowCustomView(mLayout, mOrientation, mCallback); 143 mLayout.removeView(mContentView); 144 mLayout = null;
|
HTML5VideoFullScreen.java | 87 private static FrameLayout mLayout; 178 MediaController mc = new FullScreenMediaController(mProxy.getContext(), mLayout); 179 mc.setSystemUiVisibility(mLayout.getSystemUiVisibility()); 241 return (mLayout == null); 252 mLayout.removeView(getSurfaceView()); 255 mLayout.removeView(mProgressView); 258 mLayout = null; 285 mLayout = new FrameLayout(mProxy.getContext()); 291 mLayout.addView(getSurfaceView(), layoutParams); 293 mLayout.setVisibility(View.VISIBLE) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 219 LinearLayout mLayout; 220 mLayout = new LinearLayout(mContext); 221 mLayout.setOrientation(LinearLayout.VERTICAL); 222 mLayout.setHorizontalGravity(Gravity.LEFT); 223 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 226 assertEquals(0, mLayout.getChildCount()); 228 mLayout); 230 assertEquals(1, mLayout.getChildCount()); 244 LinearLayout mLayout; 245 mLayout = new LinearLayout(mContext) [all...] |
FocusFinderTest.java | 30 private ViewGroup mLayout; 44 mLayout = getActivity().layout; 79 View actualNextFocus = mFocusFinder.findNextFocus(mLayout, currentFocus, direction); 119 View actualNextFocus = mFocusFinder.findNextFocusFromRect(mLayout, rect, direction); 140 View view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_DOWN, deltas); 149 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_LEFT, deltas); 158 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_RIGHT, deltas); 167 view = mFocusFinder.findNearestTouchable(mLayout, x, y, View.FOCUS_UP, deltas);
|
/cts/tests/tests/holo/src/android/holo/cts/ |
LayoutAdapter.java | 60 private final int mLayout; 68 mLayout = layout; 80 return mLayout; 341 return getItem(position).mLayout;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DeletionHandler.java | 50 private final INode mLayout; 68 mLayout = layout; 70 mChildren = mLayout.getChildren();
|