/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/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/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | SettingsLayoutFragment.java | 190 private Layout mLayout; field in SettingsLayoutFragment 206 mLayout.setSelectedIndex(mListView.getSelectedPosition()); 207 mLayout.reloadLayoutRows(); 208 mAdapter.setLayoutRows(mLayout.getLayoutRows()); 211 mListView.setSelectedPositionSmooth(mLayout.getSelectedIndex()); 306 mLayout = layout; in setLayout() 307 mLayout.setRefreshViewListener(this); in setLayout() 315 mBreadcrumb = mLayout.getBreadcrumb(); in updateViews() 319 mTitle = mLayout.getTitle(); in updateViews() 323 mDescription = mLayout.getDescription(); in updateViews() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MockKeyboardSwitcher.java | 50 private int mLayout = MockConstants.ALPHABET_UNSHIFTED; field in MockKeyboardSwitcher 62 return mLayout; in getLayoutId() 89 mLayout = MockConstants.ALPHABET_UNSHIFTED; in setAlphabetKeyboard() 94 mLayout = MockConstants.ALPHABET_MANUAL_SHIFTED; in setAlphabetManualShiftedKeyboard() 99 mLayout = MockConstants.ALPHABET_AUTOMATIC_SHIFTED; in setAlphabetAutomaticShiftedKeyboard() 104 mLayout = MockConstants.ALPHABET_SHIFT_LOCKED; in setAlphabetShiftLockedKeyboard() 109 mLayout = MockConstants.ALPHABET_SHIFT_LOCK_SHIFTED; in setAlphabetShiftLockShiftedKeyboard() 114 mLayout = MockConstants.SYMBOLS_UNSHIFTED; in setSymbolsKeyboard() 119 mLayout = MockConstants.SYMBOLS_SHIFTED; in setSymbolsShiftedKeyboard()
|
/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/apps/FMRadio/src/com/android/fmradio/views/ |
D | FmSnackBar.java | 50 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/ |
D | ZenModeDowntimeDaysSelection.java | 42 private final LinearLayout mLayout; field in ZenModeDowntimeDaysSelection 46 mLayout = new LinearLayout(mContext); in ZenModeDowntimeDaysSelection() 48 mLayout.setPadding(hPad, 0, hPad, 0); in ZenModeDowntimeDaysSelection() 49 addView(mLayout); in ZenModeDowntimeDaysSelection() 56 mLayout.setOrientation(LinearLayout.VERTICAL); in ZenModeDowntimeDaysSelection() 73 mLayout.addView(checkBox); in ZenModeDowntimeDaysSelection()
|
/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() 152 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId); in doKeyboardTests()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | SlideshowModel.java | 69 private final LayoutModel mLayout; field in SlideshowModel 82 mLayout = new LayoutModel(); in SlideshowModel() 91 mLayout = layouts; in SlideshowModel() 398 return mLayout; in getLayout() 574 mLayout.registerModelChangedObserver(observer); in registerModelChangedObserverInDescendants() 584 mLayout.unregisterModelChangedObserver(observer); in unregisterModelChangedObserverInDescendants() 593 mLayout.unregisterAllModelChangedObservers(); in unregisterAllModelChangedObserversInDescendants()
|
/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/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/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectCalendarsSimpleAdapter.java | 61 private int mLayout; field in SelectCalendarsSimpleAdapter 98 mLayout = layout; in SelectCalendarsSimpleAdapter() 227 view = mInflater.inflate(mLayout, parent, false); in getView()
|