/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
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...] |
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...] |
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);
|
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...] |
/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...] |
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);
|
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());
|
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 221 LinearLayout mLayout; 222 mLayout = new LinearLayout(mContext); 223 mLayout.setOrientation(LinearLayout.VERTICAL); 224 mLayout.setHorizontalGravity(Gravity.LEFT); 225 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 228 assertEquals(0, mLayout.getChildCount()); 230 mLayout); 232 assertEquals(1, mLayout.getChildCount()); 246 LinearLayout mLayout; 247 mLayout = new LinearLayout(mContext) [all...] |
/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;
|
/packages/apps/Camera2/src/com/android/camera/app/ |
FilmstripBottomPanel.java | 42 private final ViewGroup mLayout; 59 mLayout = bottomControlsLayout; 60 mMiddleFiller = mLayout.findViewById(R.id.filmstrip_bottom_control_middle_filler); 61 mControlLayout = mLayout.findViewById(R.id.bottom_control_panel); 92 mLayout.setVisibility(View.VISIBLE); 94 mLayout.setVisibility(View.INVISIBLE); 190 mEditButton = (ImageButton) mLayout.findViewById(R.id.filmstrip_bottom_control_edit); 206 mViewButton = (ExternalViewerButton) mLayout.findViewById( 219 mDeleteButton = (ImageButton) mLayout.findViewById(R.id.filmstrip_bottom_control_delete); 231 mShareButton = (ImageButton) mLayout.findViewById(R.id.filmstrip_bottom_control_share) [all...] |
/frameworks/base/core/java/android/widget/ |
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/tests/WindowAnimationJank/src/android/windowanimationjank/ |
ElementLayoutActivity.java | 37 private FlowLayout mLayout; 49 mLayout = (FlowLayout)findViewById(R.id.root_flow_layout); 50 mLayout.setBackgroundColor(BACKGROUND_COLOR); 53 mLayout.addView(mIndicator); 59 mLayout.getViewTreeObserver().addOnPreDrawListener(this); 84 setContentView(mLayout); 98 mLayout.addView(textView); 104 mLayout.addView(button); 110 mLayout.addView(button); 116 mLayout.addView(button) [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
ViewStubBindingObject.java | 23 private int mLayout = R.layout.table_layout_adapter_test; 26 return mLayout; 30 mLayout = R.layout.auto_complete_text_view_adapter_test;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
ScreenPinningRequest.java | 139 private ViewGroup mLayout; 161 mLayout.setAlpha(0f); 163 mLayout.setTranslationX(OFFSET_DP * density); 165 mLayout.setTranslationY(OFFSET_DP * density); 167 mLayout.animate() 205 mLayout = (ViewGroup) View.inflate(getContext(), isLandscape 209 mLayout.setClickable(true); 211 mLayout.setLayoutDirection(View.LAYOUT_DIRECTION_LTR); 213 mLayout.findViewById(R.id.screen_pinning_text_area) 215 View buttons = mLayout.findViewById(R.id.screen_pinning_buttons) [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;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
MultiLineTexture.java | 31 private final Layout mLayout; 35 mLayout = layout; 50 mLayout.draw(canvas);
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardStreamFragment.java | 41 private CardStreamLinearLayout mLayout = null; 61 mLayout = (CardStreamLinearLayout) view.findViewById(R.id.card_stream); 62 mLayout.setOnDismissListener(mCardDismissListener); 107 mLayout.removeView(card.getView()); 139 mLayout.addCard(card.getView(), dismissible); 161 mLayout.removeView(card.getView()); 216 mLayout.setFirstVisibleCard(tag); 249 mLayout.setFirstVisibleCard(firstShown); 252 mLayout.triggerShowInitialAnimation(); 259 final String firstVisible = mLayout.getFirstVisibleCardTag() [all...] |
/developers/build/templates/CardStream/_MODULE_/src/template/java/_PACKAGE_/cardstream/ |
CardStreamFragment.java.ftl | 41 private CardStreamLinearLayout mLayout = null; 61 mLayout = (CardStreamLinearLayout) view.findViewById(R.id.card_stream); 62 mLayout.setOnDismissListener(mCardDismissListener); 107 mLayout.removeView(card.getView()); 139 mLayout.addCard(card.getView(), dismissible); 161 mLayout.removeView(card.getView()); 216 mLayout.setFirstVisibleCard(tag); 249 mLayout.setFirstVisibleCard(firstShown); 252 mLayout.triggerShowInitialAnimation(); 259 final String firstVisible = mLayout.getFirstVisibleCardTag() [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
CardStreamFragment.java | 41 private CardStreamLinearLayout mLayout = null; 61 mLayout = (CardStreamLinearLayout) view.findViewById(R.id.card_stream); 62 mLayout.setOnDismissListener(mCardDismissListener); 107 mLayout.removeView(card.getView()); 139 mLayout.addCard(card.getView(), dismissible); 161 mLayout.removeView(card.getView()); 216 mLayout.setFirstVisibleCard(tag); 249 mLayout.setFirstVisibleCard(firstShown); 252 mLayout.triggerShowInitialAnimation(); 259 final String firstVisible = mLayout.getFirstVisibleCardTag() [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/ |
VoicemailActivityInstrumentationTestCase2.java | 55 private VoicemailPlaybackLayout mLayout; 77 mLayout = new VoicemailPlaybackLayout(mActivity); 78 mLayout.onFinishInflate(); 93 mLayout = null; 139 View speakerphoneButton = mLayout.findViewById(R.id.playback_speakerphone); 196 mPresenter.setPlaybackView(mLayout, mVoicemailUri, false); 210 assertNotNull(mLayout); 211 assertTrue(mLayout.getStateText().contains(text)); 215 assertNotNull(mLayout); 216 assertFalse(mLayout.getStateText().contains(text)) [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeScheduleDaysSelection.java | 38 private final LinearLayout mLayout; 42 mLayout = new LinearLayout(mContext); 45 mLayout.setPadding(hPad, 0, hPad, 0); 46 addView(mLayout); 52 mLayout.setOrientation(LinearLayout.VERTICAL); 70 mLayout.addView(checkBox);
|