Home
last modified time | relevance | path

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

123456

/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayPanelViewController.java294 Rect rect = getLayout().getClipBounds(); in animatePanel()
308 ViewTreeObserver panelTreeObserver = getLayout().getViewTreeObserver(); in animatePanel()
313 ViewTreeObserver obs = getLayout().getViewTreeObserver(); in animatePanel()
327 return mAnimateDirection > 0 ? 0 : getLayout().getHeight(); in getDefaultStartPosition()
337 ? getLayout().getHeight() in getEndPosition()
363 getLayout().setClipBounds(null); in animate()
416 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible()
453 if (getLayout().getHeight() > 0) { in calculatePercentageFromEndingEdge()
455 mPercentageFromEndingEdge = (int) Math.abs(height / getLayout().getHeight() * 100); in calculatePercentageFromEndingEdge()
460 return mAnimateDirection > 0 ? y : getLayout().getHeight() - y; in getVisiblePanelHeight()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java199 protected GlifLayout getLayout() { in getLayout() method in BiometricEnrollBase
204 TextView layoutTitle = getLayout().getHeaderTextView(); in setHeaderText()
211 getLayout().setHeaderText(title); in setHeaderText()
212 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText()
219 getLayout().getHeaderTextView().setContentDescription(getText(resId)); in setHeaderText()
223 getLayout().setHeaderText(title); in setHeaderText()
224 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText()
228 CharSequence previousDescription = getLayout().getDescriptionText(); in setDescriptionText()
232 getLayout().setDescriptionText(resId); in setDescriptionText()
237 getLayout().setDescriptionText(descriptionText); in setDescriptionText()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/
DOverlayPanelViewControllerTest.java187 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromTopBar_collapsesTowardsTopBar()
209 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar()
223 mOverlayPanelViewController.getLayout().getHeight()); in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar()
266 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromTopBar_expandsToBottom()
279 mOverlayPanelViewController.getLayout().getHeight()); in animateExpandPanel_withOverlayFromTopBar_expandsToBottom()
288 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromBottomBar_expandsToTop()
348 mOverlayPanelViewController.getLayout().setVisibility(View.INVISIBLE); in setPanelVisible_setTrue_setLayoutVisible()
352 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo(View.VISIBLE); in setPanelVisible_setTrue_setLayoutVisible()
378 mOverlayPanelViewController.getLayout().setVisibility(View.VISIBLE); in setPanelVisible_setFalse_setLayoutInvisible()
382 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo( in setPanelVisible_setFalse_setLayoutInvisible()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userswitcher/
DFullScreenUserSwitcherViewController.java72 UserSwitcherContainer container = getLayout().findViewById(R.id.user_switcher_container); in onFinishInflate()
78 if (event.getAction() == KeyEvent.ACTION_UP && getLayout().isVisibleToUser()) { in onFinishInflate()
85 mUserGridView = getLayout().findViewById(R.id.user_grid); in onFinishInflate()
106 getLayout().setVisibility(View.VISIBLE); in showInternal()
122 getLayout().setVisibility(View.GONE); in fadeOut()
DUserSwitchTransitionViewController.java153 ((ImageView) getLayout().findViewById(R.id.user_loading_avatar)) in drawUserIcon()
159 TextView msgView = getLayout().findViewById(R.id.user_loading); in populateLoadingText()
/packages/apps/Dialer/java/com/android/dialer/about/
DLicenseActivity.java57 int firstVisibleLine = textView.getLayout().getLineForVertical(scrollView.getScrollY()); in onSaveInstanceState()
58 int firstVisibleChar = textView.getLayout().getLineStart(firstVisibleLine); in onSaveInstanceState()
72 int firstVisibleLine = textView.getLayout().getLineForOffset(firstVisibleChar); in onRestoreInstanceState()
73 int offset = textView.getLayout().getLineTop(firstVisibleLine); in onRestoreInstanceState()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DArmenianPhonetic.java184 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in ArmenianPhonetic.ArmenianSymbols
186 super.getLayout(isPhone)); in getLayout()
203 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in ArmenianPhonetic.ArmenianSymbolsShifted
205 super.getLayout(isPhone)); in getLayout()
DArabic.java264 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Arabic.ArabicSymbols
265 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
339 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Arabic.ArabicSymbolsShifted
340 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DFarsi.java251 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Farsi.FarsiSymbols
252 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
340 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Farsi.FarsiSymbolsShifted
341 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DSymbolsShifted.java34 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in SymbolsShifted
140 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in SymbolsShifted.RtlSymbolsShifted
141 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DLayoutBase.java138 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() method in LayoutBase
140 return mSymbols.getLayout(isPhone); in getLayout()
143 return mSymbolsShifted.getLayout(isPhone); in getLayout()
DSymbols.java34 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Symbols
196 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Symbols.RtlSymbols
197 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DDvorak.java85 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() method in Dvorak
88 return super.getLayout(isPhone, elementId); in getLayout()
DHebrew.java176 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Hebrew.HebrewSymbols
177 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DHindi.java290 public ExpectedKey[][] getLayout(final boolean isPhone) { in getLayout() method in Hindi.HindiSymbols
291 return new ExpectedKeyboardBuilder(super.getLayout(isPhone)) in getLayout()
DPcQwerty.java143 public ExpectedKey[][] getLayout(final boolean isPhone, final int elementId) { in getLayout() method in PcQwerty
148 return super.getLayout(isPhone, elementId); in getLayout()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java281 ViewGroup container = (ViewGroup) getLayout(); in reinflate()
305 mNotificationView = getLayout().findViewById(R.id.notification_view); in onNotificationViewInflated()
427 Rect rect = getLayout().getClipBounds(); in setupNotificationPanel()
435 } else if (clippedHeight != getLayout().getHeight() && isTracking) { in setupNotificationPanel()
618 ? getLayout().getHeight() - diff in onScroll()
621 y = Math.max(0, Math.min(y, getLayout().getHeight())); in onScroll()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
DLayoutTestsBase.java51 mLayout = getLayout(); in setUp()
115 abstract LayoutBase getLayout(); in getLayout() method in LayoutTestsBase
135 final ExpectedKey[][] expectedKeyboard = mLayout.getLayout(isPhone(), elementId); in doKeyboardTests()
DTestsArabic.java35 LayoutBase getLayout() { return LAYOUT; } in getLayout() method in TestsArabic
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewController.java126 .create(getLayout().findViewById(R.id.keyguard_container), mExpansionCallback); in onFinishInflate()
272 return ((View) getLayout().getParent()).getViewRootImpl(); in getViewRootImpl()
354 getLayout().setVisibility(View.INVISIBLE); in hideKeyguardToPrepareBouncer()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DMessagePageFrameLayout.java77 guidanceTextContainerTop -= mStatusView.getLayout().getLineBaseline(1); in onLayout()
79 guidanceTextContainerTop -= mStatusView.getLayout().getLineBaseline(0); in onLayout()
DGuidanceRelativeLayout.java77 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(1); in onLayout()
79 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(0); in onLayout()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DMessageTest.java78 assertThat(mInflateMessage.getLayout()) in testInflateMessage_updateToCrossProfileNoPermission()
94 assertThat(mInflateMessage.getLayout()) in testInflateMessage_updateToCrossProfileQuietMode()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/widget/
DCarUiTextViewImpl.java95 if (getLayout() == null) { in updateText()
137 Layout layout = requireNonNull(getLayout()); in getTruncatedText()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrolling.java161 mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class); in onCreate()
309 getLayout().setHeaderText( in updateTitleAndDescription()
315 getLayout().getHeaderTextView().setContentDescription(description); in updateTitleAndDescription()

123456