Home
last modified time | relevance | path

Searched refs:origin (Results 1 – 25 of 182) sorted by relevance

12345678

/frameworks/base/core/java/android/webkit/
DWebStorage.java71 protected Origin(String origin, long quota, long usage) { in Origin() argument
72 mOrigin = origin; in Origin()
143 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { in getUsageForOrigin() argument
154 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { in getQuotaForOrigin() argument
166 public void setQuotaForOrigin(String origin, long quota) { in setQuotaForOrigin() argument
175 public void deleteOrigin(String origin) { in deleteOrigin() argument
DGeolocationPermissions.java62 public void invoke(String origin, boolean allow, boolean retain); in invoke() argument
104 public void getAllowed(String origin, ValueCallback<Boolean> callback) { in getAllowed() argument
113 public void clear(String origin) { in clear() argument
122 public void allow(String origin) { in allow() argument
DWebChromeClient.java335 public void onGeolocationPermissionsShowPrompt(String origin, in onGeolocationPermissionsShowPrompt() argument
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabelsTest.java48 int origin[] = {0, 0}; in setUp() local
49 mScrollView.getLocationOnScreen(origin); in setUp()
50 mScreenTop = origin[1]; in setUp()
51 mScreenBottom = origin[1] + mScrollView.getHeight(); in setUp()
181 int origin[] = {0, 0}; in findFirstButtonOffScreenTop2Bottom() local
182 mScrollView.getLocationOnScreen(origin); in findFirstButtonOffScreenTop2Bottom()
191 if (buttonLoc[1] - origin[1] > screenHeight) { in findFirstButtonOffScreenTop2Bottom()
200 int origin[] = {0, 0}; in findFirstButtonOffScreenBottom2Top() local
201 mScrollView.getLocationOnScreen(origin); in findFirstButtonOffScreenBottom2Top()
DRequestRectangleVisibleTest.java201 static public void assertOnBottomEdgeOfScreen(View origin, View view) { in assertOnBottomEdgeOfScreen() argument
206 origin.getLocationOnScreen(xyRoot); in assertOnBottomEdgeOfScreen()
209 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnBottomEdgeOfScreen()
222 static public void assertOnTopEdgeOfScreen(View origin, View view) { in assertOnTopEdgeOfScreen() argument
227 origin.getLocationOnScreen(xyRoot); in assertOnTopEdgeOfScreen()
230 int bottomOfRoot = xyRoot[1] + origin.getHeight(); in assertOnTopEdgeOfScreen()
/frameworks/base/test-runner/src/android/test/
DViewAsserts.java44 static public void assertOnScreen(View origin, View view) { in assertOnScreen() argument
49 origin.getLocationOnScreen(xyRoot); in assertOnScreen()
66 static public void assertOffScreenBelow(View origin, View view) { in assertOffScreenBelow() argument
71 origin.getLocationOnScreen(xyRoot); in assertOffScreenBelow()
77 + origin.getHeight() + ")", in assertOffScreenBelow()
78 y > origin.getHeight()); in assertOffScreenBelow()
86 static public void assertOffScreenAbove(View origin, View view) { in assertOffScreenAbove() argument
91 origin.getLocationOnScreen(xyRoot); in assertOffScreenAbove()
106 static public void assertHasScreenCoordinates(View origin, View view, int x, int y) { in assertHasScreenCoordinates() argument
111 origin.getLocationOnScreen(xyRoot); in assertHasScreenCoordinates()
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyImpl.java457 @Origin int origin, @NonNull TimestampedValue<Long> time, @NonNull String cause) { in setSystemClockIfRequired()
459 boolean isOriginAutomatic = isOriginAutomatic(origin); in setSystemClockIfRequired()
464 + " origin=" + origin in setSystemClockIfRequired()
474 + " origin=" + origin in setSystemClockIfRequired()
484 setSystemClockUnderWakeLock(origin, time, cause); in setSystemClockIfRequired()
490 private static boolean isOriginAutomatic(@Origin int origin) { in isOriginAutomatic() argument
491 return origin != ORIGIN_MANUAL; in isOriginAutomatic()
496 int origin, @NonNull TimestampedValue<Long> newTime, @NonNull Object cause) { in setSystemClockUnderWakeLock() argument
499 boolean isOriginAutomatic = isOriginAutomatic(origin); in setSystemClockUnderWakeLock()
554 if (isOriginAutomatic(origin)) { in setSystemClockUnderWakeLock()
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DRectangle.java38 public Rectangle(Point origin, Point size) { in Rectangle() argument
39 super(origin, in Rectangle()
40 origin.plus(size.x, 0.0f), in Rectangle()
41 origin.plus(0.0f, size.y), in Rectangle()
42 origin.plus(size.x, size.y)); in Rectangle()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImpl.java309 @Origin int origin, @NonNull String newZoneId, @NonNull String cause) { in setDeviceTimeZoneIfRequired()
313 boolean isOriginAutomatic = isOriginAutomatic(origin); in setDeviceTimeZoneIfRequired()
318 + " origin=" + origin in setDeviceTimeZoneIfRequired()
328 + " origin=" + origin in setDeviceTimeZoneIfRequired()
345 + " origin=" + origin in setDeviceTimeZoneIfRequired()
354 + " origin=" + origin in setDeviceTimeZoneIfRequired()
364 private static boolean isOriginAutomatic(@Origin int origin) { in isOriginAutomatic() argument
365 return origin != ORIGIN_MANUAL; in isOriginAutomatic()
/frameworks/ml/nn/tools/test_generator/
Dtest_generator.py859 def __init__(self, origin, target, dim, drop=[], name=None): argument
861 self.origin = origin
863 assert all(i >= -dim and i < dim for i in [self.origin, self.target])
866 self.perm.insert(target if target >= 0 else target + dim, self.perm.pop(origin))
1131 origin = None
1135 origin = arg.value[0]
1142 origin = dim - 1 if origin is None else origin
1143 origin = origin + dim if origin < 0 else origin
1144 return origin, dim
1147 origin, dim = self.GuessOriginalAxisAndDim(*args)
[all …]
DREADME.md271 example.AddVariations(*[AxisConverter(origin, t, dim).Identify(op_list) for t in targets])
275 AxisConverter(origin, t, dim).Identify(op_list) for t in range(dim)
280 AxisConverter(origin, t, dim).Identify(op_list) for t in range(-dim, dim)
285 drop.pop(origin)
287 AxisConverter(origin, origin, dim, drop[0:(dim-i)]).Identify(op_list) for i in dims])
291 AxisConverter(origin, origin, dim, drop[0:i]).Identify(op_list) for i in range(dim)])
295 AxisConverter(origin, j, dim, range(i)).Identify(op_list) \
301 AxisConverter(origin, k, dim, range(i)).Identify(op_list) \
/frameworks/base/keystore/java/android/security/keystore/
DAndroidKeyStoreSecretKeyFactorySpi.java90 @KeyProperties.OriginEnum int origin; in getKeyInfo() local
103 origin = KeyProperties.Origin.fromKeymaster( in getKeyInfo()
107 origin = KeyProperties.Origin.fromKeymaster( in getKeyInfo()
197 origin, in getKeyInfo()
DKeyInfo.java92 @KeyProperties.OriginEnum int origin, in KeyInfo() argument
111 mOrigin = origin; in KeyInfo()
DKeyProperties.java706 public static @OriginEnum int fromKeymaster(int origin) { in fromKeymaster() argument
707 switch (origin) { in fromKeymaster()
717 throw new IllegalArgumentException("Unknown origin: " + origin); in fromKeymaster()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dvignette_approx_f.rsh48 // Convert x and y to floating point coordinates with center as origin
Dvignette_f.rsh48 // Convert x and y to floating point coordinates with center as origin
Dfisheye_approx_f.rsh48 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dvignette.rsh48 // Convert x and y to floating point coordinates with center as origin
Dfisheye.rsh46 // Convert x and y to floating point coordinates with center as origin
Dvignette_approx.rsh48 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye.rsh46 // Convert x and y to floating point coordinates with center as origin
Dvignette_approx.rsh48 // Convert x and y to floating point coordinates with center as origin
Dvignette.rsh48 // Convert x and y to floating point coordinates with center as origin
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dvignette_approx.rsh48 // Convert x and y to floating point coordinates with center as origin
Dvignette.rsh48 // Convert x and y to floating point coordinates with center as origin

12345678