/frameworks/base/core/java/android/webkit/ |
H A D | WebStorage.java | 28 * Cache API can be attributed to an origin {@link WebStorage.Origin}, however 29 * it is not possible to set per-origin quotas. Note that there can be only 32 * The Web SQL Database API provides storage which is private to a given origin. 34 * to an origin. It is also possible to set per-origin quotas. 58 * currently used by an origin for the JavaScript storage APIs. 59 * An origin comprises the host, scheme and port of a URI. 68 protected Origin(String origin, long quota, long usage) { argument 69 mOrigin = origin; 75 protected Origin(String origin, lon argument 81 Origin(String origin) argument 151 getUsageForOrigin(String origin, ValueCallback<Long> callback) argument 162 getQuotaForOrigin(String origin, ValueCallback<Long> callback) argument 174 setQuotaForOrigin(String origin, long quota) argument 183 deleteOrigin(String origin) argument [all...] |
H A D | GeolocationPermissions.java | 25 * Geolocation permissions are applied to an origin, which consists of the 27 * Geolocation API, permission must be granted for that content's origin. 29 * This class stores Geolocation permissions. An origin's permission state can 31 * an origin. 33 * When an origin attempts to use the Geolocation API, but no permission state 34 * is currently set for that origin, 36 * is called. This allows the permission state to be set for that origin. 47 * permission state for an origin. 51 * Sets the Geolocation permission state for the supplied origin. 53 * @param origin th 60 invoke(String origin, boolean allow, boolean retain) argument 102 getAllowed(String origin, ValueCallback<Boolean> callback) argument 111 clear(String origin) argument 120 allow(String origin) argument [all...] |
H A D | WebChromeClient.java | 226 * API for a particular origin and request a new quota. The client must 236 * @param quota The quota for the origin, in bytes 278 * Notify the host application that web content from the specified origin 280 * currently set for that origin. The host application should invoke the 283 * @param origin The origin of the web content attempting to use the 286 * origin. 288 public void onGeolocationPermissionsShowPrompt(String origin, argument
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | GeolocationPermissionsAdapter.java | 39 public void allow(String origin) { argument 40 mChromeGeolocationPermissions.allow(origin); 44 public void clear(String origin) { argument 45 mChromeGeolocationPermissions.clear(origin); 54 public void getAllowed(String origin, ValueCallback<Boolean> callback) { argument 55 mChromeGeolocationPermissions.getAllowed(origin, callback);
|
H A D | WebStorageAdapter.java | 44 Origin origin = new Origin(origins.mOrigins[i], origins.mQuotas[i], 49 originsMap.put(origins.mOrigins[i], origin); 57 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { argument 58 mQuotaManagerBridge.getUsageForOrigin(origin, callback); 62 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { argument 63 mQuotaManagerBridge.getQuotaForOrigin(origin, callback); 67 public void setQuotaForOrigin(String origin, long quota) { argument 72 public void deleteOrigin(String origin) { argument 73 mQuotaManagerBridge.deleteOrigin(origin);
|
H A D | WebViewContentsClientAdapter.java | 588 public void onGeolocationPermissionsShowPrompt(String origin, argument 593 mWebChromeClient.onGeolocationPermissionsShowPrompt(origin, callback);
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
H A D | ScrollViewButtonsAndLabelsTest.java | 49 int origin[] = {0, 0}; 50 mScrollView.getLocationOnScreen(origin); 51 mScreenTop = origin[1]; 52 mScreenBottom = origin[1] + mScrollView.getHeight(); 178 int origin[] = {0, 0}; 179 mScrollView.getLocationOnScreen(origin); 188 if (buttonLoc[1] - origin[1] > screenHeight) { 197 int origin[] = {0, 0}; 198 mScrollView.getLocationOnScreen(origin);
|
H A D | RequestRectangleVisibleTest.java | 196 * @param origin The root view of the screen. 199 static public void assertOnBottomEdgeOfScreen(View origin, View view) { argument 204 origin.getLocationOnScreen(xyRoot); 207 int bottomOfRoot = xyRoot[1] + origin.getHeight(); 217 * @param origin The root view of the screen. 220 static public void assertOnTopEdgeOfScreen(View origin, View view) { argument 225 origin.getLocationOnScreen(xyRoot); 228 int bottomOfRoot = xyRoot[1] + origin.getHeight();
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ViewAsserts.java | 33 * @param origin The root view of the screen. 36 static public void assertOnScreen(View origin, View view) { argument 41 origin.getLocationOnScreen(xyRoot); 55 * @param origin The root view of the screen. 58 static public void assertOffScreenBelow(View origin, View view) { argument 63 origin.getLocationOnScreen(xyRoot); 69 + origin.getHeight() + ")", 70 y > origin.getHeight()); 75 * @param origin Te root view of the screen. 78 static public void assertOffScreenAbove(View origin, Vie argument 98 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/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/core/java/android/transition/ |
H A D | ChangeBounds.java | 344 PropertyValuesHolder origin = PropertyValuesHolder.ofObject( 346 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(drawable, origin);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Matrix_Delegate.java | 897 float[] origin = new float[] { 0.f, 0.f}; 898 mapPoints(origin); 903 // then substract the transformed origin. 906 dst[dstIndex + i] = dst[dstIndex + i] - origin[0]; 907 dst[dstIndex + i + 1] = dst[dstIndex + i + 1] - origin[1];
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 1130 final Uri originUri = Uri.fromFile(args.origin.resolvedFile); 1177 final Uri originUri = Uri.fromFile(args.origin.resolvedFile); 7933 final OriginInfo origin = OriginInfo.fromUntrustedFile(originFile); 7936 msg.obj = new InstallParams(origin, observer, installFlags, 7947 final OriginInfo origin; 7949 origin = OriginInfo.fromStagedFile(stagedDir); 7951 origin = OriginInfo.fromStagedContainer(stagedCid); 7955 msg.obj = new InstallParams(origin, observer, params.installFlags, 8711 final OriginInfo origin; field in class:PackageManagerService.InstallParams 8720 InstallParams(OriginInfo origin, IPackageInstallObserver argument 9141 final OriginInfo origin; field in class:PackageManagerService.InstallArgs 9156 InstallArgs(OriginInfo origin, IPackageInstallObserver2 observer, int installFlags, String installerPackageName, ManifestDigest manifestDigest, UserHandle user, String[] instructionSets, String abiOverride) argument [all...] |