Home
last modified time | relevance | path

Searched refs:mContentView (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/ThemePicker/src/com/android/customization/picker/theme/
DThemeOptionPreviewer.java105 private View mContentView; field in ThemeOptionPreviewer
117 mContentView = LayoutInflater.from(context).inflate( in ThemeOptionPreviewer()
119 mContentView.setVisibility(View.INVISIBLE); in ThemeOptionPreviewer()
120 mStatusBarClock = mContentView.findViewById(R.id.theme_preview_clock); in ThemeOptionPreviewer()
121 mSmartSpaceDate = mContentView.findViewById(R.id.smart_space_date); in ThemeOptionPreviewer()
136 mContentView.measure( in ThemeOptionPreviewer()
139 mContentView.layout(0, 0, fullPreviewCardWidth, fullPreviewCardHeight); in ThemeOptionPreviewer()
144 mContentView.setScaleX(scale); in ThemeOptionPreviewer()
145 mContentView.setScaleY(scale); in ThemeOptionPreviewer()
147 mContentView.setPivotX(directionLTR ? 0f : mContentView.getMeasuredWidth()); in ThemeOptionPreviewer()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DScreensaver.kt44 private var mContentView: View? = null variable in com.android.deskclock.Screensaver
55 Utils.refreshAlarm(this@Screensaver, mContentView) in onChange()
62 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in <lambda>()
70 Utils.refreshAlarm(this@Screensaver, mContentView) in onReceive()
90 mContentView = findViewById(R.id.saver_container) in onAttachedToWindow()
91 mMainClockView = mContentView?.findViewById(R.id.main_clock) in onAttachedToWindow()
96 Utils.setClockIconTypeface(mContentView) in onAttachedToWindow()
100 mContentView?.systemUiVisibility = (View.SYSTEM_UI_FLAG_LOW_PROFILE in onAttachedToWindow()
106 mPositionUpdater = MoveScreensaverRunnable(mContentView!!, mMainClockView!!) in onAttachedToWindow()
123 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in onAttachedToWindow()
[all …]
DScreensaverActivity.kt52 Utils.refreshAlarm(this@ScreensaverActivity, mContentView) in onReceive()
62 Utils.refreshAlarm(this@ScreensaverActivity, mContentView) in onChange()
71 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in <lambda>()
77 private lateinit var mContentView: View variable in com.android.deskclock.ScreensaverActivity
89 mContentView = findViewById(R.id.saver_container) in onCreate()
90 mMainClockView = mContentView.findViewById(R.id.main_clock) in onCreate()
101 mContentView.systemUiVisibility = (View.SYSTEM_UI_FLAG_LOW_PROFILE in onCreate()
106 mContentView.setOnSystemUiVisibilityChangeListener(InteractionListener()) in onCreate()
108 mPositionUpdater = MoveScreensaverRunnable(mContentView, mMainClockView) in onCreate()
137 Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mContentView) in onResume()
[all …]
DMoveScreensaverRunnable.kt39 private val mContentView: View, constant in com.android.deskclock.MoveScreensaverRunnable
87 val smallestDim = min(mContentView.width, mContentView.height) in run()
99 val newX = getRandomPoint(mContentView.width - mSaverView.width.toFloat()) in run()
100 val newY = getRandomPoint(mContentView.height - mSaverView.height.toFloat()) in run()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBodyView.java52 private TextView mContentView; field in CarNotificationBodyView
98 mContentView = findViewById(R.id.notification_body_content); in onFinishInflate()
116 mContentView.setVisibility(View.VISIBLE); in bind()
117 mContentView.setMaxLines(mMaxLines); in bind()
118 mContentView.setText(content); in bind()
133 mContentView.setVisibility(View.VISIBLE); in bindTitleAndMessage()
134 mContentView.setMaxLines(mMaxLines); in bindTitleAndMessage()
135 mContentView.setText(content); in bindTitleAndMessage()
144 mContentView.setTextColor(color); in setSecondaryTextColor()
160 mContentView.setVisibility(View.GONE); in reset()
[all …]
/packages/apps/Settings/src/com/android/settings/
DMainClear.java100 private View mContentView; field in MainClear
295 mExternalStorageContainer = mContentView.findViewById(R.id.erase_external_container); in establishInitialState()
296 mExternalStorage = mContentView.findViewById(R.id.erase_external); in establishInitialState()
297 mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
298 mEsimStorage = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
302 mScrollView = mContentView.findViewById(R.id.main_clear_scrollview); in establishInitialState()
316 final View externalOption = mContentView.findViewById(R.id.erase_external_option_text); in establishInitialState()
319 final View externalAlsoErased = mContentView.findViewById(R.id.also_erases_external); in establishInitialState()
345 final View esimAlsoErased = mContentView.findViewById(R.id.also_erases_esim); in establishInitialState()
348 final View noCancelMobilePlan = mContentView.findViewById( in establishInitialState()
[all …]
DResetNetwork.java79 private View mContentView; field in ResetNetwork
172 mSubscriptionSpinner = (Spinner) mContentView.findViewById(R.id.reset_network_subscription); in establishInitialState()
173 mEsimContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
174 mEsimCheckbox = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
225 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_reset_network); in establishInitialState()
293 mContentView = inflater.inflate(R.layout.reset_network, null); in onCreateView()
296 return mContentView; in onCreateView()
DMainClearConfirm.java70 @VisibleForTesting View mContentView; field in MainClearConfirm
198 final GlifLayout layout = mContentView.findViewById(R.id.setup_wizard_layout); in establishFinalConfirmationState()
241 mContentView = inflater.inflate(R.layout.main_clear_confirm, null); in onCreateView()
246 return mContentView; in onCreateView()
251 TextView confirmationMessage = mContentView.findViewById(R.id.sud_layout_description); in setAccessibilityTitle()
262 ((TextView) mContentView.findViewById(R.id.sud_layout_description)) in setSubtitle()
DCryptKeeperConfirm.java105 private View mContentView; field in CryptKeeperConfirm
159 mFinalButton = (Button) mContentView.findViewById(R.id.execute_encrypt); in establishFinalConfirmationState()
172 mContentView = inflater.inflate(R.layout.crypt_keeper_confirm, null); in onCreateView()
174 return mContentView; in onCreateView()
DResetNetworkConfirm.java72 @VisibleForTesting View mContentView; field in ResetNetworkConfirm
241 mContentView.findViewById(R.id.execute_reset_network) in establishFinalConfirmationState()
248 ((TextView) mContentView.findViewById(R.id.reset_network_confirm)) in setSubtitle()
268 mContentView = inflater.inflate(R.layout.reset_network_confirm, null); in onCreateView()
271 return mContentView; in onCreateView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java100 private View mContentView; field in MainClearTest
111 mContentView = LayoutInflater.from(mActivity).inflate(R.layout.main_clear, null); in setUp()
128 mMainClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
129 mMainClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
130 mMainClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
148 mMainClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
149 mMainClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
150 mMainClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
167 mMainClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimGone_eraseEsimChecked()
168 mMainClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimGone_eraseEsimChecked()
[all …]
DResetNetworkConfirmTest.java100 mResetNetworkConfirm.mContentView = in setSubtitle_eraseEsim()
105 assertThat(((TextView) mResetNetworkConfirm.mContentView in setSubtitle_eraseEsim()
113 mResetNetworkConfirm.mContentView = in setSubtitle_notEraseEsim()
118 assertThat(((TextView) mResetNetworkConfirm.mContentView in setSubtitle_notEraseEsim()
DMainClearConfirmTest.java71 mainClearConfirm.mContentView = in setSubtitle_eraseEsim()
76 assertThat(((TextView) mainClearConfirm.mContentView in setSubtitle_eraseEsim()
85 mainClearConfirm.mContentView = in setSubtitle_notEraseEsim()
90 assertThat(((TextView) mainClearConfirm.mContentView in setSubtitle_notEraseEsim()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java83 private GLView mContentView; field in GLRootView
158 if (mContentView == content) return; in setContentPane()
159 if (mContentView != null) { in setContentPane()
164 mContentView.dispatchTouchEvent(cancelEvent); in setContentPane()
168 mContentView.detachFromRoot(); in setContentPane()
171 mContentView = content; in setContentPane()
214 if (mContentView == null || (mFlags & FLAG_NEED_LAYOUT) != 0) return; in requestLayoutContentPane()
266 if (mContentView != null && w != 0 && h != 0) { in layoutContentPane()
267 mContentView.layout(0, 0, w, h); in layoutContentPane()
410 if (mContentView != null) { in onDrawFrameLocked()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DInflateMessageDocumentHolder.java49 private View mContentView; field in InflateMessageDocumentHolder
56 mContentView = itemView.findViewById(R.id.content); in InflateMessageDocumentHolder()
61 mContentMessage = mContentView.findViewById(R.id.message); in InflateMessageDocumentHolder()
62 mContentImage = mContentView.findViewById(R.id.artwork); in InflateMessageDocumentHolder()
91 mContentView.setVisibility(View.VISIBLE); in bindContentMessageView()
99 mContentView.setVisibility(View.GONE); in bindCrossProfileMessageView()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DBaseLayoutInstaller.java144 private final View mContentView; field in BaseLayoutInstaller.InsetsUpdater
165 mContentView = contentView; in InsetsUpdater()
205 mContentView.getRootView().getViewTreeObserver() in installListeners()
233 getTopOfView(mContentViewContainer) - getTopOfView(mContentView)); in onGlobalLayout()
235 getLeftOfView(mContentViewContainer) - getLeftOfView(mContentView)); in onGlobalLayout()
237 getRightOfView(mContentView) - getRightOfView(mContentViewContainer)); in onGlobalLayout()
239 getBottomOfView(mContentView) - getBottomOfView(mContentViewContainer)); in onGlobalLayout()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/sharedlibrarysupport/
DSharedLibraryFactoryStub.java151 private final View mContentView; field in SharedLibraryFactoryStub.InsetsUpdater
172 mContentView = contentView; in InsetsUpdater()
221 getTopOfView(mContentViewContainer) - getTopOfView(mContentView)); in recalcInsets()
223 getLeftOfView(mContentViewContainer) - getLeftOfView(mContentView)); in recalcInsets()
225 getRightOfView(mContentView) - getRightOfView(mContentViewContainer)); in recalcInsets()
227 getBottomOfView(mContentView) - getBottomOfView(mContentViewContainer)); in recalcInsets()
267 mContentView.setPadding(insets.getLeft(), insets.getTop(), in dispatchNewInsets()
/packages/apps/TV/src/com/android/tv/ui/
DTvViewUiManager.java66 private final FrameLayout mContentView; field in TvViewUiManager
136 mContentView = contentView; in TvViewUiManager()
224 int viewWidth = mContentView.getWidth(); in isDisplayModeAvailable()
225 int viewHeight = mContentView.getHeight(); in isDisplayModeAvailable()
328 int decorViewWidth = mContentView.getWidth(); in setBackgroundColor()
329 int decorViewHeight = mContentView.getHeight(); in setBackgroundColor()
340 mContentView.setBackgroundColor(color); in setBackgroundColor()
350 mContentView.setBackgroundColor(color); in setBackgroundColor()
486 mBackgroundAnimator.setTarget(mContentView); in initBackgroundAnimatorIfNeeded()
494 mHandler.post(() -> mContentView.setBackgroundColor(mBackgroundColor)); in initBackgroundAnimatorIfNeeded()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.kt116 private lateinit var mContentView: ViewGroup variable in com.android.deskclock.alarms.AlarmActivity
183 mContentView = findViewById(R.id.content) as ViewGroup in onCreate()
184 mAlarmButton = mContentView.findViewById(R.id.alarm) as ImageView in onCreate()
185 mSnoozeButton = mContentView.findViewById(R.id.snooze) as ImageView in onCreate()
186 mDismissButton = mContentView.findViewById(R.id.dismiss) as ImageView in onCreate()
187 mHintView = mContentView.findViewById(R.id.hint) as TextView in onCreate()
189 val titleView: TextView = mContentView.findViewById(R.id.title) as TextView in onCreate()
190 val digitalClock: TextClock = mContentView.findViewById(R.id.digital_clock) as TextClock in onCreate()
191 val pulseView = mContentView.findViewById(R.id.pulse) as CircleView in onCreate()
353 mContentView.getLocationOnScreen(contentLocation) in onTouch()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DLoadingViewControllerTest.java42 private View mContentView; field in LoadingViewControllerTest
50 mContentView = new View(mContext); in setUp()
52 mController = new LoadingViewController(mLoadingView, mContentView); in setUp()
59 assertThat(mContentView.getVisibility()).isEqualTo(View.VISIBLE); in showContent_shouldSetContentVisible()
/packages/apps/Settings/src/com/android/settings/security/
DCryptKeeperSettings.java60 private View mContentView; field in CryptKeeperSettings
111 mContentView = inflater.inflate(R.layout.crypt_keeper_settings, null); in onCreateView()
116 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_encrypt); in onCreateView()
120 mPowerWarning = mContentView.findViewById(R.id.warning_unplugged); in onCreateView()
121 mBatteryWarning = mContentView.findViewById(R.id.warning_low_charge); in onCreateView()
123 return mContentView; in onCreateView()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java103 private ViewGroup mContentView; field in ProfileSelectFragment
108 mContentView = (ViewGroup) super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
112 final View tabContainer = mContentView.findViewById(R.id.tab_container); in onCreateView()
122 final FrameLayout listContainer = mContentView.findViewById(android.R.id.list_container); in onCreateView()
131 return mContentView; in onCreateView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DBottomActionBar.java107 private T mContentView; field in BottomActionBar.BottomSheetContent
111 mContentView = createView(context); in BottomSheetContent()
127 onRecreateView(mContentView); in recreateView()
129 mContentView = createView(context); in recreateView()
142 mContentView.setVisibility(mIsVisible ? VISIBLE : GONE); in setVisibility()
245 mBottomSheetView.addView(bottomSheetContent.mContentView); in bindBottomSheetContentWithAction()
524 mBottomSheetView.addView(bottomSheetContent.mContentView); in setColor()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.kt36 private val mContentView: View, constant in com.android.deskclock.widget.EmptyViewController
46 .addTarget(mContentView)
71 mContentView.visibility = if (mIsEmpty) View.GONE else View.VISIBLE in setEmpty()
/packages/apps/Settings/src/com/android/settings/widget/
DLoadingViewController.java36 private final View mContentView; field in LoadingViewController
45 mContentView = contentView; in LoadingViewController()
93 handleLoadingContainer(mLoadingView, mContentView, mEmptyView, in handleLoadingContainer()

12