/external/skia/samplecode/ |
SampleVertices.cpp | 165 const SkScalar ty = SkIntToScalar(texHeight); local 182 t[i+1].set(i*tx/n, ty); 185 t[n+1].set(tx, ty); 195 const SkScalar ty = SkIntToScalar(texHeight); local 212 t[i*2 + 0].set(tx * i / n, ty); 218 t[2*n + 0].set(tx, ty);
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 75 const SkScalar vy, const SkScalar ty, 80 texs->set(0, ty); texs++; 90 texs->set(tx, ty); texs++; 93 texs->set(SkIntToScalar(width), ty); texs++; local 217 const SkScalar ty = SkIntToScalar(yDivs[y]); local 222 vy += ty; 228 vy += SkScalarMul(ty, -stretchY); 231 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs,
|
/external/skia/src/views/ |
SkTouchGesture.cpp | 80 float ty = fDirection.fY * dist; local 83 ty = (float)sk_float_round2int(ty); 85 matrix->setTranslate(tx, ty); 86 // printf("---- evaluate (%g %g)\n", tx, ty);
|
/external/valgrind/main/coregrind/m_debuginfo/ |
tytypes.c | 102 VG_(printf)("Te_Field(ty=0x%05lx,pos.offset=%ld,\"%s\")", 106 VG_(printf)("Te_Field(ty=0x%05lx,nLoc=%lu,pos.loc=%p,\"%s\")", 722 TyEnt* ty; local 728 ty = ML_(TyEnts__index_by_cuOff)(tyents, NULL, ty_cuOff); 731 vg_assert(ty); 732 vg_assert(ML_(TyEnt__is_type)(ty)); 734 switch (ty->tag) { 753 if (!ty->Te.TyStOrUn.isStruct) goto done; 754 fieldRs = ty->Te.TyStOrUn.fieldRs; 810 ty = ML_(TyEnts__index_by_cuOff)(tyents, NULL [all...] |
/external/valgrind/main/helgrind/ |
hg_intercepts.c | 420 int ty, zzz; local 421 zzz = pthread_mutexattr_gettype(attr, &ty); 422 if (zzz == 0 && ty == PTHREAD_MUTEX_RECURSIVE) [all...] |
/frameworks/native/services/surfaceflinger/ |
Transform.cpp | 98 float Transform::ty() const { function in class:android::Transform 111 void Transform::set(float tx, float ty) 114 mMatrix[2][1] = ty; 117 if (isZero(tx) && isZero(ty)) { 242 int ypos = floorf(ty() + 0.5f);
|
/frameworks/rs/ |
rsType.cpp | 89 uint32_t ty = mHal.state.dimY; local 94 mHal.state.lodDimY[lod] = ty; 97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); 99 if (ty > 1) ty >>= 1;
|
/frameworks/support/renderscript/v8/rs_support/driver/ |
rsdAllocation.cpp | 85 uint32_t ty = drv->lod[0].dimY; local 89 drv->lod[lod].dimY = ty; 93 o += drv->lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); 95 if (ty > 1) ty >>= 1;
|
/frameworks/support/renderscript/v8/rs_support/ |
rsType.cpp | 89 uint32_t ty = mHal.state.dimY; local 94 mHal.state.lodDimY[lod] = ty; 97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); 99 if (ty > 1) ty >>= 1;
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
EyePosition.java | 128 float ty = -1 + t * y; local 131 float length = FloatMath.sqrt(tx * tx + ty * ty + tz * tz); 138 + ty * USER_ANGEL_SIN / length) * mUserDistance,
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/ |
GLMock.java | 133 float ty = -(top + bottom) / (top - bottom); local 139 tx, ty, tz, 1
|
/external/clang/lib/Analysis/ |
LiveVariables.cpp | 223 static const VariableArrayType *FindVA(QualType Ty) { 224 const Type *ty = Ty.getTypePtr(); local 225 while (const ArrayType *VT = dyn_cast<ArrayType>(ty)) { 230 ty = VT->getElementType().getTypePtr();
|
UninitializedValues.cpp | 35 QualType ty = vd->getType(); local 36 return ty->isScalarType() || ty->isVectorType();
|
/external/clang/test/Analysis/ |
taint-tester.c | 58 int ty = xy.y; // FIXME: This should be tainted as well. local
|
/external/dropbear/ |
loginrec.c | 689 register struct ttyent *ty; local 694 while ((struct ttyent *)0 != (ty = getttyent())) { 696 if (!strncmp(ty->ty_name, ut->ut_line, sizeof(ut->ut_line))) 701 if((struct ttyent *)0 == ty) { [all...] |
/external/opencv/cv/src/ |
cvsnakes.cpp | 250 int tx, ty; local 256 ty = pt[n - 1].y - 2 * (pt[i].y + j) + pt[i + 1].y; 261 ty = pt[i - 1].y - 2 * (pt[i].y + j) + pt[0].y; 266 ty = pt[i - 1].y - 2 * (pt[i].y + j) + pt[i + 1].y; 269 (float) (tx * tx + ty * ty);
|
/external/opencv/cvaux/src/ |
cvscanlines.cpp | 1906 int tx, ty; local [all...] |
/external/openssh/ |
loginrec.c | 849 struct ttyent *ty; local 853 while (NULL != (ty = getttyent())) { 855 if (!strncmp(ty->ty_name, ut->ut_line, sizeof(ut->ut_line))) 860 if (NULL == ty) { [all...] |
/frameworks/rs/driver/ |
rsdAllocation.cpp | 250 uint32_t ty = drv->lod[0].dimY; local 254 drv->lod[lod].dimY = ty; 258 o += drv->lod[lod].stride * rsMax(ty, 1u) * rsMax(tz, 1u); 260 if (ty > 1) ty >>= 1;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 236 float ty = sy - height * 0.5f; local 237 mLabels.draw(gl, tx, ty, labelId);
|
/external/clang/lib/AST/ |
MicrosoftMangle.cpp | 274 QualType Ty = TL.getType(); 275 if (Ty->isPointerType() || Ty->isReferenceType()) { 276 mangleType(Ty, TL.getSourceRange()); 277 mangleQualifiers(Ty->getPointeeType().getQualifiers(), false); 278 } else if (const ArrayType *AT = getASTContext().getAsArrayType(Ty)) { 281 mangleQualifiers(Ty.getQualifiers(), false); 283 mangleType(Ty.getLocalUnqualifiedType(), TL.getSourceRange()); 284 mangleQualifiers(Ty.getLocalQualifiers(), false); 966 const Type *ty = split.Ty; local [all...] |
/external/clang/lib/CodeGen/ |
TargetInfo.cpp | 65 if (llvm::Type *Ty = getCoerceToType()) 66 Ty->print(OS); 268 static bool is32Or64BitBasicType(QualType Ty, ASTContext &Context) { 269 if (!Ty->getAs<BuiltinType>() && !Ty->hasPointerRepresentation() && 270 !Ty->isAnyComplexType() && !Ty->isEnumeralType() && 271 !Ty->isBlockPointerType()) 274 uint64_t Size = Context.getTypeSize(Ty); 287 static bool canExpandIndirectArgument(QualType Ty, ASTContext &Context) 1127 llvm::Type *ty = info.getCoerceToType(); local [all...] |
/frameworks/native/libs/gui/ |
SurfaceTexture.cpp | 611 float tx = 0.0f, ty = 0.0f, sx = 1.0f, sy = 1.0f; local 651 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / 661 tx, ty, 0, 1,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
ConstraintPainter.java | 582 int ty = targetBounds.y; local 585 graphics.drawArrow(tx, ty + 2 * ARROW_SIZE, tx, ty, ARROW_SIZE); 587 graphics.drawArrow(tx, ty, tx, ty - margin, ARROW_SIZE); 590 int ty = targetBounds.y2(); local 593 graphics.drawArrow(tx, ty - 2 * ARROW_SIZE, tx, ty, ARROW_SIZE); 595 graphics.drawArrow(tx, ty, tx, ty + margin, ARROW_SIZE) 599 int ty = targetSegmentTypeY.getY(targetNode, targetBounds); local 733 int ty = targetBounds.centerY(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 428 int ty = (SY + ofy - p.y) / 2; local 429 gc.drawText(s, tx, ty, true /* isTransparent */);
|