Searched defs:size (Results 151 - 175 of 850) sorted by last modified time

1234567891011>>

/frameworks/native/opengl/libagl/
H A Dstate.cpp92 c->point.size = TRI_ONE;
485 void glPointSize(GLfloat size) argument
488 if (size <= 0) {
492 c->point.size = TRI_FROM_FIXED(gglFloatToFixed(size));
495 void glPointSizex(GLfixed size) argument
498 if (size <= 0) {
502 c->point.size = TRI_FROM_FIXED(size);
H A Dtexture.cpp286 const size_t size = src.height * src.stride * pixelFormat.size; local
287 memcpy(dst.data, src.data, size);
376 // figure out the size we need as well as the stride
379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
380 const size_t size = bpr * height; local
381 const int32_t stride = bpr / pixelFormat.size;
392 *outSize = size;
404 *outSize = size;
439 size_t size local
1117 int32_t size; local
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
43 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
45 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
49 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
51 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
57 glColorPointer(size, type, stride, ptr);
63 void glTexCoordPointerBounds(GLint size, GLenum type, argument
65 glTexCoordPointer(size, type, stride, pointer);
67 void glVertexPointerBounds(GLint size, GLenu argument
77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
[all...]
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp30 void* lamecpy(void* d, void const* s, size_t size) { argument
33 while (size) {
35 size--;
42 size_t size = 128*256*4; local
43 void* temp = malloc(size);
44 void* temp2 = malloc(size);
45 memset(temp, 0, size);
46 memset(temp2, 0, size);
67 memset(vaddr, 0, size);
73 memcpy(temp, temp2, size);
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp120 #define MEMCLR(addr, size) do { \
121 memset((addr), 0, (size)); \
345 size_t size = sizeof(hwc_display_contents_1_t) + numFrames * sizeof(hwc_layer_1_t); local
346 if ((list = (hwc_display_contents_1_t *) calloc(1, size)) == NULL) {
H A DhwcTestLib.cpp408 size_t size = sizeof(hwc_display_contents_1_t) + numLayers * sizeof(hwc_layer_1_t); local
409 if ((list = (hwc_display_contents_1_t *) calloc(1, size)) == NULL) {
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp23 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
27 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
29 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
33 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
35 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
39 static void glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, argument
41 glVertexAttribPointer(indx, size, type, normalized, stride, pointer);
45 static void glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, argument
47 glVertexAttribIPointer(indx, size, type, stride, pointer);
344 // an array of the right size
[all...]
H A DglGetActiveAttrib.cpp1 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
13 GLint *size = (GLint *) 0; local
37 _exceptionMessage = "size == null";
49 size = size_base + sizeOffset;
90 (GLint *)size,
117 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
130 GLint *size = (GLint *) 0; local
135 size = (GLint *)getPointer(_env, size_buf, (jarray*)&_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
141 if (size == NULL) {
143 size
178 GLint *size = (GLint *) 0; local
275 GLint *size = (GLint *) 0; local
[all...]
H A DglGetActiveAttrib.java1 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
9 int[] size,
17 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
25 java.nio.IntBuffer size,
30 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
35 int[] size,
41 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
46 java.nio.IntBuffer size,
3 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
20 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
32 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
43 glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
H A DglGetActiveUniform.cpp1 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
13 GLint *size = (GLint *) 0; local
37 _exceptionMessage = "size == null";
49 size = size_base + sizeOffset;
90 (GLint *)size,
117 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
130 GLint *size = (GLint *) 0; local
135 size = (GLint *)getPointer(_env, size_buf, (jarray*)&_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
141 if (size == NULL) {
143 size
179 GLint *size = (GLint *) 0; local
276 GLint *size = (GLint *) 0; local
[all...]
H A DglGetActiveUniform.java1 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
9 int[] size,
17 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
25 java.nio.IntBuffer size,
29 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
34 int[] size,
40 // C function void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
45 java.nio.IntBuffer size,
3 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
20 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
31 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
42 glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
H A DglGetTransformFeedbackVarying.cpp1 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */
13 GLint *size = (GLint *) 0; local
37 _exceptionMessage = "size == null";
49 size = size_base + sizeOffset;
90 (GLint *)size,
117 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */
124 /* void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) */
139 GLint *size = (GLint *) 0; local
147 size = (GLint *)getPointer(_env, size_buf, (jarray*)&_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
154 if (size
198 GLint *size = (GLint *) 0; local
295 GLint *size = (GLint *) 0; local
[all...]
H A DglGetTransformFeedbackVarying.java1 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
9 int[] size,
17 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
27 java.nio.IntBuffer size,
32 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
39 java.nio.IntBuffer size,
44 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
49 int[] size,
55 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name )
60 java.nio.IntBuffer size,
3 glGetTransformFeedbackVarying( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
22 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
34 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name ) argument
46 glGetTransformFeedbackVarying( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
57 glGetTransformFeedbackVarying( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
[all...]
/frameworks/native/services/inputflinger/
H A DEventHub.cpp60 /* this macro computes the number of bytes needed to represent a bit array of the specified size */
85 SHA1_Update(&ctx, reinterpret_cast<const u_char*>(in.string()), in.size());
358 if (scanCodes.size() != 0) {
362 for (size_t i = 0; i < scanCodes.size(); i++) {
428 for (size_t sc = 0; sc < scanCodes.size(); sc++) {
693 size_t size = mDevices.size(); local
694 for (size_t i = 0; i < size; i++) {
712 for (size_t i = 0; i < mDevices.size(); i++) {
835 ALOGW("could not get event, removed? (fd: %d size
[all...]
H A DInputReader.cpp267 for (size_t i = 0; i < mDevices.size(); i++) {
526 for (size_t i = 0; i < mDevices.size(); i++) {
554 for (size_t i = 0; i < mDevices.size(); i++) {
565 for (size_t i = 0; i < mDevices.size(); i++) {
580 for (size_t i = 0; i < mDevices.size(); i++) {
590 for (size_t i = 0; i < mDevices.size(); i++) {
615 for (size_t i = 0; i < mDevices.size(); i++) {
640 size_t numDevices = mDevices.size();
682 size_t numDevices = mDevices.size();
736 size_t numDevices = mDevices.size();
4684 float touchMajor, touchMinor, toolMajor, toolMinor, size; local
[all...]
H A DInputReader.h38 // Maximum supported size of a vibration pattern.
129 // The display size or orientation changed.
213 // fingers are no more than this far apart relative to the diagonal size of
215 // no more than half the diagonal size of the touch pad apart.
218 // The gesture movement speed factor relative to the size of the display.
224 // The gesture zoom speed factor relative to the size of the display.
1297 // computed hit box, specified in touch screen coords based on known display size
1585 InputDeviceInfo::MotionRange size; member in struct:android::TouchInputMapper::OrientedRanges
1975 float flat; // normalized flat region size
1979 float filter; // filter out small variations of this size
[all...]
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp140 // Set the size of both the internal and external display at the same time.
339 for (size_t i = 0; i < mDevices.size(); i++) {
464 ASSERT_EQ(size_t(0), mEvents.size())
630 for (size_t j = 0; j < device->keysByScanCode.size(); j++) {
636 for (size_t j = 0; j < device->keysByUsageCode.size(); j++) {
911 for (size_t j = 0; j < mSupportedKeyCodes.size(); j++) {
1036 ASSERT_EQ(1U, inputDevices.size());
1041 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size());
1045 ASSERT_EQ(1U, inputDevices.size());
1050 ASSERT_EQ(size_t(0), inputDevices[0].getMotionRanges().size());
1464 assertPointerCoords(const PointerCoords& coords, float x, float y, float pressure, float size, float touchMajor, float touchMinor, float toolMajor, float toolMinor, float orientation, float distance) argument
3242 float size = float(rawToolMajor) / RAW_TOOL_MAX; local
4522 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX; local
4568 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX; local
4613 float size = float(rawTouchMajor) / 2 / RAW_TOUCH_MAX; local
4659 float size = float(rawTouchMajor) / RAW_TOUCH_MAX; local
[all...]
/frameworks/native/services/sensorservice/
H A DRingBuffer.h31 * A RingBuffer class that maintains an array of objects that can grow up to a certain size.
49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr);
146 * this ringbuffer, [0, size), the behavior for this is undefined.
152 * for this ringbuffer, [0, size), the behavior for this is undefined.
157 * Return the current size of this RingBuffer.
159 size_t size() const;
162 * Remove all elements from this RingBuffer and set the size to 0.
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : argument
178 mPtr{ptr}, mSize{size}, mPo
221 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr) argument
347 size_t RingBuffer<T>::size() const { function in class:android::SensorServiceUtil::RingBuffer
[all...]
H A DSensorEventConnection.cpp66 result.appendFormat("\t %s | WakeLockRefCount %d | uid %d | cache size %d | "
67 "max cache size %d\n", mPackageName.string(), mWakeLockRefCount, mUid, mCacheSize,
69 for (size_t i = 0; i < mSensorInfo.size(); ++i) {
117 return mSensorInfo.size() ? true : false;
122 for (size_t i = 0; i < mSensorInfo.size(); ++i) {
153 bool isConnectionActive = (mSensorInfo.size() > 0 && !mDataInjectionMode) ||
166 for (size_t i = 0; i < mSensorInfo.size(); ++i) {
293 // the max cache size that is desired.
327 ssize_t size = SensorEventQueue::write(mChannel, local
329 if (size <
403 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); local
436 ssize_t size = SensorEventQueue::write(mChannel, local
[all...]
H A DSensorService.cpp225 // Increase socket buffer size to a max of 100 KB for batching capabilities.
311 if (args.size() > 2) {
316 if (args.size() == 2 && args[0] == String16("restrict")) {
330 for (size_t i=0 ; i< mActiveSensors.size(); ++i) {
335 } else if (args.size() == 1 && args[0] == String16("enable")) {
346 } else if (args.size() == 2 && args[0] == String16("data_injection")) {
391 for (size_t i=0 ; i<mActiveSensors.size() ; i++) {
399 result.appendFormat("Socket Buffer size = %zd events\n",
414 result.appendFormat("%zd active connections\n", mActiveConnections.size());
416 for (size_t i=0 ; i < mActiveConnections.size() ;
943 size_t size = mActiveSensors.size(); local
[all...]
H A Dmat.h133 size_type size() const { return R*C; } function in class:android::mat
264 size_type size() const { return R; } function in class:android::mat
H A Dvec.h124 // handle the case where the right-hand-size and left-hand-side are
125 // different vector types (but with same value_type and size).
318 size_type size() const { return SIZE; } function in class:android::vec
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp186 return std::string(buffer.data(), buffer.size());
305 "Capability size has changed");
601 uint32_t size; local
602 int32_t intError = mDevice.mGetDisplayName(mDevice.mHwcDevice, mId, &size,
609 std::vector<char> rawName(size);
610 intError = mDevice.mGetDisplayName(mDevice.mHwcDevice, mId, &size,
H A DHWC2On1Adapter.cpp164 *outCount = mCapabilities.size();
442 // Call with size - 1 to preserve a null character at the end
444 static_cast<int>(hwc1Dump.size() - 1));
449 *outSize = static_cast<uint32_t>(mDumpString.size());
654 if (configId > mConfigs.size() || !mConfigs[configId]->isOnDisplay(*this)) {
677 *outNumElements = mChanges->getTypeChanges().size();
705 *outNumModes = mColorModes.size();
709 static_cast<uint32_t>(mColorModes.size()));
721 *outNumConfigs = mConfigs.size();
762 *outSize = mName.size();
1303 auto size = sizeof(hwc_rect_t) * region.numRects; local
1314 size_t size = sizeof(hwc_display_contents_1_t) + local
1862 size_t size = sizeof(hwc_display_contents_1_t) + local
[all...]
H A DHWComposer_hwc1.cpp586 size_t size = sizeof(hwc_display_contents_1_t) local
589 disp.list = (hwc_display_contents_1_t*)malloc(size);
1035 * window size ratio is large and a window crop is defined
1110 if (disp.visibleRegions.size() < disp.list->numHwLayers) {
1113 if (disp.surfaceDamageRegions.size() < disp.list->numHwLayers) {
1182 for (size_t c = 0; c < disp.configs.size(); ++c) {
1205 if (i < visibleLayersSortedByZ.size()) {

Completed in 6785 milliseconds

1234567891011>>