/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 | 75 * Retrieves the key pair for a given origin from the internal 87 * @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 | 230 * API for a particular origin and request a new quota. The client must 240 * @param quota The quota for the origin, in bytes 282 * Notify the host application that web content from the specified origin 284 * currently set for that origin. The host application should invoke the 294 * @param origin The origin of the web content attempting to use the 297 * origin. 299 public void onGeolocationPermissionsShowPrompt(String origin, argument
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ScrollViewButtonsAndLabelsTest.java | 50 int origin[] = {0, 0}; 51 mScrollView.getLocationOnScreen(origin); 52 mScreenTop = origin[1]; 53 mScreenBottom = origin[1] + mScrollView.getHeight(); 180 int origin[] = {0, 0}; 181 mScrollView.getLocationOnScreen(origin); 190 if (buttonLoc[1] - origin[1] > screenHeight) { 199 int origin[] = {0, 0}; 200 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/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/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/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreSecretKeyFactorySpi.java | 87 @KeyProperties.OriginEnum int origin; 100 origin = KeyProperties.Origin.fromKeymaster( 104 origin = KeyProperties.Origin.fromKeymaster( 107 throw new ProviderException("Key origin not available"); 189 origin,
|
H A D | KeyInfo.java | 32 * and whether this requirement is enforced by secure hardware, the key's origin, what uses the key 90 @KeyProperties.OriginEnum int origin, 107 mOrigin = origin; 144 * Gets the origin of the key. See {@link KeyProperties}.{@code ORIGIN} constants. 88 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 invalidatedByBiometricEnrollment) argument
|
H A D | KeyProperties.java | 665 * implementation which does not record origin information. 675 public static @OriginEnum int fromKeymaster(int origin) { argument 676 switch (origin) { 684 throw new IllegalArgumentException("Unknown origin: " + origin);
|
/frameworks/base/libs/hwui/ |
H A D | SkiaCanvasProxy.cpp | 114 SkIPoint origin = bitmap.pixelRefOrigin(); local 115 mCanvas->drawBitmap(fullBitmap, origin.fX, origin.fY, 116 origin.fX + bitmap.dimensions().width(), 117 origin.fY + bitmap.dimensions().height(),
|
/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/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 896 float[] origin = new float[] { 0.f, 0.f}; 897 mapPoints(origin); 902 // then substract the transformed origin. 905 dst[dstIndex + i] = dst[dstIndex + i] - origin[0]; 906 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 | 54 float origin; field in class:Range 67 this.origin = x; 73 * Returns x normalized to the range 0 to 1 such that 0 = min, 0.5 = origin and 1 = max 75 * @param x is an absolute value in the same domain as origin 78 if (x < origin) { 79 return 0.5f + 0.5f * (x - origin) / -relativeMin; 81 return 0.5f + 0.5f * (x - origin) / relativeMax; 87 * absolute value about the given {@param origin}.
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 453 PropertyValuesHolder origin = PropertyValuesHolder.ofObject( 455 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(drawable, origin);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | MultiSelectManager.java | 1221 private void startBandSelect(Point origin) { argument 1222 if (DEBUG) Log.d(TAG, "Starting band select @ " + origin); 1224 mOrigin = origin; 1239 * Resizes the band select rectangle by using the origin and the current pointer position as 1401 // Adjust the y-coordinate of the origin the opposite number of pixels so that the 1402 // origin remains in the same place relative to the view's items. 1417 // Enum values used to determine the corner at which the origin is located within the 1483 * @param relativeOrigin The origin of the band select operation, relative to the viewport. 1485 * would have a relative origin of (0, 0), even though its absolute point has a higher 1505 * opposite the origin [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 1689 final Uri originUri = Uri.fromFile(args.origin.resolvedFile); 1739 final Uri originUri = Uri.fromFile(args.origin.resolvedFile); 11529 final OriginInfo origin = OriginInfo.fromUntrustedFile(originFile); 11534 final InstallParams params = new InstallParams(origin, null /*moveInfo*/, observer, 11562 final OriginInfo origin; 11564 origin = OriginInfo.fromStagedFile(stagedDir); 11566 origin = OriginInfo.fromStagedContainer(stagedCid); 11570 final InstallParams params = new InstallParams(origin, null, observer, 12710 final OriginInfo origin; field in class:PackageManagerService.InstallParams 12723 InstallParams(OriginInfo origin, MoveInf argument 13191 final OriginInfo origin; field in class:PackageManagerService.InstallArgs 13213 InstallArgs(OriginInfo origin, MoveInfo move, IPackageInstallObserver2 observer, int installFlags, String installerPackageName, String volumeUuid, UserHandle user, String[] instructionSets, String abiOverride, String[] installGrantPermissions, String traceMethod, int traceCookie, Certificate[][] certificates) argument [all...] |