Home
last modified time | relevance | path

Searched refs:getLayout (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/window/
DOverlayPanelViewController.java264 Rect rect = getLayout().getClipBounds(); in animatePanel()
275 ViewTreeObserver notificationTreeObserver = getLayout().getViewTreeObserver(); in animatePanel()
280 ViewTreeObserver obs = getLayout().getViewTreeObserver(); in animatePanel()
294 return mAnimateDirection > 0 ? 0 : getLayout().getHeight(); in getDefaultStartPosition()
304 ? getLayout().getHeight() in getEndPosition()
330 getLayout().setClipBounds(null); in animate()
383 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible()
421 if (getLayout().getHeight() > 0) { in calculatePercentageFromEndingEdge()
423 mPercentageFromEndingEdge = (int) Math.abs(height / getLayout().getHeight() * 100); in calculatePercentageFromEndingEdge()
428 return mAnimateDirection > 0 ? y : getLayout().getHeight() - y; in getVisiblePanelHeight()
[all …]
DOverlayViewController.java119 protected final View getLayout() { in getLayout() method in OverlayViewController
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DFullScreenUserSwitcherViewController.java60 mUserGridView = getLayout().findViewById(R.id.user_grid); in onFinishInflate()
70 getLayout().setVisibility(View.VISIBLE); in showInternal()
86 getLayout().setVisibility(View.GONE); in fadeOut()
97 if (getLayout() == null) { in invalidate()
102 getLayout().invalidate(); in invalidate()
117 if (getLayout() == null) { in isVisible()
122 return getLayout().getVisibility() == View.VISIBLE; in isVisible()
DUserSwitchTransitionViewController.java141 ((ImageView) getLayout().findViewById(R.id.user_loading_avatar)) in drawUserIcon()
147 TextView msgView = getLayout().findViewById(R.id.user_loading); in populateLoadingText()
/frameworks/base/core/java/android/text/method/
DArrowKeyMovementMethod.java70 final Layout layout = widget.getLayout(); in left()
80 final Layout layout = widget.getLayout(); in right()
90 final Layout layout = widget.getLayout(); in up()
100 final Layout layout = widget.getLayout(); in down()
110 final Layout layout = widget.getLayout(); in pageUp()
134 final Layout layout = widget.getLayout(); in pageDown()
178 final Layout layout = widget.getLayout(); in lineStart()
188 final Layout layout = widget.getLayout(); in lineEnd()
318 if (view.getLayout() == null) { in onTakeFocus()
DBaseMovementMethod.java403 return widget.getLayout().getLineForVertical(widget.getScrollY()); in getTopLine()
407 return widget.getLayout().getLineForVertical(widget.getScrollY() + getInnerHeight(widget)); in getBottomLine()
423 final Layout layout = widget.getLayout(); in getScrollBoundsLeft()
440 final Layout layout = widget.getLayout(); in getScrollBoundsRight()
509 final Layout layout = widget.getLayout(); in scrollUp()
536 final Layout layout = widget.getLayout(); in scrollDown()
566 final Layout layout = widget.getLayout(); in scrollPageUp()
586 final Layout layout = widget.getLayout(); in scrollPageDown()
608 final Layout layout = widget.getLayout(); in scrollTop()
626 final Layout layout = widget.getLayout(); in scrollBottom()
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/window/
DOverlayPanelViewControllerTest.java185 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromTopBar_collapsesTowardsTopBar()
207 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar()
221 mOverlayPanelViewController.getLayout().getHeight()); in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar()
276 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromTopBar_expandsToBottom()
289 mOverlayPanelViewController.getLayout().getHeight()); in animateExpandPanel_withOverlayFromTopBar_expandsToBottom()
298 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromBottomBar_expandsToTop()
358 mOverlayPanelViewController.getLayout().setVisibility(View.INVISIBLE); in setPanelVisible_setTrue_setLayoutVisible()
362 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo(View.VISIBLE); in setPanelVisible_setTrue_setLayoutVisible()
396 mOverlayPanelViewController.getLayout().setVisibility(View.VISIBLE); in setPanelVisible_setFalse_setLayoutInvisible()
400 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo( in setPanelVisible_setFalse_setLayoutInvisible()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java122 if (getLayout() != null && getLayout().getHeight() != availableHeight) { in onMeasure()
129 Layout layout = getLayout(); in onMeasure()
DMessagingTextMessage.java105 Layout layout = getLayout(); in getMeasuredType()
128 Layout layout = getLayout();
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java206 ViewGroup container = (ViewGroup) getLayout(); in reinflate()
219 mNotificationView = getLayout().findViewById(R.id.notification_view); in onNotificationViewInflated()
341 Rect rect = getLayout().getClipBounds(); in setupNotificationPanel()
350 } else if (clippedHeight != getLayout().getHeight() && isTracking) { in setupNotificationPanel()
533 ? getLayout().getHeight() - diff in onScroll()
536 y = Math.max(0, Math.min(y, getLayout().getHeight())); in onScroll()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelper.java259 final Layout layout = view.getLayout(); in getBoundsForSpan()
296 if (view.getLayout() == null) { in getOffsetForPosition()
318 return view.getLayout().getLineForVertical((int) y); in getLineAtCoordinate()
323 return view.getLayout().getOffsetForHorizontal(line, x); in getOffsetAtCoordinate()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewController.java147 getLayout().findViewById(R.id.keyguard_container), mDismissCallbackRegistry, in onFinishInflate()
290 return ((View) getLayout().getParent()).getViewRootImpl(); in getViewRootImpl()
369 getLayout().setVisibility(View.INVISIBLE); in hideKeyguardToPrepareBouncer()
388 getLayout().setVisibility(View.VISIBLE); in revealKeyguardIfBouncerPrepared()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DBaseCompatActivity.java26 int getLayout() { in getLayout() method in BaseCompatActivity
DBaseDesignActivity.java26 int getLayout() { in getLayout() method in BaseDesignActivity
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DTextViewTransformState.java106 Layout l = mText.getLayout(); in getViewWidth()
123 Layout l = mText.getLayout(); in getEllipsisCount()
/frameworks/base/core/tests/coretests/src/android/view/
DMergeTest.java36 final ViewGroup layout = activity.getLayout(); in testMerged()
DMerge.java42 public ViewGroup getLayout() { in getLayout() method in Merge
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerImeController.java106 private SplitDisplayLayout getLayout() { in getLayout() method in DividerImeController
153 && !imeIsFloating && !getLayout().mDisplayLayout.isLandscape() in onImeStartPositioning()
203 final SplitDisplayLayout splitLayout = getLayout(); in updateImeAdjustState()
286 final SplitDisplayLayout splitLayout = getLayout(); in onProgress()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DGoneParentFocusedChildTest.java39 assertNotNull(getActivity().getLayout()); in testPreconditinos()
DAdjacentVerticalRectLists.java45 public LinearLayout getLayout() { in getLayout() method in AdjacentVerticalRectLists
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLLOfButtons1.java50 public LinearLayout getLayout() { in getLayout() method in LLOfButtons1
DLLEditTextThenButton.java44 public LinearLayout getLayout() { in getLayout() method in LLEditTextThenButton
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DBaseDesignActivityTest.java50 assertThat(mDesignActivity.getLayout()).isEqualTo(R.layout.base_design_activity); in testLayoutIsDesign()
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java197 try (XmlResourceParser parser = mRes.getLayout(R.layout.test_relative_layout)) { in getLayoutAndTravese()
212 try (XmlResourceParser parser = mRes.getLayout(R.layout.test_relative_layout)) { in getLayoutAndTraverseInvalidateCaches()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsItem.java63 Layout messageLayout = message.getLayout(); in isTruncated()

123