/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | AspectRatioFrameLayoutTest.java | 35 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/Camera2/src/com/android/camera/app/ |
D | FilmstripBottomPanel.java | 42 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/ |
D | SlotView.java | 72 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/ |
D | MockKeyboardSwitcher.java | 51 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/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollFinishTest.java | 51 private PartnerCustomizationLayout mLayout; field in SetupFingerprintEnrollFinishTest 57 mLayout = mActivity.findViewById(R.id.setup_wizard_layout); in setUp() 75 mLayout.getMixin(FooterBarMixin.class).getSecondaryButtonView().performClick(); in clickAddAnother_shouldLaunchEnrolling() 90 mLayout.getMixin(FooterBarMixin.class).getSecondaryButtonView().performClick(); in clickAddAnother_shouldPropagateResults() 101 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_shouldFinish() 130 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_fingerprintCountIsNotOne_fingerprintSuggestionActivityDisabled() 140 mLayout.getMixin(FooterBarMixin.class).getPrimaryButtonView().performClick(); in clickNext_fingerprintCountIsOne_fngerprintSuggestionActivityEnabled()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | TwoPaneController.java | 64 private TwoPaneLayout mLayout; field in TwoPaneController 133 sb.append(mLayout); in appendToString() 143 !mLayout.shouldShowPreviewPanel(); in isHidingConversationList() 194 return !mLayout.isConversationListCollapsed(); in isConversationListVisible() 209 mLayout = (TwoPaneLayout) mActivity.findViewById(R.id.two_pane_activity); in onCreate() 211 if (mLayout == null) { in onCreate() 216 mLayout.setController(this); in onCreate() 233 mViewMode.addListener(mLayout); in onCreate() 264 if (hasFocus && !mLayout.isConversationListCollapsed()) { in onWindowFocusChanged() 368 mLayout.animateDrawer(minimized); in setDrawerState() [all …]
|
D | FolderSelectorAdapter.java | 92 private final int mLayout; field in FolderSelectorAdapter 98 mLayout = layout; in FolderSelectorAdapter() 105 mLayout = layout; in FolderSelectorAdapter() 314 view = mInflater.inflate(mLayout, parent, false); in getView()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeScheduleDaysSelection.java | 38 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/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeScheduleDaysSelection.java | 38 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/apps/DocumentsUI/src/com/android/documentsui/ |
D | DrawerController.java | 99 private DrawerLayout mLayout; field in DrawerController.RuntimeDrawerController 112 mLayout = layout; in RuntimeDrawerController() 116 mLayout.setDrawerListener(this); in RuntimeDrawerController() 163 mLayout.openDrawer(mDrawer); in setOpen() 165 mLayout.closeDrawer(mDrawer); in setOpen() 171 return mLayout.isDrawerOpen(mDrawer); in isOpen()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
D | LayoutTestsBase.java | 42 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockPassword.java | 215 private GlifLayout mLayout; field in ChooseLockPassword.ChooseLockPasswordFragment 419 mLayout = (GlifLayout) view; in onViewCreated() 426 final FooterBarMixin mixin = mLayout.getMixin(FooterBarMixin.class); in onViewCreated() 448 mLayout.setIcon(getActivity().getDrawable(R.drawable.ic_fingerprint_header)); in onViewCreated() 450 mLayout.setIcon(getActivity().getDrawable(R.drawable.ic_face_header)); in onViewCreated() 514 mLayout.setHeaderText(title); in onViewCreated() 593 mLayout.announceForAccessibility(mLayout.getHeaderText()); in updateStage() 987 if (!TextUtils.isEmpty(mLayout.getHeaderText()) in setHeaderText() 988 && mLayout.getHeaderText().toString().equals(text)) { in setHeaderText() 991 mLayout.setHeaderText(text); in setHeaderText()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPassword.java | 214 private GlifLayout mLayout; field in ChooseLockPassword.ChooseLockPasswordFragment 418 mLayout = (GlifLayout) view; in onViewCreated() 425 final FooterBarMixin mixin = mLayout.getMixin(FooterBarMixin.class); in onViewCreated() 447 mLayout.setIcon(getActivity().getDrawable(R.drawable.ic_fingerprint_header)); in onViewCreated() 449 mLayout.setIcon(getActivity().getDrawable(R.drawable.ic_face_header)); in onViewCreated() 513 mLayout.setHeaderText(title); in onViewCreated() 592 mLayout.announceForAccessibility(mLayout.getHeaderText()); in updateStage() 986 if (!TextUtils.isEmpty(mLayout.getHeaderText()) in setHeaderText() 987 && mLayout.getHeaderText().toString().equals(text)) { in setHeaderText() 990 mLayout.setHeaderText(text); in setHeaderText()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | MultiLineTexture.java | 31 private final Layout mLayout; field in MultiLineTexture 35 mLayout = layout; in MultiLineTexture() 50 mLayout.draw(canvas); in onDraw()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/text/ |
D | SubtitleView.java | 71 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/ |
D | SectionedAlbumDataAdapter.java | 39 private final int mLayout; field in SectionedAlbumDataAdapter 45 mLayout = headerLayout; in SectionedAlbumDataAdapter() 182 item = mInflater.inflate(mLayout, parent, false); in getView()
|
D | AlbumDataAdapter.java | 44 private final int mLayout; field in AlbumDataAdapter 52 mLayout = resource; in AlbumDataAdapter() 85 item = mInflater.inflate(mLayout, parent, false); in getView()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 167 private GridLayoutManager mLayout; field in DirectoryFragment 303 mLayout = new GridLayoutManager(getContext(), mColumnCount) { in onActivityCreated() 313 mLayout.setSpanSizeLookup(lookup); in onActivityCreated() 315 mRecView.setLayoutManager(mLayout); in onActivityCreated() 533 if (mLayout != null) { in updateLayout() 534 mLayout.setSpanCount(mColumnCount); in updateLayout()
|