Home
last modified time | relevance | path

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

12345678910>>...52

/frameworks/base/rs/java/android/renderscript/
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 …]
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 …]
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 …]
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/api/
Drs_core_math.spec18 w: 2, 3, 4
30 w: 2, 3, 4
42 w: 2, 3, 4
54 w: 2, 3, 4
66 w: 1, 2, 3, 4
77 w: 1, 2, 3, 4
88 w: 1, 2, 3, 4
99 w: 1, 2, 3, 4
110 w: 1, 2, 3, 4
121 w: 1, 2, 3, 4
[all …]
/frameworks/native/include/ui/
Dvec4.h43 struct { T x, y, z, w; }; member
71 tvec4() : x(0), y(0), z(0), w(0) { } in tvec4()
75 tvec4(A v) : x(v), y(v), z(v), w(v) { } in tvec4()
78 tvec4(A x, B y, C z, D w) : x(x), y(y), z(z), w(w) { } in tvec4() argument
81 tvec4(const tvec2<A>& v, B z, C w) : x(v.x), y(v.y), z(z), w(w) { } in tvec4() argument
84 tvec4(const tvec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in tvec4() argument
87 explicit tvec4(const tvec4<A>& v) : x(v.x), y(v.y), z(v.z), w(v.w) { } in tvec4()
94 w(((const tvec4<A>&)v).w) { } in tvec4()
97 tvec4(const Impersonator< tvec3<A> >& v, B w) in tvec4() argument
101 w(w) { } in tvec4()
[all …]
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java502 Log.w(TAG, "Failed talking with device policy service", e); in isAdminActiveAsUser()
517 Log.w(TAG, "Failed talking with device policy service", e); in isRemovingAdmin()
542 Log.w(TAG, "Failed talking with device policy service", e); in getActiveAdminsAsUser()
558 Log.w(TAG, "Failed talking with device policy service", e); in packageHasActiveAdmins()
575 Log.w(TAG, "Failed talking with device policy service", e); in removeActiveAdmin()
594 Log.w(TAG, "Failed talking with device policy service", e); in hasGrantedPolicy()
695 Log.w(TAG, "Failed talking with device policy service", e); in setPasswordQuality()
716 Log.w(TAG, "Failed talking with device policy service", e); in getPasswordQuality()
748 Log.w(TAG, "Failed talking with device policy service", e); in setPasswordMinimumLength()
769 Log.w(TAG, "Failed talking with device policy service", e); in getPasswordMinimumLength()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java205 Slog.w(TAG, "WindowStateAnimator ctor: Display has been removed"); in WindowStateAnimator()
503 Slog.w(TAG, "Exception hiding surface in " + mWin); in hide()
567 String name, int w, int h, int format, int flags) in SurfaceTrace() argument
569 super(s, name, w, h, format, flags); in SurfaceTrace()
571 mSize.set(w, h); in SurfaceTrace()
622 public void setSize(int w, int h) { in setSize() argument
623 if (w != mSize.x || h != mSize.y) { in setSize()
624 if (logSurfaceTrace) Slog.v(SURFACE_TAG, "setSize(" + w + "," + h + "): OLD:" in setSize()
626 mSize.set(w, h); in setSize()
628 super.setSize(w, h); in setSize()
[all …]
/frameworks/native/libs/ui/tests/
Dvec_test.cpp47 EXPECT_EQ(v0.w, 0); in TEST_F()
53 EXPECT_EQ(v1.w, 1); in TEST_F()
59 EXPECT_EQ(v2.w, 4); in TEST_F()
65 EXPECT_EQ(v3.w, 4); in TEST_F()
71 EXPECT_EQ(v4.w, 42); in TEST_F()
77 EXPECT_EQ(v5.w, 24); in TEST_F()
83 EXPECT_EQ(vd.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/support/v17/leanback/
Dgeneratev4.py25 for w in cls:
26 print "copy {}Fragment to {}SupportFragment".format(w, w)
28 file = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r')
29 outfile = open('src/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w')
31 …file.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format(w))
34 for w in cls:
35 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w))
/frameworks/base/keystore/java/android/security/
DKeyStore.java88 Log.w(TAG, "Cannot connect to keystore", e); in state()
108 Log.w(TAG, "Cannot connect to keystore", e); in get()
117 Log.w(TAG, "Cannot connect to keystore", e); in put()
126 Log.w(TAG, "Cannot connect to keystore", e); in delete()
139 Log.w(TAG, "Cannot connect to keystore", e); in contains()
152 Log.w(TAG, "Cannot connect to keystore", e); in saw()
165 Log.w(TAG, "Cannot connect to keystore", e); in reset()
174 Log.w(TAG, "Cannot connect to keystore", e); in password()
183 Log.w(TAG, "Cannot connect to keystore", e); in lock()
193 Log.w(TAG, "Cannot connect to keystore", e); in unlock()
[all …]
/frameworks/av/media/libstagefright/
DClockEstimator.cpp59 void WindowedLinearFitEstimator::LinearFit::add(double x, double y, double w) { in add() argument
60 mW += w; in add()
61 mX += w * x; in add()
62 mY += w * y; in add()
63 mXX += w * x * x; in add()
64 mXY += w * x * y; in add()
65 mYY += w * y * y; in add()
77 void WindowedLinearFitEstimator::LinearFit::scale(double w) { in scale() argument
78 mW *= w; in scale()
79 mX *= w; in scale()
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardServiceWrapper.java50 Slog.w(TAG , "Remote Exception", e); in verifyUnlock()
59 Slog.w(TAG , "Remote Exception", e); in keyguardDone()
68 Slog.w(TAG , "Remote Exception", e); in setOccluded()
77 Slog.w(TAG , "Remote Exception", e); in addStateMonitorCallback()
86 Slog.w(TAG , "Remote Exception", e); in dismiss()
95 Slog.w(TAG , "Remote Exception", e); in onDreamingStarted()
104 Slog.w(TAG , "Remote Exception", e); in onDreamingStopped()
113 Slog.w(TAG , "Remote Exception", e); in onScreenTurnedOff()
122 Slog.w(TAG , "Remote Exception", e); in onScreenTurnedOn()
131 Slog.w(TAG , "Remote Exception", e); in setKeyguardEnabled()
[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/support/v4/java/android/support/v4/view/
DGravityCompat.java30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection); in apply() argument
31 void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() argument
44 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument
46 Gravity.apply(gravity, w, h, container, outRect); in apply()
50 public void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() argument
52 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect); in apply()
69 public void apply(int gravity, int w, int h, Rect container, Rect outRect, in apply() argument
71 GravityCompatJellybeanMr1.apply(gravity, w, h, container, outRect, layoutDirection); in apply()
75 public void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj, in apply() argument
77 GravityCompatJellybeanMr1.apply(gravity, w, h, container, xAdj, yAdj, outRect, in apply()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java464 Log.w(TAG, "Could not get user name", re); in getUserName()
493 Log.w(TAG, "Could not check if user is limited ", re); in isLinkedUser()
565 Log.w(TAG, "Could not get user info", re); in getUserInfo()
587 Log.w(TAG, "Could not get user restrictions", re); in getUserRestrictions()
621 Log.w(TAG, "Could not set user restrictions", re); in setUserRestrictions()
684 Log.w(TAG, "Could not check user restrictions", re); in hasUserRestriction()
731 Log.w(TAG, "Could not create a user", re); in createUser()
753 Log.w(TAG, "Could not update guest restrictions"); in createGuest()
782 Log.w(TAG, "Could not create a user", re); in createSecondaryUser()
808 Log.w(TAG, "Could not create a user", re); in createProfileForUser()
[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); \
138 r.w = v1.w > v2.w ? v1.w : v2.w; in fmax()
162 r.w = v1.w > v2 ? v1.w : v2; in fmax()
194 r.w = v1.w < v2.w ? v1.w : v2.w; in fmin()
218 r.w = v1.w < v2 ? v1.w : v2; in fmin()
251 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
279 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
307 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
335 r.w = v1.w > v2.w ? v1.w : v2.w; in max()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dblock_switch.c114 Word32 i, w; in BlockSwitching() local
140 for (w=0; w<BLOCK_SWITCH_WINDOWS; w++) { in BlockSwitching()
141 blockSwitchingControl->windowNrg[0][w] = blockSwitchingControl->windowNrg[1][w]; in BlockSwitching()
142 blockSwitchingControl->windowNrgF[0][w] = blockSwitchingControl->windowNrgF[1][w]; in BlockSwitching()
155 for (w=0; w<BLOCK_SWITCH_WINDOWS; w++) { in BlockSwitching()
161 windowNrgF_Shf = norm_l(blockSwitchingControl->windowNrgF[1][w]); in BlockSwitching()
165 windowNrgF_Tmp = blockSwitchingControl->windowNrgF[1][w] << windowNrgF_Shf; in BlockSwitching()
176 blockSwitchingControl->lastAttackIndex = w; in BlockSwitching()
178 enM1 = blockSwitchingControl->windowNrgF[1][w]; in BlockSwitching()
283 Word32 w, i, wOffset, tidx, ch; in CalcWindowEnergy() local
[all …]
/frameworks/rs/cpp/
DAllocation.cpp243 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) { in validate2DRange() argument
247 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
253 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
255 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
258w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
259 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom()
262 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
264 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
267w, h, data->getIDSafe(), dataXoff, dataYoff, in copy2DRangeFrom()
271 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo() argument
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DSoundTriggerHelper.java100 Slog.w(TAG, "listModules status=" + status + ", # of modules=" + modules.size()); in SoundTriggerHelper()
156 Slog.w(TAG, "Attempting startRecognition without the capability"); in startRecognition()
162 Slog.w(TAG, "startRecognition cannot attach to sound trigger module"); in startRecognition()
172 Slog.w(TAG, "Unloading previous sound model"); in startRecognition()
175 Slog.w(TAG, "unloadSoundModel call failed with " + status); in startRecognition()
184 Slog.w(TAG, "Canceling previous recognition"); in startRecognition()
188 Slog.w(TAG, "RemoteException in onDetectionStopped", e); in startRecognition()
200 Slog.w(TAG, "loadSoundModel call failed with " + status); in startRecognition()
204 Slog.w(TAG, "loadSoundModel call returned invalid sound model handle"); in startRecognition()
250 Slog.w(TAG, "Attempting stopRecognition without the capability"); in stopRecognition()
[all …]
/frameworks/base/tests/touchlag/
Dtouchlag.cpp41 size_t w; member
54 void drawTwoPixels(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawTwoPixels() argument
57 if (x>=0 && x<buf->w) { in drawTwoPixels()
60 ssize_t W(w); in drawTwoPixels()
61 if ((x+W)>=0 && (x+W)<buf->w) { in drawTwoPixels()
67 void drawHLine(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { in drawHLine() argument
69 ssize_t W(w); in drawHLine()
74 if (x+w > buf->w) { in drawHLine()
75 W = buf->w - x; in drawHLine()
84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) { in drawRect() argument
[all …]
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
DDrmConvertSession.java56 Log.w(TAG, "Conversion of Mimetype: " + mimeType in open()
59 Log.w(TAG, "Could not access Open DrmFramework.", e); in open()
62 Log.w(TAG, in open()
65 Log.w(TAG, "DrmManagerClient didn't initialize properly."); in open()
102 Log.w(TAG, "Buffer with data to convert is illegal. Convertsession: " in convert()
105 Log.w(TAG, "Could not convert data. Convertsession: " + in convert()
143 Log.w(TAG, "File: " + filename + " could not be found.", e); in close()
146 Log.w(TAG, "Could not access File: " + filename + " .", e); in close()
149 Log.w(TAG, "Could not open file in mode: rw", e); in close()
151 Log.w(TAG, "Access to File: " + filename + in close()
[all …]
/frameworks/native/libs/gui/tests/
DFillBuffer.cpp25 void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { in fillYV12Buffer() argument
26 const int blockWidth = w > 16 ? w / 16 : 1; in fillYV12Buffer()
34 for (int x = 0; x < w; x++) { in fillYV12Buffer()
40 if (x < w / 2 && y < h / 2) { in fillYV12Buffer()
42 if (x * 2 < w / 2 && y * 2 < h / 2) { in fillYV12Buffer()
54 void fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, in fillYV12BufferRect() argument
62 for (int x = 0; x < w; x++) { in fillYV12BufferRect()
67 if (x < w / 2 && y < h / 2) { in fillYV12BufferRect()
78 void fillRGBA8Buffer(uint8_t* buf, int w, int h, int stride) { in fillRGBA8Buffer() argument
80 for (int x = 0; x < w; x++) { in fillRGBA8Buffer()

12345678910>>...52