Home
last modified time | relevance | path

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

12

/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.java75 private TextView mContentView; field in CarNotificationBodyView
136 mContentView = findViewById(R.id.notification_body_content); in onFinishInflate()
193 if (mContentView != null) { in bind()
195 mContentView.setVisibility(View.VISIBLE); in bind()
196 mContentView.setMaxLines(mMaxLines); in bind()
197 mContentView.setText(content); in bind()
199 mContentView.setVisibility(View.GONE); in bind()
227 if (mContentView != null) { in setSecondaryTextColor()
228 mContentView.setTextColor(color); in setSecondaryTextColor()
236 if (mContentView != null) { in setContentMaxLines()
[all …]
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/appstyledview/
DAppStyledViewControllerAdapterProxyV1.java36 private View mContentView; field in AppStyledViewControllerAdapterProxyV1
44 if (mContentView == null) { in getView()
49 return mStaticController.createAppStyledView(mContentView); in getView()
54 mContentView = view; in setContent()
55 mStaticController.setContent(mContentView); in setContent()
DAppStyledViewControllerAdapterProxyV3.java38 private View mContentView; field in AppStyledViewControllerAdapterProxyV3
46 if (mContentView == null) { in getView()
50 return mStaticController.createAppStyledView(mContentView); in getView()
55 mContentView = view; in setContent()
56 mStaticController.setContent(mContentView); in setContent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DMainClearTest.java106 private View mContentView; field in MainClearTest
120 mContentView = LayoutInflater.from(mActivity).inflate(R.layout.main_clear, null); in setUp()
137 mMainClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
138 mMainClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
139 mMainClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimChecked()
157 mMainClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
158 mMainClear.mExternalStorage = mContentView.findViewById(R.id.erase_external); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
159 mMainClear.mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in testShowFinalConfirmation_eraseEsimVisible_eraseEsimUnchecked()
176 mMainClear.mEsimStorage = mContentView.findViewById(R.id.erase_esim); in testShowFinalConfirmation_eraseEsimGone_eraseEsimChecked()
177 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()
115 mResetNetworkConfirm.mContentView = in setSubtitle_notEraseEsim()
120 assertThat(((TextView) mResetNetworkConfirm.mContentView in setSubtitle_notEraseEsim()
DMainClearConfirmTest.java86 mainClearConfirm.mContentView = in setSubtitle_eraseEsim()
91 assertThat(((TextView) mainClearConfirm.mContentView in setSubtitle_eraseEsim()
100 mainClearConfirm.mContentView = in setSubtitle_notEraseEsim()
105 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.java51 private View mContentView; field in InflateMessageDocumentHolder
58 mContentView = itemView.findViewById(R.id.content); in InflateMessageDocumentHolder()
63 mContentMessage = mContentView.findViewById(R.id.message); in InflateMessageDocumentHolder()
64 mContentImage = mContentView.findViewById(R.id.artwork); in InflateMessageDocumentHolder()
93 mContentView.setVisibility(View.VISIBLE); in bindContentMessageView()
101 mContentView.setVisibility(View.GONE); in bindCrossProfileMessageView()
/packages/apps/Settings/src/com/android/settings/
DMainClear.java108 private View mContentView; field in MainClear
316 mExternalStorageContainer = mContentView.findViewById(R.id.erase_external_container); in establishInitialState()
317 mExternalStorage = mContentView.findViewById(R.id.erase_external); in establishInitialState()
318 mEsimStorageContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
319 mEsimStorage = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
323 mScrollView = mContentView.findViewById(R.id.main_clear_scrollview); in establishInitialState()
334 final View externalOption = mContentView.findViewById(R.id.erase_external_option_text); in establishInitialState()
337 final View externalAlsoErased = mContentView.findViewById(R.id.also_erases_external); in establishInitialState()
361 final View esimAlsoErased = mContentView.findViewById(R.id.also_erases_esim); in establishInitialState()
364 final View noCancelMobilePlan = mContentView.findViewById( in establishInitialState()
[all …]
DResetNetwork.java80 private View mContentView; field in ResetNetwork
117 } else if (mContentView != null) { in onActivityLauncherResult()
198 mSubscriptionSpinner = (Spinner) mContentView.findViewById(R.id.reset_network_subscription); in establishInitialState()
199 mEsimContainer = mContentView.findViewById(R.id.erase_esim_container); in establishInitialState()
200 mEsimCheckbox = mContentView.findViewById(R.id.erase_esim); in establishInitialState()
252 mInitiateButton = (Button) mContentView.findViewById(R.id.initiate_reset_network); in establishInitialState()
284 if (mContentView == null) { in onResume()
322 mContentView = inflater.inflate(R.layout.reset_mobile_network_settings, null); in onCreateView()
325 return mContentView; in onCreateView()
DMainClearConfirm.java73 @VisibleForTesting View mContentView; field in MainClearConfirm
214 final GlifLayout layout = mContentView.findViewById(R.id.setup_wizard_layout); in establishFinalConfirmationState()
257 mContentView = inflater.inflate(R.layout.main_clear_confirm, null); in onCreateView()
262 return mContentView; in onCreateView()
267 TextView confirmationMessage = mContentView.findViewById(R.id.sud_layout_description); in setAccessibilityTitle()
278 TextView confirmationMessage = mContentView.findViewById(R.id.sud_layout_description); in setSubtitle()
DResetNetworkConfirm.java58 @VisibleForTesting View mContentView; field in ResetNetworkConfirm
168 mContentView.findViewById(R.id.execute_reset_network) in establishFinalConfirmationState()
175 ((TextView) mContentView.findViewById(R.id.reset_network_confirm)) in setSubtitle()
189 mContentView = inflater.inflate(R.layout.reset_network_confirm, null); in onCreateView()
192 return mContentView; in onCreateView()
/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/privatespace/delete/
DPrivateSpaceDeleteFragment.java53 private View mContentView; field in PrivateSpaceDeleteFragment
105 mContentView = inflater.inflate(R.layout.private_space_delete, container, false); in onCreateView()
106 final GlifLayout layout = mContentView.findViewById(R.id.private_space_delete_layout); in onCreateView()
125 return mContentView; in onCreateView()
129 View accountsLabel = mContentView.findViewById(R.id.accounts_label); in loadPrivateProfileAccountList()
130 LinearLayout contents = (LinearLayout) mContentView.findViewById(R.id.accounts); in loadPrivateProfileAccountList()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/
DBaseLayoutInstaller.java172 private final View mContentView; field in BaseLayoutInstaller.InsetsUpdater
193 mContentView = contentView; in InsetsUpdater()
233 mContentView.getRootView().getViewTreeObserver() in installListeners()
261 getTopOfView(mContentViewContainer) - getTopOfView(mContentView)); in onGlobalLayout()
263 getLeftOfView(mContentViewContainer) - getLeftOfView(mContentView)); in onGlobalLayout()
265 getRightOfView(mContentView) - getRightOfView(mContentViewContainer)); in onGlobalLayout()
267 getBottomOfView(mContentView) - getBottomOfView(mContentViewContainer)); in onGlobalLayout()
/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()
354 mContentView.getLocationOnScreen(contentLocation) in onTouch()
[all …]
/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()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DBottomActionBar.java111 private T mContentView; field in BottomActionBar.BottomSheetContent
115 mContentView = createView(context); in BottomSheetContent()
131 onRecreateView(mContentView); in recreateView()
133 mContentView = createView(context); in recreateView()
146 mContentView.setVisibility(mIsVisible ? VISIBLE : GONE); in setVisibility()
287 mBottomSheetView.addView(bottomSheetContent.mContentView); in bindBottomSheetContentWithAction()
576 mBottomSheetView.addView(bottomSheetContent.mContentView); in setColor()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/view/
DQCRowView.java69 private View mContentView; field in QCRowView
191 mContentView = findViewById(R.id.qc_row_content); in init()
212 CarUiUtils.makeAllViewsEnabled(mContentView, row.isEnabled()); in setRow()
216 mContentView.setOnClickListener(v -> { in setRow()
220 mContentView.setOnClickListener(null); in setRow()
223 mContentView.setOnClickListener(v -> { in setRow()
227 mContentView.setOnClickListener(null); in setRow()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java122 private ViewGroup mContentView; field in ProfileSelectFragment
129 mContentView = (ViewGroup) super.onCreateView(inflater, container, savedInstanceState); in onCreateView()
136 final View tabContainer = mContentView.findViewById(R.id.tab_container); in onCreateView()
157 final FrameLayout listContainer = mContentView.findViewById(android.R.id.list_container); in onCreateView()
166 return mContentView; in onCreateView()

12