Searched defs:set (Results 176 - 200 of 234) sorted by relevance

12345678910

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp100 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user,
133 status_t AudioRecord::set( function in class:android::AudioRecord
150 ALOGV("set(): inputSource %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, "
179 // invariant that mAudioRecord != 0 is true only after set() returns successfully
235 ALOGV("set(): mSessionId %d", mSessionId);
677 // invariant that mAudioRecord != 0 is true only after set() returns successfully
991 // These fields don't need to be cached, because they are assigned only by set():
/frameworks/base/core/java/android/content/
H A DIntentFilter.java287 private static int findStringInSet(String[] set, String string, argument
289 if (set == null) return -1;
292 if (set[i].equals(string)) return i;
297 private static String[] addStringToSet(String[] set, String string, argument
299 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set;
300 if (set == null) {
301 set = new String[2];
302 set[0] = string;
304 return set;
321 removeStringFromSet(String[] set, String string, int[] lengths, int lenPos) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java201 * Create a new Resources object on top of an existing set of assets in an
775 * given screen density in DPI. This will set the drawable's density to be
879 * from the set is returned.
900 * color from the set is returned.
1334 * In other words, a Theme is a set of values for resource attributes;
1383 * they have in common will be set in this theme.
1441 * <var>set</var>
1468 * @param set The base set of attribute values. May be null.
1487 public TypedArray obtainStyledAttributes(AttributeSet set, argument
1746 obtainAttributes(AttributeSet set, int[] attrs) argument
2137 obtainAttributes( Resources res, Theme theme, AttributeSet set, int[] attrs) argument
[all...]
H A DResourcesImpl.java351 // If even after the update there are no Locales set, grab the default locales.
479 * the new ones, even if they're set manually.
1038 * Creates a new ThemeImpl which is already set to the given Resources.ThemeKey.
1107 AttributeSet set,
1119 final XmlBlock.Parser parser = (XmlBlock.Parser) set;
1106 obtainStyledAttributes(@onNull Resources.Theme wrapper, AttributeSet set, @StyleableRes int[] attrs, @AttrRes int defStyleAttr, @StyleRes int defStyleRes) argument
/frameworks/base/core/java/android/hardware/camera2/
H A DCaptureRequest.java80 * {@link CaptureResult#get} or to set fields with
81 * {@link CaptureRequest.Builder#set(Key, Object)}.
83 * <p>For example, to set the crop rectangle for the next capture:
86 * captureRequestBuilder.set(SCALER_CROP_REGION, cropRectangle);
269 * @return The value of that key, or {@code null} if the field is not set.
316 * @return the last tag Object set on this request, or {@code null} if
317 * no tag has been set.
390 * <p>A request is considered equal to another is if it's set of key/values is equal, it's
564 * @param value The value to set the field to, which must be of a matching
567 public <T> void set( method in class:CaptureRequest.Builder
[all...]
/frameworks/base/core/java/android/view/
H A DViewTreeObserver.java292 void set(InternalInsetsInfo other) { method in class:ViewTreeObserver.InternalInsetsInfo
293 contentInsets.set(other.contentInsets);
294 visibleInsets.set(other.visibleInsets);
295 touchableRegion.set(other.touchableRegion);
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java86 // A flag to determine whether we should notify data set changed after we connect
89 // The set of requested views that are to be notified when the associated RemoteViews are
123 * @return whether the adapter was set or not.
215 Log.e(TAG, "Error notifying factory of data set changed in " +
222 Log.e(TAG, "Error notifying factory of data set changed in " +
370 // Remove this set from the original mapping
376 * We need to remove views from this set if they have been recycled by the AdapterView.
411 // A mapping from type id to a set of unique type ids
418 public void set(RemoteViewsMetaData d) { method in class:RemoteViewsAdapter.RemoteViewsMetaData
500 set(
503 public void set(RemoteViews v, long id) { method in class:RemoteViewsAdapter.RemoteViewsIndexMetaData
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DMatrix.java44 public void set(Matrix src) {
270 public void set(Matrix src) { method in class:Matrix
601 * @return true if the matrix was set to the specified transformation
616 * set inverse to be the inverse of this matrix. If this matrix cannot be
H A DPath.java97 public void set(@NonNull Path src) { method in class:Path
108 rects.set(src.rects);
288 * not null, set rect to the bounds of the path. If the path does not
302 * set to (0,0,0,0)
350 * automatically set to (0,0).
378 * this contour, the first point is automatically set to (0,0).
412 * made for this contour, the first point is automatically set to (0,0).
705 dst.set(this);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java116 * <li> <b>States</b>: a compound drawable that selects one of a set of
118 * <li> <b>Levels</b>: a compound drawable that selects one of a set of
189 * Draw in its bounds (set via setBounds) respecting optional effects such
190 * as alpha (set via setAlpha) and color filter (set via setColorFilter).
213 mBounds.set(left, top, right, bottom);
235 bounds.set(mBounds);
411 * @return A {@link Callback} instance or null if no callback was set.
640 * Returns the current color filter, or {@code null} if none set.
642 * @return the current color filter, or {@code null} if none set
1426 obtainAttributes(@onNull Resources res, @Nullable Theme theme, @NonNull AttributeSet set, @NonNull int[] attrs) argument
[all...]
/frameworks/base/location/java/android/location/
H A DGnssMeasurement.java164 public void set(GnssMeasurement measurement) { method in class:GnssMeasurement
359 * C/A code lock : [ 0 1ms ] : STATE_CODE_LOCK is set
360 * Bit sync : [ 0 20ms ] : STATE_BIT_SYNC is set
361 * Subframe sync : [ 0 6s ] : STATE_SUBFRAME_SYNC is set
362 * TOW decoded : [ 0 1week ] : STATE_TOW_DECODED is set</pre>
365 * should be set accordingly, in the 'state' field.
378 * C/A code lock : [ 0 1ms ] : STATE_CODE_LOCK is set
379 * Symbol sync : [ 0 10ms ] : STATE_SYMBOL_SYNC is set
380 * Bit sync : [ 0 20ms ] : STATE_BIT_SYNC is set
381 * String sync : [ 0 2s ] : STATE_GLO_STRING_SYNC is set
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp723 mNextEvent.set(sample, nextChannelID, leftVolume, rightVolume, priority, loop, rate);
1075 void SoundEvent::set(const sp<Sample>& sample, int channelID, float leftVolume, function in class:android::SoundEvent
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java135 void set(List<Task> tasks) { method in class:FilteredTaskList
334 mHintTextBounds.set((int) mHintTextPaint.measureText(mHintText), mTmpRect.height());
642 * @param tasks the new set of tasks to replace the current set.
646 // Compute a has set for each of the tasks
692 mStackTaskList.set(allTasks);
748 * Returns the set of "active" (non-historical) tasks in the stack that have been used recently.
755 * Returns the set of "freeform" tasks in the stack.
771 * Computes a set of all the active and historical tasks.
853 /** Adds a group to the set */
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java73 * This must be > 1.0 to ensure that magnification is actually set to an
199 mMagnificationRegion.set(magnified);
250 outBounds.set(mMagnificationBounds);
263 outRegion.set(mMagnificationRegion);
862 public void set(SpecAnimationBridge object, MagnificationSpec value) { method in class:MagnificationController.SpecAnimationBridge.MagnificationSpecProperty
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java896 mCellInfo.set(phoneId, cellInfo);
1634 public void set(Time t, String s, int subId, int phoneId, ServiceState state) { method in class:TelephonyRegistry.LogSSC
1657 logSSC[next].set(t, s, subId, phoneId, state);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java164 public void set(String key, String value) { method in class:DpmMockContext.SystemPropertiesForMock
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java96 public void set(boolean normalize, int stride, int components, int type, float[] values) { method in class:ImageShader.VertexAttribute
110 public void set(boolean normalize, int offset, int stride, int components, int type, method in class:ImageShader.VertexAttribute
402 attr.set(false, FLOAT_SIZE * components, components, GLES20.GL_FLOAT, data);
408 attr.set(normalize, offset, stride, components, type, vbo);
643 // A non-null value of mSourceCoords indicates new values to be set.
646 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mSourceCoords);
648 // Do not set again (even if failed, to not cause endless attempts)
655 // A non-null value of mTargetCoords indicates new values to be set.
658 attr.set(false, FLOAT_SIZE * 2, 2, GLES20.GL_FLOAT, mTargetCoords);
660 // Do not set agai
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java114 newDelegate.set(pathDelegate);
149 pathDstDelegate.set(pathSrcDelegate);
525 private void set(Path_Delegate delegate) { method in class:Path_Delegate
662 * automatically set to (0,0).
702 * this contour, the first point is automatically set to (0,0).
741 * made for this contour, the first point is automatically set to (0,0).
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDependencyFinder.java70 * @return A pair: [0]: map { class FQCN => set of FQCN class dependencies }.
71 * [1]: map { missing class FQCN => set of FQCN class that uses it. }
213 TreeSet<String> set = new TreeSet<>();
214 dependencyMap.put(name, set);
215 visitor.setDependencySet(set);
236 * @param zipClasses The set of all classes FQCN found in the JAR files.
250 Set<String> set = missing.get(dep);
251 if (set == null) {
252 set = new TreeSet<>();
253 missing.put(dep, set);
293 setDependencySet(Set<String> set) argument
[all...]
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp287 void matrixf_t::set(const GLfixed* rhs) { function in class:android::matrixf_t
291 void matrixf_t::set(const GLfloat* rhs) { function in class:android::matrixf_t
847 rhs.set(f);
886 rhs.set(f);
958 rhs.set(m);
967 rhs.set(m);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp101 bool set(int mode, int socket, sockaddr_storage *remote,
167 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, function in class:__anon1612::AudioStream
478 bool set(int sampleRate, int sampleCount);
577 bool AudioGroup::set(int sampleRate, int sampleCount) function in class:__anon1612::AudioGroup
598 if (!mChain->set(AudioStream::NORMAL, pair[1], NULL, NULL,
660 // or stop-set-restart threads seems too heavy. Will investigate later.
815 if (track->set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
820 record->set(AUDIO_SOURCE_VOICE_COMMUNICATION, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
981 int sampleCount = (codec ? codec->set(sampleRate, codecSpec) : -1);
991 if (!stream->set(mod
[all...]
/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal_stub.cpp36 wifi_error wifi_get_supported_feature_set_stub(wifi_interface_handle handle, feature_set *set) { argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigManagerTest.java186 writerField.set(mWifiConfigManager, mWriter);
195 networkHistoryWriterField.set(wifiNetworkHistory, mWriter);
200 moManagerField.set(mWifiConfigManager, mMOManager);
609 wifiNetworkHistoryConfigFile.set(null, file.getAbsolutePath());
705 lastSelectedConfigurationField.set(mWifiConfigManager, config.configKey());
818 config.allowedKeyManagement.set(KeyMgmt.WPA_EAP);
851 keyMgmt.set(KeyMgmt.WPA_EAP);
1174 assertFalse("Adding a new network should not have hasEverConnected set to true.",
1181 * mistakenly set HasEverConnected to true.
1192 assertFalse("Adding a new network should not have hasEverConnected set t
1610 makeString(BitSet set, String[] strings) argument
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroup.java357 // Either mFieldID or mArgIndex should be set but not both.
377 void set(Object value) { method in class:ScriptGroup.Input
451 unbound.set(obj);
/frameworks/av/camera/
H A DCameraParameters.cpp238 void CameraParameters::set(const char *key, const char *value) function in class:android::CameraParameters
254 void CameraParameters::set(const char *key, int value) function in class:android::CameraParameters
258 set(key, str);
265 set(key, str);
351 set(KEY_PREVIEW_SIZE, str);
381 set(KEY_VIDEO_SIZE, str);
400 set(KEY_PREVIEW_FRAME_RATE, fps);
418 set(KEY_PREVIEW_FORMAT, format);
430 set(KEY_PICTURE_SIZE, str);
450 set(KEY_PICTURE_FORMA
[all...]

Completed in 9036 milliseconds

12345678910