/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 | XmlConfigTests.java | 313 for (TrustAnchor anchor : anchors) { in testBasicDebugOverrides() 314 assertTrue(anchor.overridesPins); in testBasicDebugOverrides() 327 for (TrustAnchor anchor : anchors) { in testDebugOverridesWithDomain() 328 if (anchor.certificate.getSubjectDN().toString().equals(DEBUG_CA_SUBJ)) { in testDebugOverridesWithDomain() 330 assertTrue(anchor.overridesPins); in testDebugOverridesWithDomain() 345 for (TrustAnchor anchor : anchors) { in testDebugInherit() 346 if (anchor.certificate.getSubjectDN().toString().equals(DEBUG_CA_SUBJ)) { in testDebugInherit() 348 assertTrue(anchor.overridesPins); in testDebugInherit() 426 for (TrustAnchor anchor : config.getTrustAnchors()) { in testDebugDedup() 427 assertTrue(anchor.overridesPins); in testDebugDedup()
|
D | NetworkSecurityConfigTests.java | 277 for (TrustAnchor anchor : preNAnchors) { in testUserAddedCaOptIn() 278 preNCerts.add(anchor.certificate); in testUserAddedCaOptIn() 281 for (TrustAnchor anchor : nAnchors) { in testUserAddedCaOptIn() 282 nCerts.add(anchor.certificate); in testUserAddedCaOptIn()
|
/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 | 220 final View anchor = mAnchor != null ? mAnchor.get() : null; 221 if (anchor != null && mDecorView != null) { 225 updateAboveAnchor(findDropDownPosition(anchor, p, mAnchorXoff, mAnchorYoff, 1169 public void showAsDropDown(View anchor) { in showAsDropDown() argument 1170 showAsDropDown(anchor, 0, 0); in showAsDropDown() 1190 public void showAsDropDown(View anchor, int xoff, int yoff) { in showAsDropDown() argument 1191 showAsDropDown(anchor, xoff, yoff, DEFAULT_ANCHORED_GRAVITY); in showAsDropDown() 1214 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { in showAsDropDown() argument 1221 attachToAnchor(anchor, xoff, yoff, gravity); in showAsDropDown() 1226 final WindowManager.LayoutParams p = createPopupLayoutParams(anchor.getWindowToken()); in showAsDropDown() [all …]
|
D | PopupMenu.java | 58 public PopupMenu(Context context, View anchor) { in PopupMenu() argument 59 this(context, anchor, Gravity.NO_GRAVITY); in PopupMenu() 73 public PopupMenu(Context context, View anchor, int gravity) { in PopupMenu() argument 74 this(context, anchor, gravity, R.attr.popupMenuStyle, 0); in PopupMenu() 94 public PopupMenu(Context context, View anchor, int gravity, int popupStyleAttr, in PopupMenu() argument 97 mAnchor = anchor; in PopupMenu() 114 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu()
|
/frameworks/support/compat/java/android/support/v4/widget/ |
D | PopupWindowCompat.java | 37 void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, int gravity); in showAsDropDown() argument 54 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 57 ViewCompat.getLayoutDirection(anchor)) & Gravity.HORIZONTAL_GRAVITY_MASK; in showAsDropDown() 61 xoff -= (popup.getWidth() - anchor.getWidth()); in showAsDropDown() 63 popup.showAsDropDown(anchor, xoff, yoff); in showAsDropDown() 127 public void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 129 PopupWindowCompatKitKat.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown() 204 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 206 IMPL.showAsDropDown(popup, anchor, xoff, yoff, gravity); in showAsDropDown()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatPopupWindow.java | 90 public void showAsDropDown(View anchor, int xoff, int yoff) { 93 yoff -= anchor.getHeight(); 95 super.showAsDropDown(anchor, xoff, yoff); 100 public void showAsDropDown(View anchor, int xoff, int yoff, int gravity) { 103 yoff -= anchor.getHeight(); 105 super.showAsDropDown(anchor, xoff, yoff, gravity); 109 public void update(View anchor, int xoff, int yoff, int width, int height) { 112 yoff -= anchor.getHeight(); 114 super.update(anchor, xoff, yoff, width, height);
|
D | PopupMenu.java | 62 public PopupMenu(@NonNull Context context, @NonNull View anchor) { in PopupMenu() argument 63 this(context, anchor, Gravity.NO_GRAVITY); in PopupMenu() 77 public PopupMenu(@NonNull Context context, @NonNull View anchor, int gravity) { in PopupMenu() argument 78 this(context, anchor, gravity, R.attr.popupMenuStyle, 0); in PopupMenu() 98 public PopupMenu(@NonNull Context context, @NonNull View anchor, int gravity, in PopupMenu() argument 101 mAnchor = anchor; in PopupMenu() 118 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); in PopupMenu()
|
D | ListPopupWindow.java | 466 public void setAnchorView(@Nullable View anchor) { in setAnchorView() argument 467 mDropDownAnchorView = anchor; in setAnchorView() 1398 private int getMaxAvailableHeight(View anchor, int yOffset, boolean ignoreBottomDecorations) { in getMaxAvailableHeight() argument 1401 return (int) sGetMaxAvailableHeightMethod.invoke(mPopup, anchor, yOffset, in getMaxAvailableHeight() 1408 return mPopup.getMaxAvailableHeight(anchor, yOffset); in getMaxAvailableHeight()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | StandardMenuPopup.java | 66 final View anchor = mShownAnchorView; 67 if (anchor == null || !anchor.isShown()) { 161 final View anchor = mShownAnchorView; in tryShow() local 163 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest in tryShow() 167 anchor.addOnAttachStateChangeListener(mAttachStateChangeListener); in tryShow() 168 mPopup.setAnchorView(anchor); in tryShow() 313 public void setAnchorView(View anchor) { in setAnchorView() argument 314 mAnchorView = anchor; in setAnchorView()
|
D | CascadingMenuPopup.java | 88 final View anchor = mShownAnchorView; 89 if (anchor == null || !anchor.isShown()) { 202 public CascadingMenuPopup(@NonNull Context context, @NonNull View anchor, in CascadingMenuPopup() argument 205 mAnchorView = Preconditions.checkNotNull(anchor); in CascadingMenuPopup() 695 public void setAnchorView(@NonNull View anchor) { in setAnchorView() argument 696 if (mAnchorView != anchor) { in setAnchorView() 697 mAnchorView = anchor; in setAnchorView()
|
D | MenuPopupHelper.java | 95 public void setAnchorView(@NonNull View anchor) { in setAnchorView() argument 96 mAnchorView = anchor; in setAnchorView()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | StandardMenuPopup.java | 65 final View anchor = mShownAnchorView; 66 if (anchor == null || !anchor.isShown()) { 143 final View anchor = mShownAnchorView; in tryShow() local 145 mTreeObserver = anchor.getViewTreeObserver(); // Refresh to latest in tryShow() 149 mPopup.setAnchorView(anchor); in tryShow() 292 public void setAnchorView(View anchor) { in setAnchorView() argument 293 mAnchorView = anchor; in setAnchorView()
|
D | CascadingMenuPopup.java | 102 final View anchor = mShownAnchorView; 103 if (anchor == null || !anchor.isShown()) { 198 public CascadingMenuPopup(@NonNull Context context, @NonNull View anchor, in CascadingMenuPopup() argument 201 mAnchorView = anchor; in CascadingMenuPopup() 688 public void setAnchorView(@NonNull View anchor) { in setAnchorView() argument 689 if (mAnchorView != anchor) { in setAnchorView() 690 mAnchorView = anchor; in setAnchorView()
|
D | MenuPopupHelper.java | 102 public void setAnchorView(@NonNull View anchor) { in setAnchorView() argument 103 mAnchorView = anchor; in setAnchorView()
|
/frameworks/support/compat/kitkat/android/support/v4/widget/ |
D | PopupWindowCompatKitKat.java | 28 public static void showAsDropDown(PopupWindow popup, View anchor, int xoff, int yoff, in showAsDropDown() argument 30 popup.showAsDropDown(anchor, xoff, yoff, gravity); in showAsDropDown()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | ListPopupWindowTest.java | 355 final View anchor = mActivityTestRule.getActivity().findViewById(R.id.test_button); in testCreateOnDragListener() local 356 View.OnTouchListener dragListener = mListPopupWindow.createDragToOpenListener(anchor); in testCreateOnDragListener() 357 anchor.setOnTouchListener(dragListener); in testCreateOnDragListener() 359 anchor.setOnClickListener(new View.OnClickListener() { in testCreateOnDragListener() 371 anchor.getLocationOnScreen(anchorOnScreenXY); in testCreateOnDragListener() 376 int emulatedX = anchorOnScreenXY[0] + anchor.getWidth() / 2; in testCreateOnDragListener() 377 int emulatedStartY = anchorOnScreenXY[1] + anchor.getHeight() / 2; in testCreateOnDragListener()
|
/frameworks/rs/api/ |
D | GenerateDocumentation.cpp | 106 string anchor = systemSpecification.getHtmlAnchor(s); in getHtmlStringForType() local 107 if (anchor.empty()) { in getHtmlStringForType() 111 stream << anchor; in getHtmlStringForType() 190 string anchor = systemSpecification.getHtmlAnchor(id); in convertDocumentationRefences() local 191 if (anchor.empty()) { in convertDocumentationRefences() 195 s->replace(start, end - start, anchor); in convertDocumentationRefences()
|
/frameworks/base/media/java/android/media/ |
D | SubtitleController.java | 464 public void setAnchor(Anchor anchor) { in setAnchor() argument 465 if (mAnchor == anchor) { in setAnchor() 473 mAnchor = anchor; in setAnchor()
|
/frameworks/base/docs/html/wear/preview/features/ |
D | wearable-recycler-view.jd | 195 middle left edge (X=0, Y=Half the child height) as the anchor coordinates for 196 the child item. Using the default anchor coordinates can result in offsetting 197 the child items from the left edge of the watch face. To customize the anchor 206 <p><b>Figure 1</b>. Imaginary UX curve and anchor points on the curve.</p> 211 anchor coordinates for the child item are at the center of the icon.
|