Home
last modified time | relevance | path

Searched refs:needed (Results 1 – 25 of 193) sorted by relevance

12345678

/frameworks/native/services/surfaceflinger/EventLog/
DEventLog.cpp71 const size_t needed = 1 + sizeof(count); in startList() local
72 if (mPos + needed > STORAGE_MAX_SIZE) { in startList()
78 mPos += needed; in startList()
83 const size_t needed = 1; in endList() local
84 if (mPos + needed > STORAGE_MAX_SIZE) { in endList()
89 mPos += needed; in endList()
94 const size_t needed = 1 + sizeof(value); in writeInt32() local
95 if (mPos + needed > STORAGE_MAX_SIZE) { in writeInt32()
101 mPos += needed; in writeInt32()
106 const size_t needed = 1 + sizeof(value); in writeInt64() local
[all …]
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DBufferPool.java38 public ByteBuffer acquire(int needed) { in acquire() argument
43 return grow(mBuffers[mAvailable], needed); in acquire()
48 return ByteBuffer.allocate(chooseCapacity(mInitialBufferSize, needed)); in acquire()
67 public ByteBuffer grow(ByteBuffer buffer, int needed) { in grow() argument
69 if (capacity < needed) { in grow()
71 capacity = chooseCapacity(capacity, needed); in grow()
79 private int chooseCapacity(int capacity, int needed) { in chooseCapacity() argument
80 while (capacity < needed) { in chooseCapacity()
84 if (needed > mMaxBufferSize) { in chooseCapacity()
85 throw new IllegalArgumentException("Requested size " + needed in chooseCapacity()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
Dcommon.cpp138 int needed = 1; in getNeededCount() local
144 needed = 2; in getNeededCount()
152 needed = 4; in getNeededCount()
156 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
160 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed); in getNeededCount()
173 needed = 2; in getNeededCount()
178 needed = 3; in getNeededCount()
189 needed = 4; in getNeededCount()
195 needed = 16; in getNeededCount()
199 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
[all …]
/frameworks/base/core/jni/
Dandroid_opengl_GLES10Ext.cpp160 int needed = 1; in getNeededCount() local
166 needed = 2; in getNeededCount()
174 needed = 4; in getNeededCount()
178 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
182 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed); in getNeededCount()
195 needed = 2; in getNeededCount()
200 needed = 3; in getNeededCount()
211 needed = 4; in getNeededCount()
217 needed = 16; in getNeededCount()
221 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
[all …]
Dandroid_opengl_GLES31Ext.cpp159 int needed = 1; in getNeededCount() local
165 needed = 2; in getNeededCount()
173 needed = 4; in getNeededCount()
177 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
181 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed); in getNeededCount()
194 needed = 2; in getNeededCount()
199 needed = 3; in getNeededCount()
210 needed = 4; in getNeededCount()
216 needed = 16; in getNeededCount()
220 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
[all …]
Dandroid_opengl_GLES10.cpp160 int needed = 1; in getNeededCount() local
166 needed = 2; in getNeededCount()
174 needed = 4; in getNeededCount()
178 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
182 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed); in getNeededCount()
195 needed = 2; in getNeededCount()
200 needed = 3; in getNeededCount()
211 needed = 4; in getNeededCount()
217 needed = 16; in getNeededCount()
221 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
[all …]
Dandroid_opengl_GLES11.cpp160 int needed = 1; in getNeededCount() local
166 needed = 2; in getNeededCount()
174 needed = 4; in getNeededCount()
178 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
182 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed); in getNeededCount()
195 needed = 2; in getNeededCount()
200 needed = 3; in getNeededCount()
211 needed = 4; in getNeededCount()
217 needed = 16; in getNeededCount()
221 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
[all …]
Dandroid_opengl_GLES31.cpp158 int needed = 1; in getNeededCount() local
164 needed = 2; in getNeededCount()
172 needed = 4; in getNeededCount()
176 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
180 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed); in getNeededCount()
193 needed = 2; in getNeededCount()
198 needed = 3; in getNeededCount()
209 needed = 4; in getNeededCount()
215 needed = 16; in getNeededCount()
219 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
[all …]
Dandroid_opengl_GLES11Ext.cpp160 int needed = 1; in getNeededCount() local
166 needed = 2; in getNeededCount()
174 needed = 4; in getNeededCount()
178 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
182 glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &needed); in getNeededCount()
195 needed = 2; in getNeededCount()
200 needed = 3; in getNeededCount()
211 needed = 4; in getNeededCount()
217 needed = 16; in getNeededCount()
221 glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &needed); in getNeededCount()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc21 …iagnosticEngine::Error, "Target does not support --as-needed", "Target does not support --as-neede…
22 …nosticEngine::Error, "Target doest not support --add-needed", "Target does not support --add-neede…
24 …::Warning, "can not enable --as-needed on the target which does not support shared objects", "can …
25 …osticEngine::Warning, "cannot mix --static with --as-needed", "cannot mix --static with --as-neede…
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DFrameworkActionBar.java169 boolean needed = mActionBar.isOverflowPopupNeeded(); in isOverflowPopupNeeded()
170 if (!needed) { in isOverflowPopupNeeded()
183 needed = !menus.get(0).isActionViewExpanded(); in isOverflowPopupNeeded()
185 needed = count > 0; in isOverflowPopupNeeded()
188 return needed; in isOverflowPopupNeeded()
/frameworks/compile/libbcc/bcinfo/Wrap/
Dbitcode_wrapperer.cpp140 size_t needed = buffer_.size() - buffer_size_; in FillBuffer() local
143 int actually_read = infile_->Read(&buffer_[buffer_size_], needed); in FillBuffer()
149 needed -= actually_read; in FillBuffer()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/res/
D.README1 The res directory is needed for Eclipse to correctly build the project, but it
/frameworks/base/tools/aidl/
Dgenerate_java_rpc.cpp419 bool needed; member in ListenerClass
427 needed(false) in ListenerClass()
449 bool needed; member in EndpointBaseClass
457 needed(false) in EndpointBaseClass()
502 bool needed; member in ResultDispatcherClass
516 needed(false) in ResultDispatcherClass()
718 resultsDispatcherClass->needed = true; in generate_proxy_method()
846 listenerClass->needed = true; in generate_event_method()
991 if (results->needed) { in generate_rpc_interface_class()
994 if (listener->needed) { in generate_rpc_interface_class()
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt80 an absolute time is needed such as displaying the color buffer on a
82 clock. For situations in which an absolute time is not needed such as
110 presentation time when an absolute time is needed be queried on Android?
/frameworks/base/docs/html/guide/topics/manifest/
Duses-permission-element.jd69 Setting this attribute is useful if the permission your app requires is no longer needed beginning
76 permission is needed only up to API level 18 with a declaration such as this:
Dsupports-gl-texture-element.jd66 The set of format strings may grow over time, as needed, and since the values
67 are strings, applications are free to declare other formats as needed.</p>
/frameworks/base/docs/html/training/scheduling/
Dindex.jd55 Learn how to keep the screen or CPU awake as needed, while minimizing the impact
/frameworks/base/docs/html/google/play/licensing/
Doverview.jd39 application as needed.</p>
132 custom code for defining licensing policy and managing access as needed by your application. The key
141 response and apply other constraints, if needed. The implementation also lets
148 response. Your implementation can manage access in any way needed, including
/frameworks/base/docs/html/design/building-blocks/
Dtext-fields.jd69 typically cut, copy, and paste, but apps can insert additional commands as needed.</p>
/frameworks/base/docs/html/design/style/
Dcolor.jd117 shade that can be used as a complement when needed.</p>
/frameworks/base/docs/html/training/improving-layouts/
Dindex.jd59 make the included layout visible only when it's needed, sometime after the activity is running.
Dloading-ondemand.jd37 up rendering by loading the views only when they are needed.</p>
/frameworks/base/docs/html/about/versions/
Dandroid-2.3-highlights.jd82 later, if needed, from the original set of suggestions.</p>
102 free-selection mode &mdash; the user can adjust the selection area as needed by
107 modes, no use of a trackball is needed.</p>
341 the user as needed. </p>
376 open the camera needed. For example, a video chat application might want to access a
/frameworks/base/docs/html/guide/topics/processes/
Dprocess-lifecycle.jd6 be run, and will remain running until it is no longer needed <em>and</em>
29 process no longer needed (unless other application components are active in

12345678