/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
TestUtils.java | 67 // and visible backgrounds. At each step we're keeping track of the combined offsets 86 // Update the offsets based on the location of current view in its parent's bounds 95 // we are respecting the offsets of our original view in the coordinate system of the 100 Pair<Integer, Integer> offsets = ancestorOffsets.get(i); local 102 canvas.translate(offsets.first, offsets.second); 104 canvas.translate(-offsets.first, -offsets.second);
|
/external/pcre/dist/ |
pcregrep.c | 346 { OP_NODATA, N_FOFFSETS, NULL, "file-offsets", "output file offsets, not text" }, 360 { OP_NODATA, N_LOFFSETS, NULL, "line-offsets", "output line numbers and offsets, not text" }, 1509 int offsets[OFFSET_SIZE]; local [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
E_B_L_C_.py | 72 # Save the original data because offsets are from the start of the table. 121 # in order to form offsets. This value will hold the size of the data 131 # The issue is maintaining the proper offsets when table information 132 # gets moved around. All offsets and size information must be recalculated 143 # compute the offsets properly. 265 # Skip the first 3 data names because they are byte offsets and counts. 467 # offsets. This is the form where offset[i] is the location and 469 offsets = list(allLocations[0]) + [loc[1] for loc in allLocations[1:]] 473 self.imageDataOffset = min(offsets) 474 offsetArray = [offset - self.imageDataOffset for offset in offsets] [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureGatherTests.cpp | 496 // Whether offsets correspond to the sample offsets used with plain textureGather(). 497 static inline bool isZeroOffsetOffsets (const IVec2 (&offsets)[4]) 501 return std::equal(DE_ARRAY_BEGIN(offsets), 502 DE_ARRAY_END(offsets), 508 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DView& texture, const tcu::Sampler& sampler, const Vec2& coord, int componentNdx, const IVec2 (&offsets)[4]) 510 return texture.gatherOffsets(sampler, coord.x(), coord.y(), componentNdx, offsets).cast<ColorScalarType>(); 514 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::Texture2DArrayView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4]) 516 return texture.gatherOffsets(sampler, coord.x(), coord.y(), coord.z(), componentNdx, offsets).cast<ColorScalarType>(); 520 static tcu::Vector<ColorScalarType, 4> gatherOffsets (const tcu::TextureCubeView& texture, const tcu::Sampler& sampler, const Vec3& coord, int componentNdx, const IVec2 (&offsets)[4] 595 IVec2 offsets[4]; local 596 getPixelOffsets(IVec2(px, py), offsets); local 673 IVec2 offsets[4]; local 674 getPixelOffsets(IVec2(px, py), offsets); local 792 IVec2 offsets[4]; \/\/ \\note Unless GATHERTYPE_OFFSETS is used, only offsets[0] is relevant; also, for GATHERTYPE_OFFSET_DYNAMIC, none are relevant. member in struct:deqp::gles31::Functional::__anon9836::GatherArgs [all...] |
/external/icu/icu4c/source/common/ |
ucnv_cnv.h | 81 * then the toUnicode function will be used and the offsets will be set to -1. 91 * The pArgs->offsets pointer need not be moved forward. 300 int32_t **offsets, 307 int32_t **offsets, 315 int32_t **offsets,
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
ScriptRunModuleWriter.java | 72 Vector offsets = scriptRangeOffsets[script - minScript]; local 79 for (int offset = 0; offset < offsets.size(); offset += 1) { 80 Integer i = (Integer) offsets.elementAt(offset);
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/ |
ColorBleedEffect.java | 31 static int[][] offsets = { {-1, -1}, {0, -1}, {1, -1}, {-1, 0}, {1, 0}, {-1, 1}, {0, 1}, {1, 1}}; field in class:ColorBleedEffect 64 for (int i = 0, n = offsets.length; i < n; i++) { 65 int[] offset = offsets[i];
|
/external/google-breakpad/src/processor/ |
map_serializers-inl.h | 81 // Nodes offsets. 82 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); local 92 offsets[index] = static_cast<uint32_t>(dest - start_address); 149 // Nodes offsets. 150 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); local 160 offsets[index] = static_cast<uint32_t>(dest - start_address); 229 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); local 239 offsets[index] = static_cast<uint32_t>(dest - map_address);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_coverage_libcdep.cc | 31 // magic defines the size of the following offsets. 32 // The rest of the data is the offsets in the module. 749 InternalMmapVector<uptr> offsets(0); 752 offsets.clear(); 755 offsets.push_back(0); 766 offsets.push_back(BundlePcAndCounter(offset, counter)); 769 CHECK_GE(offsets.size(), num_words_for_magic); 770 SortArray(offsets.data(), offsets.size()); 771 for (uptr i = 0; i < offsets.size(); i++ [all...] |
/external/drm_gralloc/ |
gralloc_drm_intel.c | 197 uint32_t *pitches, uint32_t *offsets, uint32_t *handles) 207 memset(offsets, 0, 4 * sizeof(uint32_t)); 221 offsets[2] = offsets[0] + 223 offsets[1] = offsets[2] + 233 offsets[1] = offsets[0] +
|
gralloc_drm_priv.h | 71 /* query component offsets, strides and handles for a format */ 74 uint32_t *pitches, uint32_t *offsets, uint32_t *handles);
|
/external/drm_hwcomposer/ |
platformdrmgeneric.cpp | 112 bo->offsets[0] = 0; 115 bo->gem_handles, bo->pitches, bo->offsets, &bo->fb_id, 0);
|
/external/icu/icu4c/source/common/unicode/ |
ucnv_err.h | 200 int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++;. @stable ICU 2.0 */ member in struct:__anon11828 216 int32_t *offsets; /**< Pointer to the buffer that recieves the offsets. *offset = blah ; offset++;. @stable ICU 2.0 */ member in struct:__anon11829
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
btDbvt.java | 621 public static void collideKDOP(btDbvtNode root, btVector3 normals, java.nio.FloatBuffer offsets, int count, ICollide policy) { 622 assert offsets.isDirect() : "Buffer must be allocated direct."; 624 CollisionJNI.btDbvt_collideKDOP__SWIG_0(btDbvtNode.getCPtr(root), root, btVector3.getCPtr(normals), normals, offsets, count, ICollide.getCPtr(policy), policy); local 628 public static void collideOCL(btDbvtNode root, btVector3 normals, java.nio.FloatBuffer offsets, Vector3 sortaxis, int count, ICollide policy, boolean fullsort) { 629 assert offsets.isDirect() : "Buffer must be allocated direct."; 631 CollisionJNI.btDbvt_collideOCL__SWIG_0(btDbvtNode.getCPtr(root), root, btVector3.getCPtr(normals), normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy, fullsort); local 635 public static void collideOCL(btDbvtNode root, btVector3 normals, java.nio.FloatBuffer offsets, Vector3 sortaxis, int count, ICollide policy) { 636 assert offsets.isDirect() : "Buffer must be allocated direct."; 638 CollisionJNI.btDbvt_collideOCL__SWIG_1(btDbvtNode.getCPtr(root), root, btVector3.getCPtr(normals), normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy); local 657 public static void collideKDOP(btDbvtNode root, java.nio.FloatBuffer normals, java.nio.FloatBuffer offsets, int count, ICollide policy) 661 CollisionJNI.btDbvt_collideKDOP__SWIG_1(btDbvtNode.getCPtr(root), root, normals, offsets, count, ICollide.getCPtr(policy), policy); local 669 CollisionJNI.btDbvt_collideOCL__SWIG_2(btDbvtNode.getCPtr(root), root, normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy, fullsort); local 677 CollisionJNI.btDbvt_collideOCL__SWIG_3(btDbvtNode.getCPtr(root), root, normals, offsets, sortaxis, count, ICollide.getCPtr(policy), policy); local [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
OlsonTimeZone.java | 164 int[] offsets = new int[2]; local 165 getHistoricalOffset(time, true, LOCAL_DST, LOCAL_STD, offsets); 166 return offsets[0] + offsets[1]; 269 public void getOffset(long date, boolean local, int[] offsets) { 271 finalZone.getOffset(date, local, offsets); 274 LOCAL_FORMER, LOCAL_LATTER, offsets); 283 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) { 285 finalZone.getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 287 getHistoricalOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
OlsonTimeZone.java | 162 int[] offsets = new int[2]; local 163 getHistoricalOffset(time, true, LOCAL_DST, LOCAL_STD, offsets); 164 return offsets[0] + offsets[1]; 267 public void getOffset(long date, boolean local, int[] offsets) { 269 finalZone.getOffset(date, local, offsets); 272 LOCAL_FORMER, LOCAL_LATTER, offsets); 281 int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) { 283 finalZone.getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 285 getHistoricalOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets); [all...] |
/external/fec/ |
mmxbfly27.s | 11 # These are offsets into struct v27, defined in viterbi27_mmx.c
|
mmxbfly29.s | 9 # These are offsets into struct v29, defined in viterbi29.h
|
sse2bfly29.s | 11 # These are offsets into struct v29, defined in viterbi29.h
|
/external/harfbuzz_ng/src/ |
hb-buffer-deserialize-text.rl | 76 offsets = '@' (num >tok %parse_x_offset) ',' (num >tok %parse_y_offset ); 82 offsets?
|
/external/icu/icu4c/source/i18n/ |
rbt.h | 404 virtual void handleTransliterate(Replaceable& text, UTransPosition& offsets,
|
/external/icu/icu4c/source/test/intltest/ |
convtest.h | 42 const int32_t *offsets; member in struct:ConversionCase
|
/external/libdrm/tests/planetest/ |
bo.c | 94 uint32_t handles[4], pitches[4], offsets[4]; local 98 offsets[0] = 0; 102 offsets[1] = pitches[0] * bo->height; 106 format, handles, pitches, offsets,
|
/external/libopus/celt/ |
rate.h | 92 @param offsets Requested increase or decrease in the number of bits for 98 int compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stero,
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_format.h | 106 LLVMValueRef offsets,
|