/frameworks/support/v17/leanback/tests/ |
D | generatev4.py | 31 for w in files: 32 print "copy {}Fragment to {}SupportFragment".format(w, w) 34 file = open('java/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r') 35 outfile = open('java/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w') 38 …file.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format(w)) 41 for w in cls: 42 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 54 for w in testcls: 55 print "copy {}FrgamentTestBase to {}SupportFragmentTestBase".format(w, w) 57 file = open('java/android/support/v17/leanback/app/{}FragmentTestBase.java'.format(w), 'r') [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowFrameTests.java | 118 WindowState w = createWindow(task, FILL_PARENT, FILL_PARENT); in testLayoutInFullscreenTaskInsets() local 119 w.mAttrs.gravity = Gravity.LEFT | Gravity.TOP; in testLayoutInFullscreenTaskInsets() 148 w.computeFrameLw(pf, df, of, cf, vf, dcf, sf, null); in testLayoutInFullscreenTaskInsets() 149 assertRect(w.mFrame,0, 0, 1000, 1000); in testLayoutInFullscreenTaskInsets() 150 assertRect(w.mContentInsets, 0, topContentInset, 0, bottomContentInset); in testLayoutInFullscreenTaskInsets() 151 assertRect(w.mVisibleInsets, 0, topVisibleInset, 0, bottomVisibleInset); in testLayoutInFullscreenTaskInsets() 152 assertRect(w.mStableInsets, leftStableInset, 0, rightStableInset, 0); in testLayoutInFullscreenTaskInsets() 154 assertTrue(cf.equals(w.getContentFrameLw())); in testLayoutInFullscreenTaskInsets() 155 assertTrue(vf.equals(w.getVisibleFrameLw())); in testLayoutInFullscreenTaskInsets() 156 assertTrue(sf.equals(w.getStableFrameLw())); in testLayoutInFullscreenTaskInsets() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowLayersController.java | 74 private final Consumer<WindowState> mAssignWindowLayersConsumer = w -> { 77 int oldLayer = w.mLayer; 78 if (w.mBaseLayer == mCurBaseLayer) { 81 mCurBaseLayer = mCurLayer = w.mBaseLayer; 83 assignAnimLayer(w, mCurLayer); 88 if (w.mLayer != oldLayer || w.mWinAnimator.mAnimLayer != oldLayer) { 93 if (w.mAppToken != null) { 95 w.mWinAnimator.mAnimLayer); 97 if (mImeTarget != null && w.mBaseLayer == mImeTarget.mBaseLayer) { 99 w.mWinAnimator.mAnimLayer); [all …]
|
D | DisplayContent.java | 324 private final Consumer<WindowState> mUpdateWindowsForAnimator = w -> { 325 WindowStateAnimator winAnimator = w.mWinAnimator; 334 w + ": wasAnimating=" + wasAnimating + ", nowAnimating=" + nowAnimating); 337 && mWallpaperController.isWallpaperTarget(w)) { 347 final AppWindowToken atoken = w.mAppToken; 350 if (w.performShowLocked()) { 373 private final Consumer<WindowState> mUpdateWallpaperForAnimator = w -> { 374 final WindowStateAnimator winAnimator = w.mWinAnimator; 379 final int flags = w.mAttrs.flags; 387 mTmpWindow = w; [all …]
|
D | WindowStateAnimator.java | 253 Slog.w(TAG, "WindowStateAnimator ctor: Display has been removed"); in WindowStateAnimator() 623 final WindowState w = mWin; in createSurfaceLocked() local 624 if (w.restoreSavedSurface()) { in createSurfaceLocked() 634 w.setHasSurface(false); in createSurfaceLocked() 641 mService.makeWindowFreezingScreenIfNeededLocked(w); in createSurfaceLocked() 644 final WindowManager.LayoutParams attrs = w.mAttrs; in createSurfaceLocked() 646 if (mService.isSecureLocked(w)) { in createSurfaceLocked() 650 mTmpSize.set(w.mFrame.left + w.mXOffset, w.mFrame.top + w.mYOffset, 0, 0); in createSurfaceLocked() 651 calculateSurfaceBounds(w, attrs); in createSurfaceLocked() 683 && !w.isDragResizing()) { in createSurfaceLocked() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Long4.java | 27 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 …]
|
D | Short4.java | 27 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 …]
|
D | Int4.java | 27 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 …]
|
D | Float4.java | 27 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 …]
|
D | Double4.java | 27 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 …]
|
D | Byte4.java | 28 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/support/v17/leanback/ |
D | generatev4.py | 27 for w in cls: 28 print "copy {}Fragment to {}SupportFragment".format(w, w) 30 file = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r') 31 outfile = open('src/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w') 34 …file.write("/* This file is auto-generated from {}Fragment.java. DO NOT MODIFY. */\n\n".format(w)) 38 for w in cls: 39 line = line.replace('{}Fragment'.format(w), '{}SupportFragment'.format(w)) 50 print "copy VideoFragmentGlueHost to VideoSupportFragmentGlueHost".format(w, w) 51 file = open('src/android/support/v17/leanback/app/VideoFragmentGlueHost.java'.format(w), 'r') 52 outfile = open('src/android/support/v17/leanback/app/VideoSupportFragmentGlueHost.java'.format(w), … [all …]
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 169 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/ |
D | quat_test.cpp | 51 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 …]
|
D | vec_test.cpp | 46 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/ |
D | KeyguardServiceWrapper.java | 54 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 onScreenTurningOn() [all …]
|
/frameworks/rs/driver/runtime/ |
D | rs_quaternion.c | 13 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/ |
D | Allocation.cpp | 282 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() 301 … w, h, ptr, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom() 302 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom() 307 … w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom() 308 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom() [all …]
|
/frameworks/native/cmds/flatland/ |
D | Composers.cpp | 47 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/ |
D | AdaptiveIconDrawableTest.java | 185 final int w = a.getWidth(); in equalBitmaps() local 187 int[] aPix = new int[w * h]; in equalBitmaps() 188 int[] bPix = new int[w * h]; in equalBitmaps() 191 for (int i = 0; i < w; i++) { in equalBitmaps() 206 a.getPixels(aPix, 0, w, 0, 0, w, h); in equalBitmaps() 207 b.getPixels(bPix, 0, w, 0, 0, w, h); in equalBitmaps() 219 final int w = a.getWidth(); in findBitmapDifferences() local 221 int[] aPix = new int[w * h]; in findBitmapDifferences() 222 int[] bPix = new int[w * h]; in findBitmapDifferences() 224 a.getPixels(aPix, 0, w, 0, 0, w, h); in findBitmapDifferences() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | block_switch.c | 111 Word32 i, w; in BlockSwitching() local 137 for (w=0; w<BLOCK_SWITCH_WINDOWS; w++) { in BlockSwitching() 138 blockSwitchingControl->windowNrg[0][w] = blockSwitchingControl->windowNrg[1][w]; in BlockSwitching() 139 blockSwitchingControl->windowNrgF[0][w] = blockSwitchingControl->windowNrgF[1][w]; in BlockSwitching() 152 for (w=0; w<BLOCK_SWITCH_WINDOWS; w++) { in BlockSwitching() 158 windowNrgF_Shf = norm_l(blockSwitchingControl->windowNrgF[1][w]); in BlockSwitching() 162 windowNrgF_Tmp = blockSwitchingControl->windowNrgF[1][w] << windowNrgF_Shf; in BlockSwitching() 173 blockSwitchingControl->lastAttackIndex = w; in BlockSwitching() 175 enM1 = blockSwitchingControl->windowNrgF[1][w]; in BlockSwitching() 280 Word32 w, i, tidx; in CalcWindowEnergy() local [all …]
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 54 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/native/libs/math/include/math/ |
D | vec4.h | 48 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/keystore/java/android/security/ |
D | KeyStore.java | 148 Log.w(TAG, "Cannot connect to keystore", e); in state() 172 Log.w(TAG, "Cannot connect to keystore", e); in get() 189 Log.w(TAG, "Cannot connect to keystore", e); in insert() 199 Log.w(TAG, "Cannot connect to keystore", e); in delete() 212 Log.w(TAG, "Cannot connect to keystore", e); in contains() 228 Log.w(TAG, "Cannot connect to keystore", e); in list() 241 Log.w(TAG, "Cannot connect to keystore", e); in reset() 256 Log.w(TAG, "Cannot connect to keystore", e); in lock() 281 Log.w(TAG, "Cannot connect to keystore", e); in unlock() 297 Log.w(TAG, "Cannot connect to keystore", e); in isEmpty() [all …]
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | AuthenticationClient.java | 74 Slog.w(TAG, "Failed to notify Authenticated:", e); in onAuthenticated() 88 Slog.w(TAG, "Forcing lockout (fp driver code should do this!), mode(" + in onAuthenticated() 96 Slog.w(TAG, "Failed to notify lockout:", e); in onAuthenticated() 117 Slog.w(TAG, "start authentication: no fingerprint HAL!"); in start() 123 Slog.w(TAG, "startAuthentication failed, result=" + result); in start() 128 if (DEBUG) Slog.w(TAG, "client " + getOwnerString() + " is authenticating..."); in start() 139 Slog.w(TAG, "stopAuthentication: already cancelled!"); in stop() 144 Slog.w(TAG, "stopAuthentication: no fingerprint HAL!"); in stop() 150 Slog.w(TAG, "stopAuthentication failed, result=" + result); in stop() 153 if (DEBUG) Slog.w(TAG, "client " + getOwnerString() + " is no longer authenticating"); in stop() [all …]
|