Searched refs:origin (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DWebStorage.java68 private static final String ORIGIN = "origin";
79 * Class containing the HTML5 database quota and usage for an origin.
86 private Origin(String origin, long quota, long usage) { argument
87 mOrigin = origin;
92 private Origin(String origin, long quota) { argument
93 mOrigin = origin;
97 private Origin(String origin) { argument
98 mOrigin = origin;
102 * An origin string is created using WebCore::SecurityOrigin::toString().
107 * @return The origin strin
280 getUsageForOrigin(String origin, ValueCallback<Long> callback) argument
303 getQuotaForOrigin(String origin, ValueCallback<Long> callback) argument
326 setQuotaForOrigin(String origin, long quota) argument
340 deleteOrigin(String origin) argument
429 nativeGetUsageForOrigin(String origin) argument
430 nativeGetQuotaForOrigin(String origin) argument
431 nativeSetQuotaForOrigin(String origin, long quota) argument
432 nativeDeleteOrigin(String origin) argument
[all...]
H A DGeolocationPermissions.java34 * Permissions are managed on a per-origin basis, as required by the
35 * Geolocation spec - http://dev.w3.org/geo/api/spec-source.html. An origin
36 * specifies the scheme, host and port of particular frame. An origin is
53 public void invoke(String origin, boolean allow, boolean remember); argument
80 private static final String ORIGIN = "origin";
144 String origin = (String) values.get(ORIGIN);
146 boolean allowed = nativeGetAllowed(origin);
220 * Gets the permission state for the specified origin.
223 * called asynchronously with the permission state for the origin.
225 public void getAllowed(String origin, ValueCallbac argument
249 clear(String origin) argument
259 allow(String origin) argument
274 nativeGetAllowed(String origin) argument
275 nativeClear(String origin) argument
276 nativeAllow(String origin) argument
[all...]
H A DSslErrorHandlerImpl.java88 private SslErrorHandlerImpl(SslErrorHandler origin, LoadListener listener) { argument
89 mOriginHandler = origin;
H A DWebChromeClient.java219 * Tell the client that the database quota for the origin has been exceeded.
223 * @param currentQuota The current quota for the origin.
254 * Geolocation permission state for the specified origin.
256 public void onGeolocationPermissionsShowPrompt(String origin, argument
H A DCallbackProxy.java499 String origin = (String) map.get("origin");
503 mWebChromeClient.onGeolocationPermissionsShowPrompt(origin,
1400 * Called by WebViewCore to inform the Java side that the current origin
1408 * @param currentQuota The current quota the origin is allowed.
1464 * the user to set the Geolocation permission state for the given origin.
1465 * @param origin The origin requesting Geolocation permsissions.
1469 public void onGeolocationPermissionsShowPrompt(String origin, argument
1478 map.put("origin", origi
[all...]
H A DWebViewCore.java368 * Notify the browser that the origin has exceeded it's database quota.
371 * @param currentQuota The current quota for the origin.
416 * for the given origin.
417 * @param origin The origin for which Geolocation permissions are
420 protected void geolocationPermissionsShowPrompt(String origin) { argument
421 mCallbackProxy.onGeolocationPermissionsShowPrompt(origin,
423 public void invoke(String origin, boolean allow, boolean remember) {
425 data.mOrigin = origin;
631 * quota for the current origin o
645 nativeGeolocationPermissionsProvide(String origin, boolean allow, boolean remember) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DScrollViewButtonsAndLabelsTest.java49 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 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/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...]
/frameworks/compile/libbcc/runtime/make/
H A Dutil.mk101 # and origin of XXX.
103 $(error PRINT: $(value $*) = "$($*)" (from $(origin $*)))
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DLayoutTestsExecutor.java254 public void onGeolocationPermissionsShowPrompt(String origin,
257 callback.invoke(origin, mGeolocationPermission, false);
264 mPendingGeolocationPermissionCallbacks.put(callback, origin);
651 String origin = mPendingGeolocationPermissionCallbacks.get(callback);
652 callback.invoke(origin, mGeolocationPermission, false);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DTestShellActivity.java526 String origin = (String) mPendingGeolocationPermissionCallbacks.get(callback);
527 callback.invoke(origin, mGeolocationPermission, false);
734 * Geolocation permission state for the specified origin.
737 public void onGeolocationPermissionsShowPrompt(String origin,
740 callback.invoke(origin, mGeolocationPermission, false);
747 mPendingGeolocationPermissionCallbacks.put(callback, origin);
/frameworks/base/voip/java/android/net/sip/
H A DSipAudioCall.java362 SipSession origin = mSipSession;
377 if (origin != null) origin.endCall();
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java952 float[] origin = new float[] { 0.f, 0.f};
953 mapPoints(origin);
958 // then substract the transformed origin.
961 dst[dstIndex + i] = dst[dstIndex + i] - origin[0];
962 dst[dstIndex + i + 1] = dst[dstIndex + i + 1] - origin[1];

Completed in 231 milliseconds