/frameworks/base/core/java/android/view/autofill/ |
D | AutofillPopupWindow.java | 107 public void update(View anchor, int offsetX, int offsetY, int width, int height, in update() argument 130 final WindowManager windowManager = anchor.getContext() in update() 138 actualAnchor = anchor; in update() 141 actualAnchor = new View(anchor.getContext()) { in update() 150 return anchor.getAccessibilityViewId(); in update() 155 return anchor.getViewTreeObserver(); in update() 160 return anchor.getApplicationWindowToken(); in update() 165 return anchor.getRootView(); in update() 170 return anchor.getLayoutDirection(); in update() 175 anchor.getWindowDisplayFrame(outRect); in update() [all …]
|
D | AutofillManager.java | 574 boolean autofillClientRequestShowFillUi(@NonNull View anchor, int width, int height, in autofillClientRequestShowFillUi() argument 582 void autofillClientDispatchUnhandledKey(@NonNull View anchor, @NonNull KeyEvent keyEvent); in autofillClientDispatchUnhandledKey() argument 2102 final View anchor = findView(id); in requestShowFillUi() local 2103 if (anchor == null) { in requestShowFillUi() 2113 if (client.autofillClientRequestShowFillUi(anchor, width, height, in requestShowFillUi() 2124 callback.onAutofillEvent(anchor, id.getVirtualChildIntId(), in requestShowFillUi() 2127 callback.onAutofillEvent(anchor, AutofillCallback.EVENT_INPUT_SHOWN); in requestShowFillUi() 2149 final View anchor = findView(id); in dispatchUnhandledKey() local 2150 if (anchor == null) { in dispatchUnhandledKey() 2159 client.autofillClientDispatchUnhandledKey(anchor, keyEvent); in dispatchUnhandledKey() [all …]
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestCertificateSource.java | 44 java.security.cert.TrustAnchor anchor = mIndex.findBySubjectAndPublicKey(cert); in findBySubjectAndPublicKey() local 45 if (anchor == null) { in findBySubjectAndPublicKey() 48 return anchor.getTrustedCert(); in findBySubjectAndPublicKey() 53 java.security.cert.TrustAnchor anchor = mIndex.findByIssuerAndSignature(cert); in findByIssuerAndSignature() local 54 if (anchor == null) { in findByIssuerAndSignature() 57 return anchor.getTrustedCert(); in findByIssuerAndSignature() 63 for (java.security.cert.TrustAnchor anchor : mIndex.findAllByIssuerAndSignature(cert)) { in findAllByIssuerAndSignature() 64 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature()
|
D | NetworkSecurityConfigTests.java | 290 for (TrustAnchor anchor : preNAnchors) { in testUserAddedCaOptIn() 291 preNCerts.add(anchor.certificate); in testUserAddedCaOptIn() 294 for (TrustAnchor anchor : nAnchors) { in testUserAddedCaOptIn() 295 nCerts.add(anchor.certificate); in testUserAddedCaOptIn() 298 for (TrustAnchor anchor : privAnchors) { in testUserAddedCaOptIn() 299 privCerts.add(anchor.certificate); in testUserAddedCaOptIn()
|
D | XmlConfigTests.java | 332 for (TrustAnchor anchor : anchors) { in testBasicDebugOverrides() 333 assertTrue(anchor.overridesPins); in testBasicDebugOverrides() 348 for (TrustAnchor anchor : anchors) { in testDebugOverridesWithDomain() 349 if (anchor.certificate.getSubjectDN().toString().equals(DEBUG_CA_SUBJ)) { in testDebugOverridesWithDomain() 351 assertTrue(anchor.overridesPins); in testDebugOverridesWithDomain() 368 for (TrustAnchor anchor : anchors) { in testDebugInherit() 369 if (anchor.certificate.getSubjectDN().toString().equals(DEBUG_CA_SUBJ)) { in testDebugInherit() 371 assertTrue(anchor.overridesPins); in testDebugInherit() 453 for (TrustAnchor anchor : config.getTrustAnchors()) { in testDebugDedup() 454 assertTrue(anchor.overridesPins); in testDebugDedup()
|
/frameworks/base/core/java/android/security/net/config/ |
D | TrustedCertificateStoreAdapter.java | 37 TrustAnchor anchor = mConfig.findTrustAnchorByIssuerAndSignature(cert); in findIssuer() local 38 if (anchor == null) { in findIssuer() 41 return anchor.certificate; in findIssuer() 51 TrustAnchor anchor = mConfig.findTrustAnchorBySubjectAndPublicKey(cert); in getTrustAnchor() local 52 if (anchor == null) { in getTrustAnchor() 55 return anchor.certificate; in getTrustAnchor() 61 TrustAnchor anchor = mConfig.findTrustAnchorBySubjectAndPublicKey(cert); in isUserAddedCertificate() local 62 if (anchor == null) { in isUserAddedCertificate() 65 return anchor.overridesPins; in isUserAddedCertificate()
|
D | KeyStoreCertificateSource.java | 78 java.security.cert.TrustAnchor anchor = mIndex.findBySubjectAndPublicKey(cert); in findBySubjectAndPublicKey() local 79 if (anchor == null) { in findBySubjectAndPublicKey() 82 return anchor.getTrustedCert(); in findBySubjectAndPublicKey() 88 java.security.cert.TrustAnchor anchor = mIndex.findByIssuerAndSignature(cert); in findByIssuerAndSignature() local 89 if (anchor == null) { in findByIssuerAndSignature() 92 return anchor.getTrustedCert(); in findByIssuerAndSignature() 103 for (java.security.cert.TrustAnchor anchor : anchors) { in findAllByIssuerAndSignature() 104 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature()
|
D | ResourceCertificateSource.java | 88 java.security.cert.TrustAnchor anchor = mIndex.findBySubjectAndPublicKey(cert); in findBySubjectAndPublicKey() local 89 if (anchor == null) { in findBySubjectAndPublicKey() 92 return anchor.getTrustedCert(); in findBySubjectAndPublicKey() 98 java.security.cert.TrustAnchor anchor = mIndex.findByIssuerAndSignature(cert); in findByIssuerAndSignature() local 99 if (anchor == null) { in findByIssuerAndSignature() 102 return anchor.getTrustedCert(); in findByIssuerAndSignature() 113 for (java.security.cert.TrustAnchor anchor : anchors) { in findAllByIssuerAndSignature() 114 certs.add(anchor.getTrustedCert()); in findAllByIssuerAndSignature()
|
D | NetworkSecurityConfig.java | 85 for (TrustAnchor anchor : anchors) { in getTrustAnchors() 86 X509Certificate cert = anchor.certificate; in getTrustAnchors() 88 anchorMap.put(cert, anchor); in getTrustAnchors() 123 TrustAnchor anchor = ref.findBySubjectAndPublicKey(cert); in findTrustAnchorBySubjectAndPublicKey() local 124 if (anchor != null) { in findTrustAnchorBySubjectAndPublicKey() 125 return anchor; in findTrustAnchorBySubjectAndPublicKey() 134 TrustAnchor anchor = ref.findByIssuerAndSignature(cert); in findTrustAnchorByIssuerAndSignature() local 135 if (anchor != null) { in findTrustAnchorByIssuerAndSignature() 136 return anchor; in findTrustAnchorByIssuerAndSignature()
|
D | NetworkSecurityTrustManager.java | 173 for (TrustAnchor anchor : anchors) { in getAcceptedIssuers() 174 issuers[i++] = anchor.certificate; in getAcceptedIssuers()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1357 public void showAsDropDown(View anchor) { in showAsDropDown() argument 1358 showAsDropDown(anchor, 0, 0); in showAsDropDown() 1378 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown() argument 1379 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY); in showAsDropDown() 1402 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() argument 1409 attachToAnchor(anchor, xoff, yoff, gravity); in showAsDropDown() 1415 createPopupLayoutParams(anchor.getApplicationWindowToken()); in showAsDropDown() 1418 final boolean aboveAnchor = findDropDownPosition(anchor, p, xoff, yoff, in showAsDropDown() 1421 p.accessibilityIdOfAnchor = (anchor != null) ? anchor.getAccessibilityViewId() : -1; in showAsDropDown() 1585 View anchor = mAnchor.get(); in setLayoutDirectionFromAnchor() local [all …]
|
D | PopupMenu.java | 62 public PopupMenu(Context context, View anchor) { in PopupMenu() argument 63 this(context, anchor, Gravity.NO_GRAVITY); in PopupMenu() 77 public PopupMenu(Context context, View anchor, int gravity) { in PopupMenu() argument 78 this(context, anchor, gravity, R.attr.popupMenuStyle, 0); in PopupMenu() 98 public PopupMenu(Context context, View anchor, int gravity, int popupStyleAttr, in PopupMenu() argument 101 mAnchor = anchor; in PopupMenu() 118 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu()
|
D | ActionMenuPresenter.java | 501 View anchor = findViewForItem(topSubMenu.getItem()); in onSubMenuSelected() local 502 if (anchor == null) { in onSubMenuSelected() 522 mActionButtonPopup = new ActionButtonSubmenu(mContext, subMenu, anchor); in onSubMenuSelected()
|
D | ListPopupWindow.java | 433 public void setAnchorView(@Nullable View anchor) { in setAnchorView() argument 434 mDropDownAnchorView = anchor; in setAnchorView()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | StandardMenuPopup.java | 67 final View anchor = mShownAnchorView; 68 if (anchor == null || !anchor.isShown()) { 162 final View anchor = mShownAnchorView; in tryShow() local 164 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest in tryShow() 168 anchor.addOnAttachStateChangeListener(mAttachStateChangeListener); in tryShow() 169 mPopup.setAnchorView(anchor); in tryShow() 323 public void setAnchorView(View anchor) { in setAnchorView() argument 324 mAnchorView = anchor; in setAnchorView()
|
D | CascadingMenuPopup.java | 89 final View anchor = mShownAnchorView; 90 if (anchor == null || !anchor.isShown()) { 203 public CascadingMenuPopup(@NonNull Context context, @NonNull View anchor, in CascadingMenuPopup() argument 206 mAnchorView = Preconditions.checkNotNull(anchor); in CascadingMenuPopup() 694 public void setAnchorView(@NonNull View anchor) { in setAnchorView() argument 695 if (mAnchorView != anchor) { in setAnchorView() 696 mAnchorView = anchor; in setAnchorView()
|
D | MenuPopupHelper.java | 97 public void setAnchorView(@NonNull View anchor) { in setAnchorView() argument 98 mAnchorView = anchor; in setAnchorView()
|
D | MenuPopup.java | 58 public abstract void setAnchorView(View anchor); in setAnchorView() argument
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | ContextMenuUtils.java | 133 public static void assertContextMenuAlignment(View anchor, int offsetX, int offsetY) { in assertContextMenuAlignment() argument 135 anchor.getLocationOnScreen(expectedLocation); in assertContextMenuAlignment() 139 final boolean rtl = anchor.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in assertContextMenuAlignment()
|
/frameworks/base/core/java/android/util/ |
D | RecurrenceRule.java | 201 final ZonedDateTime anchor = (end != null) ? end in RecurringIterator() local 203 if (LOGD) Log.d(TAG, "Resolving using anchor " + anchor); in RecurringIterator() 208 while (anchor.toEpochSecond() > cycleEnd.toEpochSecond()) { in RecurringIterator() 214 while (anchor.toEpochSecond() <= cycleStart.toEpochSecond()) { in RecurringIterator()
|
/frameworks/rs/script_api/ |
D | GenerateDocumentation.cpp | 109 string anchor = systemSpecification.getHtmlAnchor(s); in getHtmlStringForType() local 110 if (anchor.empty()) { in getHtmlStringForType() 114 stream << anchor; in getHtmlStringForType() 193 string anchor = systemSpecification.getHtmlAnchor(id); in convertDocumentationRefences() local 194 if (anchor.empty()) { in convertDocumentationRefences() 198 s->replace(start, end - start, anchor); in convertDocumentationRefences()
|
/frameworks/base/media/java/android/media/ |
D | SubtitleController.java | 471 public void setAnchor(Anchor anchor) { in setAnchor() argument 472 if (mAnchor == anchor) { in setAnchor() 480 mAnchor = anchor; in setAnchor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlsUiControllerImpl.kt | 287 val anchor = parent.requireViewById<ImageView>(R.id.controls_more) in <lambda>() constant 288 anchor.setOnClickListener(object : View.OnClickListener { in <lambda>() 294 setAnchorView(anchor) in <lambda>() 353 val anchor = parent.requireViewById<ViewGroup>(R.id.controls_header) in <lambda>() constant 354 anchor.setOnClickListener(object : View.OnClickListener { in <lambda>() 360 setAnchorView(anchor) in <lambda>()
|
/frameworks/multidex/ |
D | build.gradle | 61 // upload anchor for subprojects to upload their artifacts
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearLayoutManager.java | 702 View anchor = getChildClosestToStart(); in layoutForPredictiveAnimations() 703 updateLayoutStateToFillStart(getPosition(anchor), startOffset); in layoutForPredictiveAnimations() 711 View anchor = getChildClosestToEnd(); in layoutForPredictiveAnimations() 712 updateLayoutStateToFillEnd(getPosition(anchor), endOffset); in layoutForPredictiveAnimations()
|