Home
last modified time | relevance | path

Searched refs:mLayout (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAspectRatioFrameLayoutTest.java35 private AspectRatioFrameLayout mLayout; field in AspectRatioFrameLayoutTest
44 mLayout = new AspectRatioFrameLayout(mContext); in measure_squareAspectRatio_squeezeWidth()
49 mLayout.measure(widthMeasureSpec, heightMeasureSpec); in measure_squareAspectRatio_squeezeWidth()
51 assertThat(mLayout.getMeasuredWidth()).isEqualTo(50); in measure_squareAspectRatio_squeezeWidth()
52 assertThat(mLayout.getMeasuredHeight()).isEqualTo(50); in measure_squareAspectRatio_squeezeWidth()
57 mLayout = new AspectRatioFrameLayout(mContext); in measure_squareAspectRatio_stretchWidth()
62 mLayout.measure(widthMeasureSpec, heightMeasureSpec); in measure_squareAspectRatio_stretchWidth()
64 assertThat(mLayout.getMeasuredWidth()).isEqualTo(100); in measure_squareAspectRatio_stretchWidth()
65 assertThat(mLayout.getMeasuredHeight()).isEqualTo(100); in measure_squareAspectRatio_stretchWidth()
70 mLayout = new AspectRatioFrameLayout(mContext); in measure_squareAspectRatio_doNotStretch()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayViewController.java41 private View mLayout; field in OverlayViewController
45 mLayout = null; in OverlayViewController()
73 mLayout = viewStub.inflate(); in inflate()
88 return mLayout != null; in isInflated()
92 if (mLayout == null) { in show()
106 mLayout.setVisibility(View.VISIBLE); in showInternal()
110 if (mLayout == null) { in hide()
124 mLayout.setVisibility(View.GONE); in hideInternal()
131 return mLayout; in getLayout()
141 return mLayout.getVisibility() == View.VISIBLE; in isVisible()
[all …]
/packages/apps/Camera2/src/com/android/camera/app/
DFilmstripBottomPanel.java42 private final ViewGroup mLayout; field in FilmstripBottomPanel
59 mLayout = bottomControlsLayout; in FilmstripBottomPanel()
60 mMiddleFiller = mLayout.findViewById(R.id.filmstrip_bottom_control_middle_filler); in FilmstripBottomPanel()
61 mControlLayout = mLayout.findViewById(R.id.bottom_control_panel); in FilmstripBottomPanel()
92 mLayout.setVisibility(View.VISIBLE); in setVisible()
94 mLayout.setVisibility(View.INVISIBLE); in setVisible()
190 mEditButton = (ImageButton) mLayout.findViewById(R.id.filmstrip_bottom_control_edit); in setupEditButton()
206 mViewButton = (ExternalViewerButton) mLayout.findViewById( in setupViewButton()
219 mDeleteButton = (ImageButton) mLayout.findViewById(R.id.filmstrip_bottom_control_delete); in setupDeleteButton()
231 mShareButton = (ImageButton) mLayout.findViewById(R.id.filmstrip_bottom_control_share); in setupShareButton()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java72 private final Layout mLayout = new Layout(); field in SlotView
101 mRenderer.onSlotSizeChanged(mLayout.mSlotWidth, mLayout.mSlotHeight); in setSlotRenderer()
107 int slotCount = mLayout.mSlotCount; in setCenterIndex()
111 Rect rect = mLayout.getSlotRect(index, mTempRect); in setCenterIndex()
119 Rect rect = mLayout.getSlotRect(index, mTempRect); in makeSlotVisible()
139 position = Utils.clamp(position, 0, mLayout.getScrollLimit()); in setScrollPosition()
145 mLayout.setSlotSpec(spec); in setSlotSpec()
161 (mLayout.getVisibleStart() + mLayout.getVisibleEnd()) / 2; in onLayout()
162 mLayout.setSize(r - l, b - t); in onLayout()
172 if (mLayout.mSlotCount != 0) invalidate(); in startScatteringAnimation()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMockKeyboardSwitcher.java51 private int mLayout = MockConstants.ALPHABET_UNSHIFTED; field in MockKeyboardSwitcher
63 return mLayout; in getLayoutId()
90 mLayout = MockConstants.ALPHABET_UNSHIFTED; in setAlphabetKeyboard()
95 mLayout = MockConstants.ALPHABET_MANUAL_SHIFTED; in setAlphabetManualShiftedKeyboard()
100 mLayout = MockConstants.ALPHABET_AUTOMATIC_SHIFTED; in setAlphabetAutomaticShiftedKeyboard()
105 mLayout = MockConstants.ALPHABET_SHIFT_LOCKED; in setAlphabetShiftLockedKeyboard()
110 mLayout = MockConstants.ALPHABET_SHIFT_LOCK_SHIFTED; in setAlphabetShiftLockShiftedKeyboard()
115 mLayout = MockConstants.SYMBOLS_UNSHIFTED; in setSymbolsKeyboard()
120 mLayout = MockConstants.SYMBOLS_SHIFTED; in setSymbolsShiftedKeyboard()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java103 private DrawerLayout mLayout; field in DrawerController.RuntimeDrawerController
118 mLayout = layout; in RuntimeDrawerController()
123 mLayout.setDrawerListener(this); in RuntimeDrawerController()
171 mLayout.openDrawer(mDrawer); in setOpen()
176 mLayout.closeDrawer(mDrawer); in setOpen()
186 mLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED); in setLocked()
188 mLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED); in setLocked()
194 return mLayout.isDrawerOpen(mDrawer); in isOpen()
200 == mLayout.getDrawerLockMode(Gravity.START); in isPresent()
/packages/apps/Settings/src/com/android/settings/gestures/
DBackGestureIndicatorView.java35 private ViewGroup mLayout; field in BackGestureIndicatorView
45 mLayout = (ViewGroup) factory.inflate(R.layout.back_gesture_indicator_container, in BackGestureIndicatorView()
48 if (mLayout == null) { in BackGestureIndicatorView()
52 addView(mLayout); in BackGestureIndicatorView()
57 mLeftIndicator = mLayout.findViewById(R.id.indicator_left); in BackGestureIndicatorView()
58 mRightIndicator = mLayout.findViewById(R.id.indicator_right); in BackGestureIndicatorView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollFinishTest.java52 private PartnerCustomizationLayout mLayout; field in SetupFingerprintEnrollFinishTest
58 mLayout = mActivity.findViewById(R.id.setup_wizard_layout); in setUp()
76 mLayout.getMixin(FooterBarMixin.class).getSecondaryButtonView().performClick(); in clickAddAnother_shouldLaunchEnrolling()
91 mLayout.getMixin(FooterBarMixin.class).getSecondaryButtonView().performClick(); in clickAddAnother_shouldPropagateResults()
102 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_shouldFinish()
131 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_fingerprintCountIsNotOne_fingerprintSuggestionActivityDisabled()
141 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_fingerprintCountIsOne_fngerprintSuggestionActivityEnabled()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleDaysSelection.java38 private final LinearLayout mLayout; field in ZenModeScheduleDaysSelection
42 mLayout = new LinearLayout(mContext); in ZenModeScheduleDaysSelection()
45 mLayout.setPadding(hPad, 0, hPad, 0); in ZenModeScheduleDaysSelection()
46 addView(mLayout); in ZenModeScheduleDaysSelection()
52 mLayout.setOrientation(LinearLayout.VERTICAL); in ZenModeScheduleDaysSelection()
70 mLayout.addView(checkBox); in ZenModeScheduleDaysSelection()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DLayoutTestsBase.java42 private LayoutBase mLayout; field in LayoutTestsBase
51 mLayout = getLayout(); in setUp()
52 mSubtype = getSubtype(mLayout.getLocale(), mLayout.getName()); in setUp()
135 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId); in doKeyboardTests()
/packages/apps/Settings/src/com/android/settings/password/
DChooseLockPassword.java237 private GlifLayout mLayout; field in ChooseLockPassword.ChooseLockPasswordFragment
474 mLayout = (GlifLayout) view; in onViewCreated()
481 final FooterBarMixin mixin = mLayout.getMixin(FooterBarMixin.class); in onViewCreated()
503 mLayout.setIcon(getActivity().getDrawable(R.drawable.ic_fingerprint_header)); in onViewCreated()
505 mLayout.setIcon(getActivity().getDrawable(R.drawable.ic_face_header)); in onViewCreated()
507 mLayout.setIcon(getActivity().getDrawable(R.drawable.ic_lock)); in onViewCreated()
581 mLayout.setHeaderText(title); in onViewCreated()
681 mLayout.announceForAccessibility(mLayout.getHeaderText()); in updateStage()
897 if (!TextUtils.isEmpty(mLayout.getHeaderText()) in setHeaderText()
898 && mLayout.getHeaderText().toString().equals(text)) { in setHeaderText()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DMultiLineTexture.java31 private final Layout mLayout; field in MultiLineTexture
35 mLayout = layout; in MultiLineTexture()
50 mLayout.draw(canvas); in onDraw()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DMessage.java56 protected int mLayout; field in Message
81 mLayout = 0; in reset()
97 return mLayout; in getLayout()
217 mLayout = InflateMessageDocumentHolder.LAYOUT_CROSS_PROFILE_ERROR; in updateToQuietModeErrorMessage()
232 mLayout = InflateMessageDocumentHolder.LAYOUT_CROSS_PROFILE_ERROR; in updateToCrossProfileNoPermissionErrorMessage()
DDirectoryFragment.java189 private GridLayoutManager mLayout; field in DirectoryFragment
456 mLayout = new GridLayoutManager(getContext(), mColumnCount) { in onActivityCreated()
466 mLayout.setSpanSizeLookup(lookup); in onActivityCreated()
468 mRecView.setLayoutManager(mLayout); in onActivityCreated()
710 if (mLayout != null) { in updateLayout()
711 mLayout.setSpanCount(mColumnCount); in updateLayout()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/
DSubtitleView.java71 private StaticLayout mLayout; field in SubtitleView
210 final StaticLayout layout = this.mLayout; in onMeasure()
252 mLayout = in computeMeasurements()
260 final StaticLayout layout = this.mLayout; in onDraw()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DSectionedAlbumDataAdapter.java39 private final int mLayout; field in SectionedAlbumDataAdapter
45 mLayout = headerLayout; in SectionedAlbumDataAdapter()
182 item = mInflater.inflate(mLayout, parent, false); in getView()
DAlbumDataAdapter.java44 private final int mLayout; field in AlbumDataAdapter
52 mLayout = resource; in AlbumDataAdapter()
85 item = mInflater.inflate(mLayout, parent, false); in getView()