Home
last modified time | relevance | path

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

/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/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/TvSettings/Settings/src/com/android/tv/settings/dialog/
DSettingsLayoutFragment.java179 private Layout mLayout; field in SettingsLayoutFragment
195 mLayout.setSelectedIndex(mListView.getSelectedPosition());
196 mLayout.reloadLayoutRows();
197 mAdapter.setLayoutRows(mLayout.getLayoutRows());
200 mListView.setSelectedPositionSmooth(mLayout.getSelectedIndex());
303 mLayout = layout; in setLayout()
304 mLayout.setRefreshViewListener(this); in setLayout()
312 mBreadcrumb = mLayout.getBreadcrumb(); in updateViews()
316 mTitle = mLayout.getTitle(); in updateViews()
320 mDescription = mLayout.getDescription(); in updateViews()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/voicemail/
DVoicemailPlaybackTest.java61 private VoicemailPlaybackLayout mLayout; field in VoicemailPlaybackTest
85 mLayout = new VoicemailPlaybackLayout(mActivity); in setUp()
86 mLayout.onFinishInflate(); in setUp()
98 mLayout = null; in tearDown()
150 View speakerphoneButton = mLayout.findViewById(R.id.playback_speakerphone); in testClickingSpeakerphoneButton()
194 mPresenter.setPlaybackView(mLayout, mVoicemailUri, false); in setPlaybackViewForPresenter()
208 assertNotNull(mLayout); in assertHasOneTextViewContaining()
209 List<TextView> views = mTestUtils.getTextViewsWithString(mLayout, text); in assertHasOneTextViewContaining()
215 assertNotNull(mLayout); in assertHasZeroTextViewsContaining()
216 List<TextView> views = mTestUtils.getTextViewsWithString(mLayout, text); in assertHasZeroTextViewsContaining()
/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/UnifiedEmail/src/com/android/mail/ui/
DTwoPaneController.java64 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 …]
DFolderSelectorAdapter.java92 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/apps/Settings/src/com/android/settings/wifi/
DWifiSettingsForSetupWizard.java47 private SetupWizardListLayout mLayout; field in WifiSettingsForSetupWizard
56 mLayout = (SetupWizardListLayout) in onCreateView()
58 final ListView list = mLayout.getListView(); in onCreateView()
74 final NavigationBar navigationBar = mLayout.getNavigationBar(); in onCreateView()
80 return mLayout; in onCreateView()
179 if (mLayout != null) { in setProgressBarVisible()
181 mLayout.showProgressBar(); in setProgressBarVisible()
183 mLayout.hideProgressBar(); in setProgressBarVisible()
/packages/apps/FMRadio/src/com/android/fmradio/views/
DFmSnackBar.java50 private RelativeLayout mLayout = null; field in FmSnackBar
117 mLayout = (RelativeLayout) RelativeLayout.inflate(context, R.layout.snackbar, null); in init()
128 mButton = (Button) mLayout.findViewById(R.id.snackbar_action); in init()
139 mTextView = (TextView) mLayout.findViewById(R.id.snackbar_text); in init()
150 manager.removeViewImmediate(mLayout); in show()
152 manager.addView(mLayout, mWindowParams); in show()
167 manager.removeViewImmediate(mLayout); in dismiss()
/packages/apps/Settings/src/com/android/settings/notification/
DZenModeScheduleDaysSelection.java48 private final LinearLayout mLayout; field in ZenModeScheduleDaysSelection
52 mLayout = new LinearLayout(mContext); in ZenModeScheduleDaysSelection()
55 mLayout.setPadding(hPad, 0, hPad, 0); in ZenModeScheduleDaysSelection()
56 addView(mLayout); in ZenModeScheduleDaysSelection()
62 mLayout.setOrientation(LinearLayout.VERTICAL); in ZenModeScheduleDaysSelection()
79 mLayout.addView(checkBox); in ZenModeScheduleDaysSelection()
/packages/apps/Settings/src/com/android/settings/
DSetupChooseLockPassword.java89 private SetupWizardLayout mLayout; field in SetupChooseLockPassword.SetupChooseLockPasswordFragment
95 mLayout = (SetupWizardLayout) inflater.inflate( in onCreateView()
97 mNavigationBar = mLayout.getNavigationBar(); in onCreateView()
99 return mLayout; in onCreateView()
105 SystemBarHelper.setImeInsetView(mLayout.findViewById(R.id.suw_bottom_scroll_view)); in onViewCreated()
107 mLayout.setHeaderText(getActivity().getTitle()); in onViewCreated()
/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/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/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()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSimpleAdapter.java61 private int mLayout; field in SelectCalendarsSimpleAdapter
98 mLayout = layout; in SelectCalendarsSimpleAdapter()
227 view = mInflater.inflate(mLayout, parent, false); in getView()