Home
last modified time | relevance | path

Searched refs:mContainer (Results 1 – 25 of 57) sorted by relevance

123

/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardController.java108 mFirstClickShiftLocked = mContainer.isCapsLockOn(); in addEvent()
111 mContainer.onShiftDoubleClick(mFirstClickShiftLocked); in addEvent()
139 private LeanbackKeyboardContainer mContainer; field in LeanbackKeyboardController
165 mContainer.setVoiceListener(this); in LeanbackKeyboardController()
166 mContainer.setDismissListener(this); in LeanbackKeyboardController()
173 if (mContainer != null) { in onStartInput()
174 mContainer.onStartInput(attribute); in onStartInput()
184 if (mContainer != null) { in onStartInputView()
185 mContainer.onStartInputView(); in onStartInputView()
205 mContainer.onInitInputView(); in initInputView()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DBinderKeyValueContainerTest.java40 private final BinderKeyValueContainer<String, TestBinderInterface> mContainer = field in BinderKeyValueContainerTest
47 assertThat(mContainer.size()).isEqualTo(0); in testBasicFunctions()
50 mContainer.put(mKey1, mInterface1); in testBasicFunctions()
51 assertThat(mContainer.get(mKey1)).isEqualTo(mInterface1); in testBasicFunctions()
52 assertThat(mContainer.get(mKey2)).isNull(); in testBasicFunctions()
53 assertThat(mContainer.size()).isEqualTo(1); in testBasicFunctions()
54 assertThat(mContainer.containsKey(mKey1)).isTrue(); in testBasicFunctions()
55 assertThat(mContainer.containsKey(mKey2)).isFalse(); in testBasicFunctions()
58 mContainer.put(mKey2, mInterface2); in testBasicFunctions()
59 assertThat(mContainer.get(mKey2)).isEqualTo(mInterface2); in testBasicFunctions()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DLauncherRecentsView.java97 .playPlaceholderDismissAnim(mContainer, LAUNCHER_SPLIT_SELECTION_EXIT_HOME); in handleStartHome()
99 AbstractFloatingView.closeAllOpenViews(mContainer, animated); in handleStartHome()
104 return mContainer.canStartHomeSafely(); in canStartHomeSafely()
109 return mContainer.getStateManager(); in getStateManager()
118 mContainer.getAllAppsController().setState(state); in onTaskLaunchAnimationEnd()
128 if (mContainer.hasPendingSplitSelectInfo()) { in onTaskIconChanged()
129 PendingSplitSelectInfo recoveryData = mContainer.getPendingSplitSelectInfo(); in onTaskIconChanged()
135 mContainer.finishSplitSelectRecovery(); in onTaskIconChanged()
152 setOverviewGridEnabled(toState.displayOverviewTasksAsGrid(mContainer.getDeviceProfile())); in onStateTransitionStart()
166 if (mContainer.getDesktopVisibilityController() != null) { in onStateTransitionStart()
[all …]
DTaskMenuView.java69 private RecentsViewContainer mContainer; field in TaskMenuView
89 mContainer = RecentsViewContainer.containerFromContext(context); in TaskMenuView()
103 BaseDragLayer dl = mContainer.getDragLayer(); in onControllerInterceptTouchEvent()
137 && ((RecentsView) mContainer.getOverviewPanel()).isOnGridBottomRow(mTaskView))) {
184 mContainer.getDragLayer().addView(this);
213 LinearLayout menuOptionView = (LinearLayout) mContainer.getLayoutInflater().inflate(
222 menuOptionView, mContainer.getDeviceProfile());
230 RecentsView recentsView = mContainer.getOverviewPanel();
236 DeviceProfile deviceProfile = mContainer.getDeviceProfile();
237 mContainer.getDragLayer().getDescendantRectRelativeToSelf(
[all …]
DDigitalWellBeingToast.java89 private final RecentsViewContainer mContainer; field in DigitalWellBeingToast
111 mContainer = container; in DigitalWellBeingToast()
128 TextView toast = mContainer.getViewCache().getView(R.layout.digital_wellbeing_toast, in setLimit()
129 mContainer.asContext(), mTaskView); in setLimit()
130 toast.setText(prefixTextWithIcon(mContainer.asContext(), R.drawable.ic_hourglass_top, in setLimit()
193 || !mContainer.getDeviceProfile().isTablet in getSplitBannerConfig()
199 if (!mContainer.getDeviceProfile().isLeftRightSplit) { in getSplitBannerConfig()
241 return mContainer.asContext().getString(durationLessThanOneMinuteStringId); in getReadableDuration()
264 return mContainer.asContext().getString( in getText()
301 mContainer.asContext().getString( in getContentDescriptionForTask()
[all …]
DFloatingTaskView.java70 ((RecentsView) view.mContainer.getOverviewPanel()).getPagedOrientationHandler()
74 view.mContainer.getDeviceProfile()
80 return ((RecentsView) view.mContainer.getOverviewPanel())
84 view.mContainer.getDeviceProfile()
93 private final RecentsViewContainer mContainer; field in FloatingTaskView
111 mContainer = RecentsViewContainer.containerFromContext(context); in FloatingTaskView()
180 mContainer.getDragLayer().getLocationOnScreen(); in updateInitialPositionForView()
186 Utilities.getBoundsForViewInDragLayer(mContainer.getDragLayer(), originalView, in updateInitialPositionForView()
242 lp.setMarginStart(mContainer.getDeviceProfile().widthPx - Math.round(pos.right)); in initPosition()
259 boolean isTablet = mContainer.getDeviceProfile().isTablet; in addStagingAnimation()
[all …]
DSplitInstructionsView.java62 private final RecentsViewContainer mContainer; field in SplitInstructionsView
101 mContainer = RecentsViewContainer.containerFromContext(context); in SplitInstructionsView()
166 RecentsView recentsView = mContainer.getOverviewPanel(); in exitSplitSelection()
171 long duration = startState.getTransitionDuration(mContainer.asContext(), false); in exitSplitSelection()
182 .createPlaceholderDismissAnim(mContainer, in exitSplitSelection()
190 ((RecentsView) mContainer.getOverviewPanel()).getPagedOrientationHandler() in ensureProperRotation()
193 mContainer.getDeviceProfile(), in ensureProperRotation()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPageBottomControls.java43 private ViewGroup mContainer; field in PhotoPageBottomControls
66 mContainer = (ViewGroup) inflater in PhotoPageBottomControls()
68 mParentLayout.addView(mContainer); in PhotoPageBottomControls()
70 for (int i = mContainer.getChildCount() - 1; i >= 0; i--) { in PhotoPageBottomControls()
71 View child = mContainer.getChildAt(i); in PhotoPageBottomControls()
83 mContainer.clearAnimation(); in hide()
85 mContainer.startAnimation(mContainerAnimOut); in hide()
86 mContainer.setVisibility(View.INVISIBLE); in hide()
90 mContainer.clearAnimation(); in show()
92 mContainer.startAnimation(mContainerAnimIn); in show()
[all …]
DPhotoPageProgressBar.java28 private ViewGroup mContainer; field in PhotoPageProgressBar
34 mContainer = (ViewGroup) inflater.inflate(R.layout.photopage_progress_bar, parentLayout, in PhotoPageProgressBar()
36 parentLayout.addView(mContainer); in PhotoPageProgressBar()
37 mProgress = mContainer.findViewById(R.id.photopage_progress_foreground); in PhotoPageProgressBar()
41 mContainer.setVisibility(View.VISIBLE); in setProgress()
43 layoutParams.width = mContainer.getWidth() * progressPercent / 100; in setProgress()
48 mContainer.setVisibility(View.INVISIBLE); in hideProgress()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java95 private final Rect mContainer = new Rect(); field in ConversationFastScroller
280 final int verticalScrollLength = mContainer.height() - mThumbHeight; in updateScrollPos()
281 final int verticalScrollStart = mContainer.top + mThumbHeight / 2; in updateScrollPos()
401 final int verticalScrollLength = mContainer.height() - mThumbHeight; in handleDragMove()
402 final int verticalScrollStart = mContainer.top + (mThumbHeight / 2); in handleDragMove()
430 mContainer.set(left, top + mRv.getPaddingTop(), right, bottom); in onLayoutChange()
436 int trackHeight = Math.max(0, mContainer.height()); in layoutTrack()
441 int left = mPosRight ? (mContainer.right - mTrackWidth) : mContainer.left; in layoutTrack()
442 int top = mContainer.top; in layoutTrack()
443 int right = mPosRight ? mContainer.right : (mContainer.left + mTrackWidth); in layoutTrack()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsView.java73 mContainer.getStateManager().addStateListener(this); in FallbackRecentsView()
86 mContainer.startHome(); in handleStartHome()
87 AbstractFloatingView.closeAllOpenViews(mContainer, mContainer.isStarted()); in handleStartHome()
92 return mContainer.canStartHomeSafely(); in canStartHomeSafely()
97 return mContainer.getStateManager(); in getStateManager()
223 mContainer.getStateManager().goToState(RecentsState.MODAL_TASK, animate); in setModalStateEnabled()
225 if (mContainer.isInState(RecentsState.MODAL_TASK)) { in setModalStateEnabled()
226 mContainer.getStateManager().goToState(DEFAULT, animate); in setModalStateEnabled()
236 mContainer.getStateManager().goToState(OVERVIEW_SPLIT_SELECT); in initiateSplitSelect()
242 setOverviewGridEnabled(toState.displayOverviewTasksAsGrid(mContainer.getDeviceProfile())); in onStateTransitionStart()
[all …]
DFallbackNavBarTouchController.java37 private final RecentsViewContainer mContainer; field in FallbackNavBarTouchController
42 mContainer = container; in FallbackNavBarTouchController()
44 DisplayController.getNavigationMode(mContainer.asContext()); in FallbackNavBarTouchController()
47 DisplayController.INSTANCE.get(mContainer.asContext()).getInfo()); in FallbackNavBarTouchController()
48 mTriggerSwipeUpTracker = new TriggerSwipeUpTouchTracker(mContainer.asContext(), in FallbackNavBarTouchController()
79 mContainer.<FallbackRecentsView>getOverviewPanel().startHome(); in onSwipeUp()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSwipeHandlerV2.java84 if (mContainer == null) { in createHomeAnimationFactory()
106 && (mContainer.getDesktopVisibilityController() == null in createHomeAnimationFactory()
107 || !mContainer.getDesktopVisibilityController().areDesktopTasksVisible()); in createHomeAnimationFactory()
109 mContainer.getRootView().setForceHideBackArrow(true); in createHomeAnimationFactory()
111 mContainer.setHintUserWillBeActive(); in createHomeAnimationFactory()
134 FloatingIconView floatingIconView = getFloatingIconView(mContainer, workspaceView, null,
135 mContainer.getTaskbarUIController() == null
137 : mContainer.getTaskbarUIController().findMatchingView(workspaceView),
177 if (mContainer != null) {
178 new ScalingWorkspaceRevealAnim(mContainer, mSiblingAnimation,
[all …]
DAbsSwipeUpHandler.java191 protected @Nullable T mContainer; field in AbsSwipeUpHandler
201 mContainer = null;
488 if (mContainer == container) { in onActivityInit()
492 if (mContainer != null) { in onActivityInit()
507 mContainer = container; in onActivityInit()
511 mContainer.clearForceInvisibleFlag(STATE_HANDLER_INVISIBILITY_FLAGS); in onActivityInit()
513 mContainer.addForceInvisibleFlag(STATE_HANDLER_INVISIBILITY_FLAGS); in onActivityInit()
548 mContainer.runOnBindToTouchInteractionService(this::onLauncherBindToService); in onActivityInit()
549 mContainer.addEventCallback(EVENT_DESTROYED, mLauncherOnDestroyCallback); in onActivityInit()
562 if (container == null || mContainer != container) { in onLauncherStart()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DEditorPlaceHolder.java34 private FrameLayout mContainer = null; field in EditorPlaceHolder
43 mContainer = container; in setContainer()
63 editor.createEditor(mActivity, mContainer); in showEditor()
65 mContainer.setVisibility(View.VISIBLE); in showEditor()
66 mContainer.removeAllViews(); in showEditor()
74 mContainer.addView(eview); in showEditor()
85 mContainer.setVisibility(View.GONE); in hide()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/
DVoicePlateController.java34 private View mContainer; field in VoicePlateController
53 mContainer = mVoicePlate.findViewById(R.id.container); in VoicePlateController()
81 mContainer.setBackgroundColor(mContext in doUpdateState()
86 mContainer.setBackgroundColor(mContext in doUpdateState()
91 mContainer.setBackgroundColor(mContext in doUpdateState()
96 mContainer.setBackgroundColor(mContext in doUpdateState()
101 mContainer.setBackgroundColor(mContext in doUpdateState()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickFragment.java87 private View mContainer; field in PickFragment
111 mContainer = inflater.inflate(R.layout.fragment_pick, container, false); in onCreateView()
113 mPick = (Button) mContainer.findViewById(android.R.id.button1); in onCreateView()
114 mPickOverlay = mContainer.findViewById((R.id.pick_button_overlay)); in onCreateView()
118 mCancel = (Button) mContainer.findViewById(android.R.id.button2); in onCreateView()
122 return mContainer; in onCreateView()
161 if (mContainer != null) { in setPickTarget()
173 mContainer.setVisibility(View.VISIBLE); in updateView()
175 mContainer.setVisibility(View.GONE); in updateView()
212 mContainer.setVisibility(View.GONE); in updateView()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskRemovedDuringLaunchListener.java43 private RecentsViewContainer mContainer; field in TaskRemovedDuringLaunchListener
69 mContainer = container; in register()
78 mContainer.removeEventCallback(EVENT_STOPPED, mUnregisterCallback); in unregister()
79 mContainer.removeEventCallback(EVENT_RESUMED, mResumeCallback); in unregister()
80 mContainer.removeEventCallback(EVENT_DESTROYED, mUnregisterCallback); in unregister()
82 mContainer = null; in unregister()
DRecentsAtomicAnimationFactory.java39 protected final CONTAINER mContainer; field in RecentsAtomicAnimationFactory
43 mContainer = container; in RecentsAtomicAnimationFactory()
50 ObjectAnimator alpha = ObjectAnimator.ofFloat(mContainer.getOverviewPanel(), in createStateElementAnimation()
54 RecentsView rv = mContainer.getOverviewPanel(); in createStateElementAnimation()
55 return new SpringAnimationBuilder(mContainer) in createStateElementAnimation()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDetailsHelper.java30 private DetailsViewContainer mContainer; field in DetailsHelper
54 mContainer = new DialogDetailsView(activity, source); in DetailsHelper()
58 if (mContainer instanceof GLView) { in layout()
59 GLView view = (GLView) mContainer; in layout()
67 mContainer.reloadDetails(); in reloadDetails()
71 mContainer.setCloseListener(listener); in setCloseListener()
95 mContainer.show(); in show()
99 mContainer.hide(); in hide()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DQuickstepAtomicAnimationFactory.java97 RecentsView overview = mContainer.getOverviewPanel(); in prepareForAtomicAnimation()
121 if (DisplayController.getNavigationMode(mContainer).hasGestures in prepareForAtomicAnimation()
139 if (mContainer.getDeviceProfile().isTaskbarPresent) { in prepareForAtomicAnimation()
150 Workspace<?> workspace = mContainer.getWorkspace(); in prepareForAtomicAnimation()
163 Hotseat hotseat = mContainer.getHotseat(); in prepareForAtomicAnimation()
171 if (DisplayController.getNavigationMode(mContainer).hasGestures) { in prepareForAtomicAnimation()
204 ValueAnimator va = getWorkspaceSpringScaleAnimator(mContainer, in prepareForAtomicAnimation()
205 mContainer.getWorkspace(), in prepareForAtomicAnimation()
206 toState.getWorkspaceScaleAndTranslation(mContainer).scale); in prepareForAtomicAnimation()
211 AllAppsSwipeController.applyAllAppsToNormalConfig(mContainer, config); in prepareForAtomicAnimation()
[all …]
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DFolder.java28 private final UiObject2 mContainer; field in Folder
33 this.mContainer = launcher.waitForLauncherObject(FOLDER_CONTENT_RES_ID); in Folder()
45 mContainer, in getAppIcon()
58 mLauncher.touchOutsideContainer(this.mContainer, false /* tapRight */); in close()
64 return mLauncher.getVisibleBounds(mContainer); in getDropLocationBounds()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOverviewInputConsumer.java47 private final T mContainer; field in OverviewInputConsumer
62 mContainer = container; in OverviewInputConsumer()
108 mContainer.getRootView().clearFocus(); in onMotionEvent()
114 mContainer.dispatchGenericMotionEvent(ev); in onHoverEvent()
123 MediaSessionManager mgr = mContainer.asContext() in onKeyEvent()
133 View viewRoot = mContainer.getRootView(); in onKeyEvent()
159 mContainer.dispatchKeyEvent(ev); in onKeyEvent()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DBackgroundPanelBaseActivity.java41 private ViewGroup mContainer; field in BackgroundPanelBaseActivity
47 if (mContainer != null) {
48 mContainer.setPadding(appliedInsets.left, appliedInsets.top, appliedInsets.right,
68 mContainer = findViewById(R.id.container); in onCreate()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/activity/
DNavigationTaskViewWallpaperActivity.java41 private ViewGroup mContainer; field in NavigationTaskViewWallpaperActivity
47 if (mContainer != null) {
48 mContainer.setPadding(appliedInsets.left, appliedInsets.top, appliedInsets.right,
69 mContainer = findViewById(R.id.container); in onCreate()

123