Home
last modified time | relevance | path

Searched refs:up (Results 1 – 25 of 144) sorted by relevance

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DTypeClassifier.java40 boolean up = isUp(); in isFalseTouch()
47 return !vertical || up; in isFalseTouch()
52 return !vertical || !up; in isFalseTouch()
54 return !right || !up; in isFalseTouch()
56 return right || !up; in isFalseTouch()
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DOperationSignatureUtils.h104 inline T getUniformValue(int valueProperties, T low, T up, T zeroPoint) {
106 NN_FUZZER_CHECK(up >= zeroPoint);
110 return getUniformNonZero(low, up, zeroPoint);
112 return getUniform(low, up);
121 inline void uniform(T low, T up, T zeroPoint, RandomOperand* op) {
125 data[i] = getUniformValue<T>(op->valueProperties, low, up, zeroPoint);
369 #define PARAMETER_VEC_RANGE(opType, len, low, up) \
373 PARAMETER_FILL_BUFFER_HELPER(opType, len, getUniform, low, up); \
378 #define PARAMETER_RANGE(opType, low, up) PARAMETER_VEC_RANGE(opType, 1, low, up)
383 #define PARAMETER_FLOAT_RANGE(low, up) \
[all …]
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript76 float4 up = {0, 0, 1, 0};
80 right = normalize(cross(normv, up));
81 up = normalize(cross(normv, right));
83 up *= TSIZE * 0.5f;
92 float4 p2 = p - normv + right + up;
94 float4 p3 = p - normv - right + up;
96 float4 p4 = p - normv - up * 2;
/frameworks/base/core/proto/android/app/
Dalarmmanager.proto32 // will wake up the device when it goes off.
35 // alarm does not wake the device up; if it goes off while the device is
36 // asleep, it will not be delivered until the next time the device wakes up.
39 // sleep), which will wake up the device when it goes off.
42 // sleep). This alarm does not wake the device up; if it goes off while the
44 // wakes up.
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java212 double[] up = {0, 0, 1}; in main() local
218 v.setUpVector(up); in main()
280 double[] up = new double[3]; in look() local
284 VectorUtil.cross(zv, rv, up); in look()
285 VectorUtil.cross(zv, up, rv); in look()
286 VectorUtil.cross(zv, rv, up); in look()
287 mUpVector = up; in look()
300 double[] up = new double[3]; in lookAt() local
304 VectorUtil.cross(zv, rv, up); in lookAt()
305 VectorUtil.cross(zv, up, rv); in lookAt()
[all …]
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp61 float *up, *vp, *wp; in poly_clip_to_halfspace() local
79 up = (float *)u; in poly_clip_to_halfspace()
82 for(int i = 0; i < 4; i++, wp++, up++, vp++) { in poly_clip_to_halfspace()
83 *wp = *up+t*(*vp-*up); in poly_clip_to_halfspace()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DTemperatureTextAnimator.java136 private Animation createTranslateFadeAnimation(boolean in, boolean up) { in createTranslateFadeAnimation() argument
140 int fromYDelta = in ? (up ? 1 : -1) : 0; in createTranslateFadeAnimation()
141 int toYDelta = in ? 0 : (up ? -1 : 1); in createTranslateFadeAnimation()
151 private Animation createRotateFadeAnimation(boolean in, boolean isLeft, boolean up) { in createRotateFadeAnimation() argument
156 float degrees = isLeft == up ? -ROTATION_DEGREES : ROTATION_DEGREES; in createRotateFadeAnimation()
/frameworks/native/cmds/ip-up-vpn/
DAndroid.mk20 LOCAL_SRC_FILES := ip-up-vpn.c
23 LOCAL_MODULE := ip-up-vpn
/frameworks/native/services/sensorservice/
DFusion.cpp294 vec3_t up(mData[0]); in checkInitComplete() local
298 east = normalize(cross_product(mData[1], up)); in checkInitComplete()
300 east = getOrthogonal(up); in checkInitComplete()
303 vec3_t north(cross_product(up, east)); in checkInitComplete()
304 R << east << north << up; in checkInitComplete()
370 const vec3_t up( getRotationMatrix() * Ba ); in handleMag() local
371 const vec3_t east( cross_product(m, up) ); in handleMag()
383 vec3_t north( cross_product(up, east) ); in handleMag()
/frameworks/base/core/java/android/net/
DINetworkManagementEventObserver.aidl34 void interfaceStatusChanged(String iface, boolean up); in interfaceStatusChanged() argument
43 void interfaceLinkStateChanged(String iface, boolean up); in interfaceLinkStateChanged() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetworkObserver.java37 public void interfaceStatusChanged(String iface, boolean up) { in interfaceStatusChanged() argument
57 public void interfaceLinkStateChanged(String iface, boolean up) { in interfaceLinkStateChanged() argument
/frameworks/base/packages/Tethering/src/android/net/util/
DBaseNetdUnsolicitedEventListener.java54 public void onInterfaceChanged(@NonNull String ifName, boolean up) { } in onInterfaceChanged() argument
57 public void onInterfaceLinkStateChanged(@NonNull String ifName, boolean up) { } in onInterfaceLinkStateChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DEventLogTags.logtags17 ## secure: 1: The user has set up a secure unlock method (PIN, password, etc.)
18 ## currentlyInsecure: 1: No secure unlock method set up (!secure), or trusted environment (TrustMan…
30 ## type: 1: SWIPE_UP_UNLOCK Swiped up to dismiss the lockscreen.
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java186 boolean updateInterfaceLinkState(String ifaceName, boolean up) { in updateInterfaceLinkState() argument
192 Log.d(TAG, "updateInterfaceLinkState, iface: " + ifaceName + ", up: " + up); in updateInterfaceLinkState()
196 return iface.updateLinkState(up); in updateInterfaceLinkState()
506 boolean updateLinkState(boolean up) { in updateLinkState() argument
507 if (mLinkUp == up) return false; in updateLinkState()
508 mLinkUp = up; in updateLinkState()
511 if (up) { in updateLinkState()
DEthernetTracker.java329 private void updateInterfaceState(String iface, boolean up) { in updateInterfaceState() argument
332 && mFactory.updateInterfaceLinkState(iface, up); in updateInterfaceState()
345 mListeners.getBroadcastItem(i).onAvailabilityChanged(iface, up); in updateInterfaceState()
414 public void interfaceLinkStateChanged(String iface, boolean up) { in interfaceLinkStateChanged() argument
416 Log.i(TAG, "interfaceLinkStateChanged, iface: " + iface + ", up: " + up); in interfaceLinkStateChanged()
418 mHandler.post(() -> updateInterfaceState(iface, up)); in interfaceLinkStateChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenDurationDialog.java293 protected void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { in onClickTimeButton() argument
300 int j = up ? i : N - 1 - i; in onClickTimeButton()
302 if (up && bucketMinutes > time || !up && bucketMinutes < time) { in onClickTimeButton()
314 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1))); in onClickTimeButton()
DEnableZenModeDialog.java419 private void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { in onClickTimeButton() argument
420 MetricsLogger.action(mContext, MetricsProto.MetricsEvent.QS_DND_TIME, up); in onClickTimeButton()
429 int j = up ? i : N - 1 - i; in onClickTimeButton()
432 if (up && bucketTime > time || !up && bucketTime < time) { in onClickTimeButton()
447 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1))); in onClickTimeButton()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java85 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling() local
88 inst.sendKeySync(up); in testKeyScrolling()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java87 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling() local
90 inst.sendKeySync(up); in testKeyScrolling()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNat464Xlat.java461 private void handleInterfaceLinkStateChanged(String iface, boolean up) { in handleInterfaceLinkStateChanged() argument
476 if (!isStarting() || !up || !Objects.equals(mIface, iface)) { in handleInterfaceLinkStateChanged()
514 public void interfaceLinkStateChanged(String iface, boolean up) { in interfaceLinkStateChanged() argument
515 mNetwork.handler().post(() -> { handleInterfaceLinkStateChanged(iface, up); }); in interfaceLinkStateChanged()
/frameworks/base/core/java/android/bluetooth/
DBluetoothProfileConnector.java45 public void onBluetoothStateChange(boolean up) {
46 if (up) {
DBluetoothPbap.java114 public void onBluetoothStateChange(boolean up) {
115 log("onBluetoothStateChange: up=" + up);
116 if (!up) {
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dlit.cfg42 # Set up the suite name, extensions that are recognized as testcases, and
57 ## Set up SDK path and version
69 ## Set up environment variables
/frameworks/native/opengl/libs/EGL/
DGLES_layers.md14 …r the layer to use (layer_id) and an entrypoint that can be called to look up functions below the …
29up functions independently (i.e. not wait for calls to `AndroidGLESLayer_GetProcAddress`). Layers…
106up front, or layers that needs to look up extensions not known to the EGL loader, active layer ini…
142 // look up any entrypoints
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg22 # Set up the suite name, extensions that are recognized as testcases, and
42 ## Set up environment variables

123456