Searched defs:origin (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DGeolocationPermissions.java25 * 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 DWebStorage.java28 * 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 DWebChromeClient.java225 * API for a particular origin and request a new quota. The client must
235 * @param quota The quota for the origin, in bytes
277 * Notify the host application that web content from the specified origin
279 * currently set for that origin. The host application should invoke the
282 * @param origin The origin of the web content attempting to use the
285 * origin.
287 public void onGeolocationPermissionsShowPrompt(String origin, argument
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DGeolocationPermissionsAdapter.java39 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 DWebStorageAdapter.java44 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 DWebViewContentsClientAdapter.java542 public void onGeolocationPermissionsShowPrompt(String origin, argument
547 mWebChromeClient.onGeolocationPermissionsShowPrompt(origin, callback);
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java196 * @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/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java38 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/test-runner/src/android/test/
H A DViewAsserts.java33 * @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...]

Completed in 320 milliseconds