/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 78 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon); argument 79 public void updateIcon(String slot, int index, int viewIndex, argument 81 public void removeIcon(String slot, int index, int viewIndex); argument 109 public void setIcon(int index, StatusBarIcon icon) { argument 111 int what = MSG_ICON | index; 117 public void removeIcon(int index) { argument 119 int what = MSG_ICON | index; 254 final int index = msg.what & INDEX_MASK; 255 final int viewIndex = mList.getViewIndex(index); 259 StatusBarIcon old = mList.getIcon(index); [all...] |
/frameworks/base/sax/java/android/sax/ |
H A D | Children.java | 32 int index = hash & 15; 34 Child current = children[index]; 38 children[index] = current; 67 int index = hash & 15; 69 Child current = children[index];
|
/frameworks/wilhelm/src/itf/ |
H A D | IMetadataTraversal.c | 66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) 85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, argument 97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) argument 101 if (SL_NODE_PARENT == index) { 105 thiz->mIndex = index; 65 IMetadataTraversal_GetChildMIMETypeSize( SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | WspTypeDecoder.java | 220 int index = startIndex; 221 while (mWspData[index] != 0) { 222 index++; 224 mDataLength = index - startIndex + 1; 243 int index = startIndex; 244 while (mWspData[index] != 0) { 245 index++; 247 mDataLength = index - startIndex + 1; 320 int index = startIndex; 323 while ((mWspData[index] [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | FillTest.java | 63 void addTest(int index, int testId, int blend, int quadCount) { argument 64 mTests[index] = new ScriptField_TestScripts_s.Item(); 65 mTests[index].testScript = mFillScript; 66 mTests[index].testName = Allocation.createFromString(mRS, 67 mNames[index], 69 mTests[index].debugName = RsBenchRS.createZeroTerminatedAlloc(mRS, 70 mNames[index], 79 mTests[index].testData = testData.getAllocation(); 89 int index = 0; 91 addTest(index [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
H A D | BridgeXmlPullAttributes.java | 54 public int getAttributeNameResource(int index) { argument 56 String name = getAttributeName(index); 59 String ns = mParser.getAttributeNamespace(index); 175 public int getAttributeListValue(int index, argument 178 getAttributeValue(index), options, defaultValue); 182 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument 183 String value = getAttributeValue(index); 198 public int getAttributeResourceValue(int index, int defaultValue) { argument 199 String value = getAttributeValue(index); 205 public int getAttributeIntValue(int index, in argument 224 getAttributeUnsignedIntValue(int index, int defaultValue) argument 240 getAttributeFloatValue(int index, float defaultValue) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ASessionDescription.cpp | 172 void ASessionDescription::getFormat(size_t index, AString *value) const { argument 173 CHECK_GE(index, 0u); 174 CHECK_LT(index, mTracks.size()); 176 *value = mFormats.itemAt(index); 180 size_t index, const char *key, AString *value) const { 181 CHECK_GE(index, 0u); 182 CHECK_LT(index, mTracks.size()); 186 const Attribs &track = mTracks.itemAt(index); 199 size_t index, unsigned long *PT, 202 getFormat(index, 179 findAttribute( size_t index, const char *key, AString *value) const argument 198 getFormatType( size_t index, unsigned long *PT, AString *desc, AString *params) const argument 225 getDimensions( size_t index, unsigned long PT, int32_t *width, int32_t *height) const argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | GridLayoutAnimationController.java | 30 * While {@link LayoutAnimationController} relies only on the index of the child 345 int index; 348 index = params.columnsCount - 1 - params.column; 354 index = (int) (params.columnsCount * mRandomizer.nextFloat()); 358 index = params.column; 364 index = params.columnsCount - 1 - index; 367 return index; 371 int index; 374 index [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | URLUtil.java | 147 int index = url.indexOf('%'); 148 while (index >= 0 && index < count) { 149 if (index < count - 2) { 151 parseHex((byte) url.charAt(++index)); 152 parseHex((byte) url.charAt(++index)); 159 index = url.indexOf('%', index + 1); 312 int index = filename.lastIndexOf('/') + 1; 313 if (index > [all...] |
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 68 int index = 0; 69 String command = args[index]; 73 index++; 74 command = args[index]; 76 final int length = args.length - index; 82 sendText(inputSource, args[index+1]); 87 final boolean longpress = "--longpress".equals(args[index + 1]); 88 final int start = longpress ? index + 2 : index + 1; 104 sendTap(inputSource, Float.parseFloat(args[index [all...] |
/frameworks/base/core/java/android/database/ |
H A D | DatabaseUtils.java | 195 * @param index the 1-based index to bind at 198 public static void bindObjectToProgram(SQLiteProgram prog, int index, argument 201 prog.bindNull(index); 203 prog.bindDouble(index, ((Number)value).doubleValue()); 205 prog.bindLong(index, ((Number)value).longValue()); 209 prog.bindLong(index, 1); 211 prog.bindLong(index, 0); 214 prog.bindBlob(index, (byte[]) value); 216 prog.bindString(index, valu 596 cursorStringToInsertHelper(Cursor cursor, String field, InsertHelper inserter, int index) argument 1146 bind(int index, double value) argument 1156 bind(int index, float value) argument 1166 bind(int index, long value) argument 1176 bind(int index, int value) argument 1186 bind(int index, boolean value) argument 1195 bindNull(int index) argument 1205 bind(int index, byte[] value) argument 1219 bind(int index, String value) argument [all...] |
/frameworks/base/core/java/android/alsa/ |
H A D | AlsaCardsParser.java | 100 public AlsaCardRecord getCardRecordAt(int index) { argument 101 return cardRecords_.get(index); 110 for (int index = 0; index < numCardRecs; ++index) { 111 Slog.w(TAG, "usb:" + getCardRecordAt(index).textFormat());
|
/frameworks/base/core/java/android/net/ |
H A D | RssiCurve.java | 153 int index = (rssi - start) / bucketWidth; 155 // Snap the index to the closest bucket if it falls outside the curve. 156 if (index < 0) { 157 index = 0; 158 } else if (index > rssiBuckets.length - 1) { 159 index = rssiBuckets.length - 1; 162 return rssiBuckets[index];
|
/frameworks/base/core/java/android/view/ |
H A D | VelocityTracker.java | 274 * Gets the X coefficient with the specified index. 275 * @param index The index of the coefficient to return. 276 * @return The X coefficient, or 0 if the index is greater than the degree. 278 public float getXCoeff(int index) { argument 279 return index <= degree ? xCoeff[index] : 0; 283 * Gets the Y coefficient with the specified index. 284 * @param index The index o 287 getYCoeff(int index) argument [all...] |
H A D | WindowManagerGlobal.java | 247 int index = findViewLocked(view, false); 248 if (index >= 0) { 251 mRoots.get(index).doDie(); 286 final int index = findViewLocked(view, false); 287 if (index >= 0) { 288 removeViewLocked(index, true); 308 int index = findViewLocked(view, true); 309 ViewRootImpl root = mRoots.get(index); 310 mParams.remove(index); 311 mParams.add(index, wparam 359 removeViewLocked(int index, boolean immediate) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | histogram.cpp | 88 int index = static_cast<int>(s * sScaler) * hBins + static_cast<int>(h * hScaler); local 89 histOut[index] += 1.0f; 115 int index; local 119 // Shifting hue index by 0.5 such that peaks of red, yellow, green, cyan, blue, pink 122 index = sIndex * hueBins + hIndex; 124 index = hueBins * saturationBins + (v * valueBins / 256); 126 histOut[index] += 1.0f;
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/io/ |
H A D | MemoryMappedFile_Delegate.java | 86 Long index = sMemoryMappedFileMap.get(thisFile); 87 if (index != null) { 89 sManager.removeJavaReferenceFor(index); 114 Long index = sMemoryMappedFileMap.get(file); 115 return index == null ? null : sManager.getDelegate(index);
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
H A D | PduBody.java | 92 * @param index index at which the specified part is to be inserted 96 public void addPart(int index, PduPart part) { argument 102 mParts.add(index, part); 108 * @param index index of the part to return 109 * @return part at the specified index 111 public PduPart removePart(int index) { argument 112 return mParts.remove(index); 125 * @param index inde 128 getPart(int index) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 174 ssize_t index = mLiveNodes.indexOfKey(the_late_who); local 175 CHECK(index >= 0); 177 instance = mLiveNodes.editValueAt(index); 178 mLiveNodes.removeItemsAt(index); 180 index = mDispatchers.indexOfKey(instance->nodeID()); 181 CHECK(index >= 0); 182 mDispatchers.removeItemsAt(index); 197 OMX_U32 index = 0; local 200 componentName, sizeof(componentName), index) == OMX_ErrorNone) { 216 ++index; 259 ssize_t index = mLiveNodes.indexOfKey(instance->observer()->asBinder()); local 274 ssize_t index = mDispatchers.indexOfKey(node); local 287 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 295 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 303 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 310 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 416 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument 500 ssize_t index = mNodeIDToInstance.indexOfKey(node); local 508 ssize_t index = mDispatchers.indexOfKey(node); local [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | PersistentDataStore.java | 86 int index = findRememberedWifiDisplay(deviceAddress); 87 if (index >= 0) { 88 return mRememberedWifiDisplays.get(index); 103 int index = findRememberedWifiDisplay(display.getDeviceAddress()); 104 if (index >= 0) { 105 alias = mRememberedWifiDisplays.get(index).getDeviceAlias(); 136 int index = findRememberedWifiDisplay(display.getDeviceAddress()); 137 if (index >= 0) { 138 WifiDisplay other = mRememberedWifiDisplays.get(index); 142 mRememberedWifiDisplays.set(index, displa [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | SoftAACEncoder.h | 39 OMX_INDEXTYPE index, OMX_PTR params); 42 OMX_INDEXTYPE index, const OMX_PTR params);
|
H A D | SoftAACEncoder2.h | 38 OMX_INDEXTYPE index, OMX_PTR params); 41 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
H A D | SoftAMR.h | 35 OMX_INDEXTYPE index, OMX_PTR params); 38 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
H A D | SoftAMRNBEncoder.h | 36 OMX_INDEXTYPE index, OMX_PTR params); 39 OMX_INDEXTYPE index, const OMX_PTR params);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
H A D | SoftAMRWBEncoder.h | 41 OMX_INDEXTYPE index, OMX_PTR params); 44 OMX_INDEXTYPE index, const OMX_PTR params);
|