Searched refs:index (Results 201 - 225 of 1308) sorted by relevance

1234567891011>>

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dhistogram.cpp88 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 DMemoryMappedFile_Delegate.java86 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 DPduBody.java92 * @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/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityEventCompat.java31 Object getRecord(AccessibilityEvent event, int index); argument
44 public Object getRecord(AccessibilityEvent event, int index) { argument
72 public Object getRecord(AccessibilityEvent event, int index) { argument
73 return AccessibilityEventCompatIcs.getRecord(event, index);
261 * Gets the record at a given index.
263 * @param index The index.
264 * @return The record at the specified index.
266 public static AccessibilityRecordCompat getRecord(AccessibilityEvent event, int index) { argument
267 return new AccessibilityRecordCompat(IMPL.getRecord(event, index));
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DVolumeCurve.h36 CurvePoint(int index, int attenuationInMb) : argument
37 mIndex(index), mAttenuationInMb(attenuationInMb) {}
49 // a given volume index from 0 to 100
100 void addCurrentVolumeIndex(audio_devices_t device, int index) { mIndexCur.add(device, index); } argument
128 ssize_t index = indexOfKey(deviceCategory); local
129 if (index < 0) {
134 return index;
146 KeyedVector<audio_devices_t, int> mIndexCur; /**< current volume index per device. */
147 int mIndexMin; /**< min volume index
177 addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, int index) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DPersistentDataStore.java87 int index = findRememberedWifiDisplay(deviceAddress);
88 if (index >= 0) {
89 return mRememberedWifiDisplays.get(index);
104 int index = findRememberedWifiDisplay(display.getDeviceAddress());
105 if (index >= 0) {
106 alias = mRememberedWifiDisplays.get(index).getDeviceAlias();
137 int index = findRememberedWifiDisplay(display.getDeviceAddress());
138 if (index >= 0) {
139 WifiDisplay other = mRememberedWifiDisplays.get(index);
143 mRememberedWifiDisplays.set(index, displa
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGuidedActionAdapterGroup.java71 // for ACTION_ID_NEXT, we first find out the matching index in Actions list.
72 int index = 0;
74 index = adapter.indexOf(action);
75 if (index < 0) {
79 index++;
85 while (index < size && !adapter.getItem(index).isFocusable()) {
86 index++;
89 while (index < size && adapter.getItem(index)
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DSoftAACEncoder.h39 OMX_INDEXTYPE index, OMX_PTR params);
42 OMX_INDEXTYPE index, const OMX_PTR params);
H A DSoftAACEncoder2.h38 OMX_INDEXTYPE index, OMX_PTR params);
41 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.h35 OMX_INDEXTYPE index, OMX_PTR params);
38 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.h36 OMX_INDEXTYPE index, OMX_PTR params);
39 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DSoftAMRWBEncoder.h41 OMX_INDEXTYPE index, OMX_PTR params);
44 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.h35 OMX_INDEXTYPE index, OMX_PTR params);
38 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.h39 OMX_INDEXTYPE index, OMX_PTR params);
42 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.h37 OMX_INDEXTYPE index, OMX_PTR params);
40 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.h38 OMX_INDEXTYPE index, OMX_PTR params);
41 OMX_INDEXTYPE index, const OMX_PTR params);
/frameworks/av/media/libstagefright/foundation/
H A DAAtomizer.cpp41 size_t index = AAtomizer::Hash(name) % n; local
42 List<AString> &entry = mAtoms.editItemAt(index);
/frameworks/av/media/libstagefright/include/
H A DAACExtractor.h35 virtual sp<IMediaSource> getTrack(size_t index);
36 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
H A DAMRExtractor.h35 virtual sp<IMediaSource> getTrack(size_t index);
36 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPSession.h36 sp<MediaSource> trackAt(size_t index);
61 bool validateMediaFormat(size_t index, unsigned *port) const;
/frameworks/av/media/mtp/
H A DMtpPacket.h57 uint32_t getParameter(int index) const;
58 void setParameter(int index, uint32_t value);
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java70 * as a 1D array. The float at index i represents the grayscale
87 * as a 1D array. The float at index i represents the grayscale
139 for (int index = 0; index < count; index++) {
140 final GestureStroke stroke = strokes.get(index);
219 int index = yCeiling * sampleSize + xCeiling;
220 if (sample[index] < 1){
221 sample[index] = 1;
235 int index
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DDirectoryCertificateSource.java143 for (int index = 0; index >= 0; index++) {
144 String fileName = hash + "." + index;
167 for (int index = 0; index >= 0; index++) {
168 String fileName = hash + "." + index;
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java61 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
67 super.addView(child, index, params);
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java49 for (int index : indices) {
50 invalidateKey(index);

Completed in 1028 milliseconds

1234567891011>>