Searched defs:index (Results 276 - 300 of 587) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp84 for (uint32_t index = 0; !idBits.isEmpty(); index++) {
104 Velocity& velocity = mCalculatedVelocity[index];
117 uint32_t index = mCalculatedIdBits.getIndexOfBit(id); local
118 const Velocity& velocity = mCalculatedVelocity[index];
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsHistoryTest.java480 NetworkStatsHistory stats, int index, long rxBytes, long txBytes) {
481 final NetworkStatsHistory.Entry entry = stats.getValues(index, null);
493 private static void assertValues(NetworkStatsHistory stats, int index, long activeTime, argument
495 final NetworkStatsHistory.Entry entry = stats.getValues(index, null);
479 assertValues( NetworkStatsHistory stats, int index, long rxBytes, long txBytes) argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java113 public TestParcelable listParcelableLonger(List<TestParcelable> list, int index) { argument
114 list.add(list.get(index));
115 return list.get(index);
118 public int listParcelableShorter(List<TestParcelable> list, int index) { argument
119 list.remove(index);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimationDrawable.java167 * @return The Drawable at the specified frame index
169 public Drawable getFrame(int index) { argument
170 return mAnimationState.getChildren()[index];
175 * specified index
341 // Do not combine the following. The array index must be evaluated before
/frameworks/base/graphics/java/android/renderscript/
H A DScript.java193 * @param index
196 public void setVar(int index, float v) { argument
197 mRS.nScriptSetVarF(getID(mRS), index, v);
203 * @param index
206 public void setVar(int index, double v) { argument
207 mRS.nScriptSetVarD(getID(mRS), index, v);
213 * @param index
216 public void setVar(int index, int v) { argument
217 mRS.nScriptSetVarI(getID(mRS), index, v);
223 * @param index
226 setVar(int index, long v) argument
236 setVar(int index, boolean v) argument
246 setVar(int index, BaseObj o) argument
256 setVar(int index, FieldPacker v) argument
268 setVar(int index, FieldPacker v, Element e, int[] dims) argument
[all...]
/frameworks/base/libs/androidfw/
H A DKeyLayoutMap.cpp107 ssize_t index = mKeysByUsageCode.indexOfKey(usageCode); local
108 if (index >= 0) {
109 return &mKeysByUsageCode.valueAt(index);
113 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); local
114 if (index >= 0) {
115 return &mKeysByScanCode.valueAt(index);
132 ssize_t index = mAxes.indexOfKey(scanCode); local
133 if (index < 0) {
140 *outAxisInfo = mAxes.valueAt(index);
/frameworks/base/media/java/android/media/
H A DEncoderCapabilities.java159 private static native final int native_get_file_format(int index); argument
161 private static native final VideoEncoderCap native_get_video_encoder_cap(int index); argument
163 private static native final AudioEncoderCap native_get_audio_encoder_cap(int index); argument
H A DMediaExtractor.java198 * Get the track format at the specified index.
201 public MediaFormat getTrackFormat(int index) { argument
202 return new MediaFormat(getTrackFormatNative(index));
205 private native Map<String, Object> getTrackFormatNative(int index); argument
214 public native void selectTrack(int index); argument
221 public native void unselectTrack(int index); argument
256 * Returns the track index the current sample originates from (or -1
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorJava.cpp454 int index = 0; local
470 for (index = 0; index < pClass->count; index++)
474 pClass->pConstants[index].pName,
475 &pClass->pConstants[index].java);
495 int index = 0; local
498 for (index = 0;
499 ((M4OSA_NULL == pName) && (index < pClass->count));
500 index
537 int index = 0; local
579 int index = 0; local
617 int index = 0; local
654 int index = 0; local
681 int index = 0; local
727 int index = 0; local
792 int index = 0; local
827 int index = 0; local
873 int index = 0; local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h211 // given input index.
212 static std::string InputTextureUniformName(int index);
412 int index; member in struct:android::filterfw::ShaderProgram::VertexAttrib
436 // Scans for all uniforms in the shader and creates index -> id map.
439 // Returns the index of the given uniform. The caller must make sure
/frameworks/base/native/android/
H A Dasset_manager.cpp129 size_t index = assetDir->mCurFileIndex; local
135 while ((index < max) && (assetDir->mAssetDir->getFileType(index) != kFileTypeRegular)) {
136 index++;
139 // still in bounds? then the one at 'index' is the next to be reported; generate
141 if (index < max) {
142 assetDir->mCachedFileName = assetDir->mAssetDir->getFileName(index);
144 index++;
147 assetDir->mCurFileIndex = index;
156 const char* AAssetDir_getFileName(AAssetDir* assetDir, int index) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java35 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { argument
39 public void updateIcon(String slot, int index, int viewIndex, StatusBarIcon old, argument
44 public void removeIcon(String slot, int index, int viewIndex) { argument
/frameworks/base/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp107 ALOGE("Cannot get index of %s: %s", name, strerror(errno));
115 int index = get_interface_index(name); local
116 if (index < 0) {
117 return index;
128 ifr6.ifr6_ifindex = index;
192 int index = get_interface_index(name); local
193 if (index < 0) {
194 return index;
206 rt6.rtmsg_ifindex = index;
/frameworks/base/test-runner/src/android/test/
H A DMoreAsserts.java505 String message, int index, Object expected, Object actual) {
506 failWithMessage(message, "expected array element[" + index + "]:<"
504 failWrongElement( String message, int index, Object expected, Object actual) argument
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DManagerService.java85 ensureNextTestSetup(bundle.getString("firstTest"), bundle.getInt("index"));
178 private void ensureNextTestSetup(String nextTest, int index) { argument
185 mCurrentlyRunningTestIndex = index;
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DTorusTest.java95 void addTest(int index, int testId, int user1, int user2) { argument
96 mTests[index] = new ScriptField_TestScripts_s.Item();
97 mTests[index].testScript = mTorusScript;
98 mTests[index].testName = Allocation.createFromString(mRS,
99 mNames[index],
101 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
102 mNames[index],
111 mTests[index].testData = testData.getAllocation();
123 int index = 0;
124 addTest(index
[all...]
H A DUiTest.java79 void addTest(int index, int testId, int user1, int user2, int user3) { argument
80 mTests[index] = new ScriptField_TestScripts_s.Item();
81 mTests[index].testScript = mUiScript;
82 mTests[index].testName = Allocation.createFromString(mRS,
83 mNames[index],
85 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS,
86 mNames[index],
96 mTests[index].testData = testData.getAllocation();
108 int index = 0;
110 addTest(index
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DCompoundTransform.java165 public void setComponent(int index, Component c) { argument
169 if (index >= mTransformComponents.size()) {
170 throw new IllegalArgumentException("Invalid component index");
173 c.mParentIndex = index;
174 mTransformComponents.set(index, c);
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp193 int index; member in struct:Queue
195 Queue() : index(0) { }
197 index++;
198 index &= 0xF;
199 q[index].x = x;
200 q[index].y = y;
203 const int i = (index - lag) & 0xF;
/frameworks/base/tools/aapt/
H A DXMLNode.h75 attribute_entry() : index(~(uint32_t)0), nameResId(0)
90 uint32_t index; member in struct:XMLNode::attribute_entry
114 status_t insertChildAt(const sp<XMLNode>& child, size_t index);
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java72 * @param index the index of the value in the TypedArray
77 public void bridgeSetValue(int index, String name, boolean isFramework, ResourceValue value) { argument
78 mResourceData[index] = value;
79 mNames[index] = name;
80 mIsFramework[index] = isFramework;
104 int index = 1;
107 mIndices[index++] = i;
129 * Retrieve the styled string value for the attribute at <var>index</var>.
131 * @param index Inde
137 getText(int index) argument
159 getString(int index) argument
180 getBoolean(int index, boolean defValue) argument
206 getInt(int index, int defValue) argument
277 getFloat(int index, float defValue) argument
316 getColor(int index, int defValue) argument
344 getColorStateList(int index) argument
411 getInteger(int index, int defValue) argument
432 getDimension(int index, float defValue) argument
485 getDimensionPixelOffset(int index, int defValue) argument
508 getDimensionPixelSize(int index, int defValue) argument
541 getLayoutDimension(int index, String name) argument
559 getLayoutDimension(int index, int defValue) argument
563 getDimension(int index) argument
609 getFraction(int index, int base, int pbase, float defValue) argument
652 getResourceId(int index, int defValue) argument
767 getDrawable(int index) argument
797 getTextArray(int index) argument
833 getValue(int index, TypedValue outValue) argument
856 hasValue(int index) argument
876 peekValue(int index) argument
[all...]
/frameworks/compile/linkloader/include/impl/
H A DELFObject.hxx70 size_t index = progbits_ndx[i]; local
73 ELFSectionTy::read(AR, object.get(), (*object->shtab)[index]));
74 object->stab[index] = sec.take();
/frameworks/compile/mclinker/include/mcld/LD/
H A DLDSection.h93 size_t index() const function in class:mcld::LDSection
170 // the index of the file
/frameworks/ml/bordeaux/learning/multiclass_pa/native/
H A Dmulticlass_pa.cpp176 int index = PickAnExample(num_examples); local
177 float loss_t = TrainOneExample(data[index].first, data[index].second);
189 int index = PickAnExample(num_examples); local
190 float loss_t = SparseTrainOneExample(data[index].first, data[index].second);
/frameworks/native/include/utils/
H A DBasicHashtable.h67 ssize_t next(ssize_t index) const;
68 ssize_t find(ssize_t index, hash_t hash, const void* __restrict__ key) const;
70 void removeAt(size_t index);
82 inline const Bucket& bucketAt(const void* __restrict__ buckets, size_t index) const {
84 static_cast<const uint8_t*>(buckets) + index * mBucketSize);
87 inline Bucket& bucketAt(void* __restrict__ buckets, size_t index) const {
88 return *reinterpret_cast<Bucket*>(static_cast<uint8_t*>(buckets) + index * mBucketSize);
123 // Returns the index of the first bucket that is in the collision chain
130 // Returns the increment to add to a bucket index to seek to the next bucket
137 // Returns the index o
139 chainSeek(size_t index, size_t increment, size_t count) argument
240 editEntryAt(size_t index) argument
279 find(ssize_t index, hash_t hash, const TKey& key) const argument
306 removeAt(size_t index) argument
[all...]

Completed in 2464 milliseconds

<<11121314151617181920>>