/frameworks/base/core/java/android/webkit/ |
H A D | GeolocationPermissions.java | 27 * Geolocation permissions are applied to an origin, which consists of the 29 * Geolocation API, permission must be granted for that content's origin. 31 * This class stores Geolocation permissions. An origin's permission state can 33 * an origin. 35 * When an origin attempts to use the Geolocation API, but no permission state 36 * is currently set for that origin, 38 * is called. This allows the permission state to be set for that origin. 49 * permission state for an origin. 53 * Sets the Geolocation permission state for the supplied origin. 55 * @param origin th 62 invoke(String origin, boolean allow, boolean retain) argument 104 getAllowed(String origin, ValueCallback<Boolean> callback) argument 113 clear(String origin) argument 122 allow(String origin) argument [all...] |
H A D | WebStorage.java | 30 * Cache API can be attributed to an origin {@link WebStorage.Origin}, however 31 * it is not possible to set per-origin quotas. Note that there can be only 34 * The Web SQL Database API provides storage which is private to a given origin. 36 * to an origin. It is also possible to set per-origin quotas. 60 * currently used by an origin for the JavaScript storage APIs. 61 * An origin comprises the host, scheme and port of a URI. 71 protected Origin(String origin, long quota, long usage) { argument 72 mOrigin = origin; 78 * Gets the string representation of this origin 143 getUsageForOrigin(String origin, ValueCallback<Long> callback) argument 154 getQuotaForOrigin(String origin, ValueCallback<Long> callback) argument 166 setQuotaForOrigin(String origin, long quota) argument 175 deleteOrigin(String origin) argument [all...] |
H A D | TokenBindingService.java | 76 * Retrieves the key pair for a given origin from the internal 88 * @param origin The origin for the server. 93 public abstract void getKey(Uri origin, argument 99 * @param origin The origin of the server. 104 public abstract void deleteKey(Uri origin, argument
|
H A D | WebChromeClient.java | 250 * API for a particular origin and request a new quota. The client must 260 * @param quota The quota for the origin, in bytes 302 * Notify the host application that web content from the specified origin 304 * currently set for that origin. The host application should invoke the 314 * @param origin The origin of the web content attempting to use the 317 * origin. 319 public void onGeolocationPermissionsShowPrompt(String origin, argument
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ScrollViewButtonsAndLabelsTest.java | 48 int origin[] = {0, 0}; 49 mScrollView.getLocationOnScreen(origin); 50 mScreenTop = origin[1]; 51 mScreenBottom = origin[1] + mScrollView.getHeight(); 181 int origin[] = {0, 0}; 182 mScrollView.getLocationOnScreen(origin); 191 if (buttonLoc[1] - origin[1] > screenHeight) { 200 int origin[] = {0, 0}; 201 mScrollView.getLocationOnScreen(origin);
|
H A D | RequestRectangleVisibleTest.java | 198 * @param origin The root view of the screen. 201 static public void assertOnBottomEdgeOfScreen(View origin, View view) { argument 206 origin.getLocationOnScreen(xyRoot); 209 int bottomOfRoot = xyRoot[1] + origin.getHeight(); 219 * @param origin The root view of the screen. 222 static public void assertOnTopEdgeOfScreen(View origin, View view) { argument 227 origin.getLocationOnScreen(xyRoot); 230 int bottomOfRoot = xyRoot[1] + origin.getHeight();
|
/frameworks/support/browser/src/main/aidl/android/support/customtabs/ |
H A D | ICustomTabsCallback.aidl | 30 void onRelationshipValidationResult(int relation, in Uri origin, boolean result, in Bundle extras) = 5;
|
H A D | ICustomTabsService.aidl | 39 boolean validateRelationship(in ICustomTabsCallback callback, int relation, in Uri origin, in Bundle extras) = 8;
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 41 * @param origin The root view of the screen. 44 static public void assertOnScreen(View origin, View view) { argument 49 origin.getLocationOnScreen(xyRoot); 63 * @param origin The root view of the screen. 66 static public void assertOffScreenBelow(View origin, View view) { argument 71 origin.getLocationOnScreen(xyRoot); 77 + origin.getHeight() + ")", 78 y > origin.getHeight()); 83 * @param origin Te root view of the screen. 86 static public void assertOffScreenAbove(View origin, Vie argument 106 assertHasScreenCoordinates(View origin, View view, int x, int y) argument [all...] |
/frameworks/support/browser/src/androidTest/java/androidx/browser/customtabs/ |
H A D | TestCustomTabsCallback.java | 57 public void onRelationshipValidationResult(int relation, Uri origin, boolean result, 60 relation, origin, result, extras);
|
H A D | TestCustomTabsService.java | 77 @Relation int relation, Uri origin, Bundle extras) { 76 validateRelationship(CustomTabsSessionToken sessionToken, @Relation int relation, Uri origin, Bundle extras) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Rectangle.java | 38 public Rectangle(Point origin, Point size) { argument 39 super(origin, 40 origin.plus(size.x, 0.0f), 41 origin.plus(0.0f, size.y), 42 origin.plus(size.x, size.y));
|
/frameworks/support/browser/src/main/java/androidx/browser/customtabs/ |
H A D | CustomTabsService.java | 91 * App -> Web transitions, requests the app to use the declared origin to be used as origin for 97 * ability to handle all URLs from a given origin. 163 ICustomTabsCallback callback, @Relation int relation, Uri origin, Bundle extras) { 165 new CustomTabsSessionToken(callback), relation, origin, extras); 273 * @param postMessageOrigin A origin that the client is requesting to be identified as 276 * here doesn't mean an origin has already been assigned as the validation is 283 * Sends a postMessage request using the origin communicated via 300 * Request to validate a relationship between the application and an origin. 310 * @param origin Origi 314 validateRelationship( CustomTabsSessionToken sessionToken, @Relation int relation, Uri origin, Bundle extras) argument [all...] |
H A D | CustomTabsSessionToken.java | 128 public void onRelationshipValidationResult(@CustomTabsService.Relation int relation, Uri origin, 132 relation, origin, result, extras);
|
H A D | CustomTabsSession.java | 168 * @param postMessageOrigin A origin that the client is requesting to be identified as 171 * here doesn't mean an origin has already been assigned as the validation is 184 * Sends a postMessage request using the origin communicated via 207 * Requests to validate a relationship between the application and an origin. 222 * @param origin Origin. 226 public boolean validateRelationship(@CustomTabsService.Relation int relation, @NonNull Uri origin, argument 233 return mService.validateRelationship(mCallback, relation, origin, extras);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSecretKeyFactorySpi.java | 90 @KeyProperties.OriginEnum int origin; 103 origin = KeyProperties.Origin.fromKeymaster( 107 origin = KeyProperties.Origin.fromKeymaster( 110 throw new ProviderException("Key origin not available"); 197 origin,
|
H A D | KeyInfo.java | 32 * and whether this requirement is enforced by secure hardware, the key's origin, what uses the key 92 @KeyProperties.OriginEnum int origin, 111 mOrigin = origin; 150 * Gets the origin of the key. See {@link KeyProperties}.{@code ORIGIN} constants. 90 KeyInfo(String keystoreKeyAlias, boolean insideSecureHardware, @KeyProperties.OriginEnum int origin, int keySize, Date keyValidityStart, Date keyValidityForOriginationEnd, Date keyValidityForConsumptionEnd, @KeyProperties.PurposeEnum int purposes, @KeyProperties.EncryptionPaddingEnum String[] encryptionPaddings, @KeyProperties.SignaturePaddingEnum String[] signaturePaddings, @KeyProperties.DigestEnum String[] digests, @KeyProperties.BlockModeEnum String[] blockModes, boolean userAuthenticationRequired, int userAuthenticationValidityDurationSeconds, boolean userAuthenticationRequirementEnforcedBySecureHardware, boolean userAuthenticationValidWhileOnBody, boolean trustedUserPresenceRequired, boolean invalidatedByBiometricEnrollment, boolean userConfirmationRequired) argument
|
H A D | KeyProperties.java | 688 * implementation which does not record origin information. 706 public static @OriginEnum int fromKeymaster(int origin) { argument 707 switch (origin) { 717 throw new IllegalArgumentException("Unknown origin: " + origin);
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | BandSelectionHelper.java | 250 Point origin = MotionEvents.getOrigin(e); 251 if (DEBUG) Log.d(TAG, "Starting band select @ " + origin); 258 mOrigin = origin; 266 * Resizes the band select rectangle by using the origin and the current pointer position as 316 // Adjust the y-coordinate of the origin the opposite number of pixels so that the 317 // origin remains in the same place relative to the view's items.
|
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
H A D | PostMessageTest.java | 110 // Post a string message to main frame passing a wildcard as target origin 118 // Post a string message to main frame passing an empty string as target origin 127 private void verifyPostMessageToOrigin(Uri origin) throws Throwable { argument 130 mOnUiThread.postWebMessageCompat(message, origin);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.cpp | 123 SkIPoint origin = bitmap.pixelRefOrigin(); local 125 *hwuiBitmap, origin.fX, origin.fY, origin.fX + bitmap.dimensions().width(), 126 origin.fY + bitmap.dimensions().height(), left, top,
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SipAudioCall.java | 356 SipSession origin = mSipSession; 371 if (origin != null) origin.endCall();
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 902 float[] origin = new float[] { 0.f, 0.f}; 903 mapPoints(origin); 908 // then substract the transformed origin. 911 dst[dstIndex + i] = dst[dstIndex + i] - origin[0]; 912 dst[dstIndex + i + 1] = dst[dstIndex + i + 1] - origin[1];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackLayoutAlgorithm.java | 56 float origin; field in class:Range 69 this.origin = x; 75 * Returns x normalized to the range 0 to 1 such that 0 = min, 0.5 = origin and 1 = max 77 * @param x is an absolute value in the same domain as origin 80 if (x < origin) { 81 return 0.5f + 0.5f * (x - origin) / -relativeMin; 83 return 0.5f + 0.5f * (x - origin) / relativeMax; 89 * absolute value about the given {@param origin}.
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 454 PropertyValuesHolder origin = PropertyValuesHolder.ofObject( 456 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(drawable, origin);
|