Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 2201) sorted by relevance

12345678910>>...89

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowFrameTests.java79 private void assertContentInset(WindowState w, int left, int top, int right, int bottom) { in assertContentInset() argument
80 assertRect(w.getContentInsets(), left, top, right, bottom); in assertContentInset()
83 private void assertVisibleInset(WindowState w, int left, int top, int right, int bottom) { in assertVisibleInset() argument
84 assertRect(w.getVisibleInsets(), left, top, right, bottom); in assertVisibleInset()
87 private void assertStableInset(WindowState w, int left, int top, int right, int bottom) { in assertStableInset() argument
88 assertRect(w.getStableInsets(), left, top, right, bottom); in assertStableInset()
91 private void assertFrame(WindowState w, Rect frame) { in assertFrame() argument
92 assertEquals(w.getFrameLw(), frame); in assertFrame()
95 private void assertFrame(WindowState w, int left, int top, int right, int bottom) { in assertFrame() argument
96 assertRect(w.getFrameLw(), left, top, right, bottom); in assertFrame()
[all …]
/frameworks/base/rs/java/android/renderscript/
DLong4.java27 public long w; field in Long4
34 this.x = this.y = this.z = this.w = i; in Long4()
37 public Long4(long x, long y, long z, long w) { in Long4() argument
41 this.w = w; in Long4()
49 this.w = source.w; in Long4()
61 this.w += a.w; in add()
76 result.w = a.w + b.w; in add()
90 w += value; in add()
105 result.w = a.w + b; in add()
119 this.w -= a.w; in sub()
[all …]
DShort4.java27 public short w; field in Short4
34 this.x = this.y = this.z = this.w = i; in Short4()
37 public Short4(short x, short y, short z, short w) { in Short4() argument
41 this.w = w; in Short4()
49 this.w = source.w; in Short4()
61 this.w += a.w; in add()
76 result.w = (short)(a.w + b.w); in add()
90 w += value; in add()
105 result.w = (short)(a.w + b); in add()
119 this.w -= a.w; in sub()
[all …]
DInt4.java27 public int w; field in Int4
34 this.x = this.y = this.z = this.w = i; in Int4()
37 public Int4(int x, int y, int z, int w) { in Int4() argument
41 this.w = w; in Int4()
49 this.w = source.w; in Int4()
61 this.w += a.w; in add()
76 result.w = a.w + b.w; in add()
90 w += value; in add()
105 result.w = a.w + b; in add()
119 this.w -= a.w; in sub()
[all …]
DFloat4.java27 public float w; field in Float4
36 this.w = data.w; in Float4()
39 public Float4(float x, float y, float z, float w) { in Float4() argument
43 this.w = w; in Float4()
58 res.w = a.w + b.w; in add()
72 w += value.w; in add()
84 w += value; in add()
99 res.w = a.w + b; in add()
113 w -= value.w; in sub()
125 w -= value; in sub()
[all …]
DDouble4.java27 public double w; field in Double4
36 this.w = data.w; in Double4()
39 public Double4(double x, double y, double z, double w) { in Double4() argument
43 this.w = w; in Double4()
58 res.w = a.w + b.w; in add()
72 w += value.w; in add()
84 w += value; in add()
99 res.w = a.w + b; in add()
113 w -= value.w; in sub()
125 w -= value; in sub()
[all …]
DByte4.java28 public byte w; field in Byte4
37 w = initW; in Byte4()
44 this.w = source.w; in Byte4()
56 this.w += a.w; in add()
71 result.w = (byte)(a.w + b.w); in add()
85 w += value; in add()
100 result.w = (byte)(a.w + b); in add()
114 this.w -= a.w; in sub()
129 result.w = (byte)(a.w - b.w); in sub()
143 w -= value; in sub()
[all …]
/frameworks/rs/script_api/
Drs_math.spec169 w: 1, 2, 3, 4
183 w: 1, 2, 3, 4
197 w: 1, 2, 3, 4
206 w: 1, 2, 3, 4
220 w: 1, 2, 3, 4
229 w: 1, 2, 3, 4
245 w: 1, 2, 3, 4
254 w: 1, 2, 3, 4
268 w: 1, 2, 3, 4
277 w: 1, 2, 3, 4
[all …]
/frameworks/native/libs/math/tests/
Dquat_test.cpp51 EXPECT_EQ(q0.w, 0); in TEST_F()
57 EXPECT_EQ(q1.w, 1); in TEST_F()
63 EXPECT_EQ(q2.w, 1); in TEST_F()
69 EXPECT_EQ(q3.w, 1); in TEST_F()
75 EXPECT_EQ(q4.w, 42); in TEST_F()
81 EXPECT_EQ(q5.w, 24); in TEST_F()
88 EXPECT_EQ(q6.w, 12); in TEST_F()
94 EXPECT_EQ(q7.w, 1); in TEST_F()
100 EXPECT_EQ(qf.w, 2); in TEST_F()
108 q0.w = 40; in TEST_F()
[all …]
Dvec_test.cpp46 EXPECT_EQ(v0.w, 0); in TEST_F()
52 EXPECT_EQ(v1.w, 1); in TEST_F()
58 EXPECT_EQ(v2.w, 4); in TEST_F()
64 EXPECT_EQ(v3.w, 4); in TEST_F()
70 EXPECT_EQ(v4.w, 42); in TEST_F()
76 EXPECT_EQ(v5.w, 24); in TEST_F()
82 EXPECT_EQ(vf.w, 2); in TEST_F()
91 v0.w = 40; in TEST_F()
95 EXPECT_EQ(v0.w, 40); in TEST_F()
104 EXPECT_EQ(v0.w, 400); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceWrapper.java54 Slog.w(TAG , "Remote Exception", e); in verifyUnlock()
63 Slog.w(TAG , "Remote Exception", e); in setOccluded()
72 Slog.w(TAG , "Remote Exception", e); in addStateMonitorCallback()
81 Slog.w(TAG , "Remote Exception", e); in dismiss()
90 Slog.w(TAG , "Remote Exception", e); in onDreamingStarted()
99 Slog.w(TAG , "Remote Exception", e); in onDreamingStopped()
108 Slog.w(TAG , "Remote Exception", e); in onStartedGoingToSleep()
117 Slog.w(TAG , "Remote Exception", e); in onFinishedGoingToSleep()
126 Slog.w(TAG , "Remote Exception", e); in onStartedWakingUp()
135 Slog.w(TAG , "Remote Exception", e); in onFinishedWakingUp()
[all …]
/frameworks/base/core/java/android/service/quickaccesswallet/
DGetWalletCardsCallbackImpl.java60 Log.w(TAG, "Invalid GetWalletCards response"); in onSuccess()
79 Log.w(TAG, "already called"); in onSuccessInternal()
86 Log.w(TAG, "Error returning wallet cards", e); in onSuccessInternal()
92 Log.w(TAG, "already called"); in onFailureInternal()
105 Log.w(TAG, "Invalid response: response is null"); in isValidResponse()
109 Log.w(TAG, "Invalid response: walletCards is null"); in isValidResponse()
113 Log.w(TAG, "Invalid response: selectedIndex is negative"); in isValidResponse()
118 Log.w(TAG, "Invalid response: selectedIndex out of bounds"); in isValidResponse()
122 Log.w(TAG, "Invalid response: too many cards"); in isValidResponse()
127 Log.w(TAG, "Invalid response: card is null"); in isValidResponse()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java456 final WindowState w = mWin; in createSurfaceLocked() local
466 w.setHasSurface(false); in createSurfaceLocked()
474 mService.makeWindowFreezingScreenIfNeededLocked(w); in createSurfaceLocked()
477 final WindowManager.LayoutParams attrs = w.mAttrs; in createSurfaceLocked()
479 if (w.isSecureLocked()) { in createSurfaceLocked()
483 calculateSurfaceBounds(w, attrs, mTmpSize); in createSurfaceLocked()
512 && !w.isDragResizing()) { in createSurfaceLocked()
524 w.setHasSurface(true); in createSurfaceLocked()
531 Slog.w(TAG, "OutOfResourcesException creating surface"); in createSurfaceLocked()
543 + ", set left=" + w.getFrameLw().left + " top=" + w.getFrameLw().top); in createSurfaceLocked()
[all …]
DDisplayContent.java639 private final Consumer<WindowState> mUpdateWindowsForAnimator = w -> {
640 WindowStateAnimator winAnimator = w.mWinAnimator;
641 final ActivityRecord activity = w.mActivityRecord;
644 if (w.performShowLocked()) {
655 private final Consumer<WindowState> mScheduleToastTimeout = w -> {
658 if (w.mAttrs.type == TYPE_TOAST && w.mOwnerUid == lostFocusUid) {
659 if (!handler.hasMessages(WINDOW_HIDE_TIMEOUT, w)) {
660 handler.sendMessageDelayed(handler.obtainMessage(WINDOW_HIDE_TIMEOUT, w),
661 w.mAttrs.hideTimeoutMilliseconds);
666 private final ToBooleanFunction<WindowState> mFindFocusedWindow = w -> {
[all …]
/frameworks/rs/driver/runtime/
Drs_quaternion.c13 q->w += rhs->w; in rsQuaternionAdd()
28 return q0->w*q1->w + q0->x*q1->x + q0->y*q1->y + q0->z*q1->z; in rsQuaternionDot()
36 float xw = q->x * q->w; in rsQuaternionGetMatrixUnit()
39 float yw = q->y * q->w; in rsQuaternionGetMatrixUnit()
41 float zw = q->z * q->w; in rsQuaternionGetMatrixUnit()
62 q->w = c; in rsQuaternionLoadRotateUnit()
69 rsQuaternionSet(rs_quaternion* q, float w, float x, float y, float z) { in rsQuaternionSet() argument
70 q->w = w; in rsQuaternionSet()
78 q->w = rhs->w; in rsQuaternionSet()
101 q->w *= recipLen; in rsQuaternionNormalize()
[all …]
/frameworks/rs/cpp/
DAllocation.cpp282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument
286 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
294 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
297 void *ptr = malloc(eSize * w * h); in copy2DRangeFrom()
298 copyWithPadding(ptr, data, eSize / 4, w * h); in copy2DRangeFrom()
301w, h, ptr, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
302 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom()
307w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
308 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DWindowInfoTest.java80 WindowInfo w = WindowInfo.obtain(); in testDefaultValues() local
82 assertEquals(0, w.type); in testDefaultValues()
83 assertEquals(0, w.layer); in testDefaultValues()
84 assertEquals(AccessibilityNodeInfo.UNDEFINED_NODE_ID, w.accessibilityIdOfAnchor); in testDefaultValues()
85 assertEquals(Display.INVALID_DISPLAY, w.displayId); in testDefaultValues()
86 assertNull(w.title); in testDefaultValues()
87 assertNull(w.token); in testDefaultValues()
88 assertNull(w.childTokens); in testDefaultValues()
89 assertNull(w.parentToken); in testDefaultValues()
90 assertNull(w.activityToken); in testDefaultValues()
[all …]
/frameworks/native/cmds/flatland/
DComposers.cpp47 int32_t x, int32_t y, uint32_t w, uint32_t h) { in blit() argument
49 return modBlit(texName, texMatrix, modColor, x, y, w, h); in blit()
53 int32_t x, int32_t y, uint32_t w, uint32_t h) { in modBlit() argument
66 float(x+w), float(y), in modBlit()
68 float(x+w), float(y+h), in modBlit()
155 int32_t w = mLayerDesc.width; in opaque() local
158 return mBlitter.blit(texName, texMatrix, x, y, w, h); in opaque()
179 int32_t w = mLayerDesc.width; in opaqueShrink() local
184 x += w / 128; in opaqueShrink()
186 w -= w / 64; in opaqueShrink()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DAdaptiveIconDrawableTest.java218 final int w = a.getWidth(); in equalBitmaps() local
220 int[] aPix = new int[w * h]; in equalBitmaps()
221 int[] bPix = new int[w * h]; in equalBitmaps()
224 for (int i = 0; i < w; i++) { in equalBitmaps()
239 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps()
240 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps()
252 final int w = a.getWidth(); in findBitmapDifferences() local
254 int[] aPix = new int[w * h]; in findBitmapDifferences()
255 int[] bPix = new int[w * h]; in findBitmapDifferences()
257 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences()
[all …]
/frameworks/rs/driver/runtime/arch/
Dgeneric.c54 r.w = amount.w < low.w ? low.w : (amount.w > high.w ? high.w : amount.w); \
78 r.w = amount.w < low ? low : (amount.w > high ? high : amount.w); \
142 r.w = v1.w > v2.w ? v1.w : v2.w; in fmax()
166 r.w = v1.w > v2 ? v1.w : v2; in fmax()
198 r.w = v1.w < v2.w ? v1.w : v2.w; in fmin()
222 r.w = v1.w < v2 ? v1.w : v2; in fmin()
255 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
283 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
311 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
339 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
[all …]
/frameworks/base/core/java/android/os/
DSystemVibrator.java64 Log.w(TAG, "Failed to vibrate; no vibrator service."); in hasVibrator()
82 Log.w(TAG, "Failed to vibrate; no vibrator service."); in isVibrating()
124 Log.w(TAG, "Failed to add vibrate state listener; no vibrator service."); in addVibratorStateListener()
131 Log.w(TAG, "Listener already registered."); in addVibratorStateListener()
138 Log.w(TAG, "Failed to register vibrate state listener"); in addVibratorStateListener()
158 Log.w(TAG, "Failed to add vibrate state listener; no vibrator context."); in addVibratorStateListener()
174 Log.w(TAG, "Failed to remove vibrate state listener; no vibrator service."); in removeVibratorStateListener()
183 Log.w(TAG, "Failed to unregister vibrate state listener"); in removeVibratorStateListener()
197 Log.w(TAG, "Failed to check amplitude control; no vibrator service."); in hasAmplitudeControl()
211 Log.w(TAG, "Failed to set always-on effect; no vibrator service."); in setAlwaysOnEffect()
[all …]
/frameworks/native/libs/math/include/math/
Dvec4.h48 struct { T x, y, z, w; }; member
89 constexpr TVec4() : x(0), y(0), z(0), w(0) { } in TVec4()
93 constexpr TVec4(A v) : x(v), y(v), z(v), w(v) { } in TVec4()
96 constexpr TVec4(A x, B y, C z, D w) : x(x), y(y), z(z), w(w) { } in TVec4() argument
99 constexpr TVec4(const TVec2<A>& v, B z, C w) : x(v.x), y(v.y), z(z), w(w) { } in TVec4() argument
102 constexpr TVec4(const TVec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in TVec4() argument
106 constexpr TVec4(const TVec4<A>& v) : x(v.x), y(v.y), z(v.z), w(v.w) { } in TVec4()
/frameworks/base/core/java/com/android/internal/view/
DIInputConnectionWrapper.java247 Log.w(TAG, "getTextAfterCursor on inactive InputConnection"); in executeMessage()
255 Log.w(TAG, "Failed to return the result to getTextAfterCursor()." in executeMessage()
265 Log.w(TAG, "getTextBeforeCursor on inactive InputConnection"); in executeMessage()
273 Log.w(TAG, "Failed to return the result to getTextBeforeCursor()." in executeMessage()
283 Log.w(TAG, "getSelectedText on inactive InputConnection"); in executeMessage()
291 Log.w(TAG, "Failed to return the result to getSelectedText()." in executeMessage()
301 Log.w(TAG, "getCursorCapsMode on inactive InputConnection"); in executeMessage()
309 Log.w(TAG, "Failed to return the result to getCursorCapsMode()." in executeMessage()
323 Log.w(TAG, "getExtractedText on inactive InputConnection"); in executeMessage()
331 Log.w(TAG, "Failed to return the result to getExtractedText()." in executeMessage()
[all …]
/frameworks/base/telephony/common/com/google/android/mms/util/
DDrmConvertSession.java64 Log.w(TAG, "Conversion of Mimetype: " + mimeType in open()
67 Log.w(TAG, "Could not access Open DrmFramework.", e); in open()
70 Log.w(TAG, in open()
73 Log.w(TAG, "DrmManagerClient didn't initialize properly."); in open()
111 Log.w(TAG, "Buffer with data to convert is illegal. Convertsession: " in convert()
114 Log.w(TAG, "Could not convert data. Convertsession: " + in convert()
153 Log.w(TAG, "File: " + filename + " could not be found.", e); in close()
156 Log.w(TAG, "Could not access File: " + filename + " .", e); in close()
159 Log.w(TAG, "Could not open file in mode: rw", e); in close()
161 Log.w(TAG, "Access to File: " + filename + in close()
[all …]
/frameworks/native/services/sensorservice/
DFusion.cpp313 void Fusion::handleGyro(const vec3_t& w, float dT) { in handleGyro() argument
314 if (!checkInitComplete(GYRO, w, dT)) in handleGyro()
317 predict(w, dT); in handleGyro()
423 F[0].x = q.w; F[1].x =-q.z; F[2].x = q.y; in getF()
424 F[0].y = q.z; F[1].y = q.w; F[2].y =-q.x; in getF()
425 F[0].z =-q.y; F[1].z = q.x; F[2].z = q.w; in getF()
426 F[0].w =-q.x; F[1].w =-q.y; F[2].w =-q.z; in getF()
430 void Fusion::predict(const vec3_t& w, float dT) { in predict() argument
433 vec3_t we = w - b; in predict()
477 O[0].xyz = O33[0]; O[0].w = -psi.x; in predict()
[all …]

12345678910>>...89