Home
last modified time | relevance | path

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

123456

/packages/apps/Car/SystemUI/src/com/android/systemui/car/window/
DOverlayPanelViewController.java313 Rect rect = getLayout().getClipBounds();
336 ViewTreeObserver panelTreeObserver = getLayout().getViewTreeObserver();
341 ViewTreeObserver obs = getLayout().getViewTreeObserver();
355 return mAnimateDirection > 0 ? 0 : getLayout().getHeight();
365 ? getLayout().getHeight() in getEndPosition()
403 getLayout().setClipBounds(null); in resetPanelVisibility()
448 getLayout().setVisibility(visible ? View.VISIBLE : View.INVISIBLE); in onPanelVisible()
490 if (getLayout().getHeight() > 0) { in calculatePercentageFromEndingEdge()
493 Math.abs(height / getLayout().getHeight() * 100)); in calculatePercentageFromEndingEdge()
506 return mAnimateDirection > 0 ? y : getLayout().getHeight() - y; in getVisiblePanelHeight()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollBase.java244 protected GlifLayout getLayout() { in getLayout() method in BiometricEnrollBase
249 TextView layoutTitle = getLayout().getHeaderTextView(); in setHeaderText()
256 getLayout().setHeaderText(title); in setHeaderText()
257 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText()
264 getLayout().getHeaderTextView().setContentDescription(getText(resId)); in setHeaderText()
268 getLayout().setHeaderText(title); in setHeaderText()
269 getLayout().getHeaderTextView().setContentDescription(title); in setHeaderText()
273 CharSequence previousDescription = getLayout().getDescriptionText(); in setDescriptionText()
277 getLayout().setDescriptionText(resId); in setDescriptionText()
282 getLayout().setDescriptionText(descriptionText); in setDescriptionText()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/window/
DOverlayPanelViewControllerTest.java189 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromTopBar_collapsesTowardsTopBar()
214 mOverlayPanelViewController.getLayout().setClipBounds( in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar()
229 mOverlayPanelViewController.getLayout().getHeight()); in animateCollapsePanel_withOverlayFromBottomBar_collapsesTowardsBottomBar()
274 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromTopBar_expandsToBottom()
287 mOverlayPanelViewController.getLayout().getHeight()); in animateExpandPanel_withOverlayFromTopBar_expandsToBottom()
296 mOverlayPanelViewController.getLayout().setClipBounds( in animateExpandPanel_withOverlayFromBottomBar_expandsToTop()
346 mOverlayPanelViewController.getLayout().setVisibility(View.INVISIBLE); in setPanelVisible_setTrue_setLayoutVisible()
350 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo(View.VISIBLE); in setPanelVisible_setTrue_setLayoutVisible()
376 mOverlayPanelViewController.getLayout().setVisibility(View.VISIBLE); in setPanelVisible_setFalse_setLayoutInvisible()
380 assertThat(mOverlayPanelViewController.getLayout().getVisibility()).isEqualTo( in setPanelVisible_setFalse_setLayoutInvisible()
[all …]
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/hvac/
DAutoDismissHvacPanelOverlayViewController.java88 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onFinishInflate()
122 .ofFloat(getLayout(), "translationY", from, to); in animate()
158 View handleBar = getLayout().findViewById(handleBarViewId); in setUpHandleBar()
196 ? getLayout().getHeight() - diff in onScroll()
199 y = Math.max(0, Math.min(y, getLayout().getHeight())); in onScroll()
201 .ofFloat(getLayout(), "translationY", mPreviousHandleBarPositionY, y); in onScroll()
/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.java155 ((ImageView) getLayout().findViewById(R.id.user_loading_avatar)) in drawUserIcon()
160 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/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrollingTest.java274 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in fingerprintSfpsEnroll_descriptionTextVisibility()
283 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.VISIBLE); in fingerprintUdfpsEnroll_descriptionTextVisibility()
290 assertThat(getLayout().getDescriptionText()).isNotEqualTo(""); in testUdfpsConfigureEnrollmentStage_descriptionText()
294 assertThat(getLayout().getDescriptionText()).isEqualTo(""); in testUdfpsConfigureEnrollmentStage_descriptionText()
301 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in testSfpsConfigureEnrollmentStage_descriptionText()
305 assertThat(getLayout().getDescriptionTextView().getVisibility()).isEqualTo(View.GONE); in testSfpsConfigureEnrollmentStage_descriptionText()
308 private GlifLayout getLayout() { in getLayout() method in FingerprintEnrollEnrollingTest
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DHvacPanelOverlayViewController.java75 View closeButton = getLayout().findViewById(R.id.hvac_panel_close_button); in onFinishInflate()
80 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onFinishInflate()
174 if (getLayout() == null) return; in onConfigChanged()
175 mHvacPanelView = getLayout().findViewById(R.id.hvac_panel); in onConfigChanged()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewController.java99 LockPatternView patternView = getLayout().findViewById(R.id.lockPatternView);
197 mKeyguardContainer = getLayout().findViewById(R.id.keyguard_container); in onFinishInflate()
361 return ((View) getLayout().getParent()).getViewRootImpl(); in getViewRootImpl()
431 getLayout().setVisibility(View.INVISIBLE); in hideKeyguardToPrepareBouncer()
442 if (changed && allowRotaryFocus && getLayout() != null) { in setAllowRotaryFocus()
443 View pinView = getLayout().findViewById(R.id.pinEntry); in setAllowRotaryFocus()
/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()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrolling.java308 mFooterBarMixin = getLayout().getMixin(FooterBarMixin.class); in onCreate()
593 getLayout().setHeaderText( in updateTitleAndDescriptionForUdfps()
598 getLayout().getHeaderTextView().setContentDescription(description); in updateTitleAndDescriptionForUdfps()
613 getLayout().getDescriptionTextView().setAccessibilityLiveRegion( in updateTitleAndDescriptionForSfps()
668 getLayout().setHeaderText( in updateTitleAndDescriptionForSfps()
672 getLayout().getHeaderTextView().setContentDescription(description); in updateTitleAndDescriptionForSfps()
1083 final HeaderMixin headerMixin = getLayout().getMixin(HeaderMixin.class); in maybeHideSfpsText()
1084 final DescriptionMixin descriptionMixin = getLayout().getMixin(DescriptionMixin.class); in maybeHideSfpsText()
/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/Car/SystemUI/src/com/android/systemui/car/notification/
DNotificationPanelViewController.java279 ViewGroup container = (ViewGroup) getLayout(); in reinflate()
303 mNotificationView = getLayout().findViewById(R.id.notification_view); in onNotificationViewInflated()
418 Rect rect = getLayout().getClipBounds(); in setupNotificationPanel()
426 } else if (clippedHeight != getLayout().getHeight() && isTracking) { in setupNotificationPanel()

123456