Searched defs:set (Results 126 - 150 of 173) sorted by relevance

1234567

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java84 public void set(Matrix_Delegate matrix) { method in class:Matrix_Delegate
92 public void set(float[] values) { method in class:Matrix_Delegate
741 private final static int kTranslate_Mask = 0x01; //!< set if the matrix has translation
742 private final static int kScale_Mask = 0x02; //!< set if the matrix has X or Y scale
743 private final static int kAffine_Mask = 0x04; //!< set if the matrix skews or rotates
744 private final static int kPerspective_Mask = 0x08; //!< set if the matrix is in perspective
H A DPath_Delegate.java106 newDelegate.set(pathDelegate);
141 pathDstDelegate.set(pathSrcDelegate);
495 private void set(Path_Delegate delegate) { method in class:Path_Delegate
605 * automatically set to (0,0).
639 * this contour, the first point is automatically set to (0,0).
678 * made for this contour, the first point is automatically set to (0,0).
/frameworks/native/libs/ui/
H A DRegion.cpp81 * First pass through, divideSpanRTL will be set because the 'previous span' (indexing into the dst
247 void Region::set(const Rect& r) function in class:android::Region
253 void Region::set(uint32_t w, uint32_t h) function in class:android::Region
/frameworks/rs/
H A DrsFont.h57 void set(int32_t l, int32_t r, int32_t t, int32_t b) { function in struct:android::renderscript::Font::Rect
/frameworks/base/core/java/android/content/
H A DIntentFilter.java263 private static int findStringInSet(String[] set, String string, argument
265 if (set == null) return -1;
268 if (set[i].equals(string)) return i;
273 private static String[] addStringToSet(String[] set, String string, argument
275 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set;
276 if (set == null) {
277 set = new String[2];
278 set[0] = string;
280 return set;
297 removeStringFromSet(String[] set, String string, int[] lengths, int lenPos) argument
[all...]
H A DContext.java117 * SharedPreference loading flag: when set, the file on disk will
129 * explicitly set if desired.
136 * Database open flag: when set, the database is opened with write-ahead
170 * consider's the target service's process to be. When set, the only way
177 * {@link #BIND_ADJUST_WITH_ACTIVITY} set for them in order to achieve
184 * calls to unbind. When this flag is set, the callstack of the following
207 * the app itself. When set, the platform will try to have the out of
460 AttributeSet set, int[] attrs) {
461 return getTheme().obtainStyledAttributes(set, attrs, 0, 0);
472 AttributeSet set, in
459 obtainStyledAttributes( AttributeSet set, int[] attrs) argument
471 obtainStyledAttributes( AttributeSet set, int[] attrs, int defStyleAttr, int defStyleRes) argument
[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.java83 // A flag to determine whether we should notify data set changed after we connect
86 // 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 " +
365 // Remove this set from the original mapping
371 * We need to remove views from this set if they have been recycled by the AdapterView.
406 // A mapping from type id to a set of unique type ids
413 public void set(RemoteViewsMetaData d) { method in class:RemoteViewsAdapter.RemoteViewsMetaData
530 set(
533 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.java94 public void set(Path src) { method in class:Path
273 * not null, set rect to the bounds of the path. If the path does not
287 * set to (0,0,0,0)
335 * automatically set to (0,0).
363 * this contour, the first point is automatically set to (0,0).
397 * made for this contour, the first point is automatically set to (0,0).
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawable.java109 * <li> <b>States</b>: a compound drawable that selects one of a set of
111 * <li> <b>Levels</b>: a compound drawable that selects one of a set of
141 * Draw in its bounds (set via setBounds) respecting optional effects such
142 * as alpha (set via setAlpha) and color filter (set via setColorFilter).
165 mBounds.set(left, top, right, bottom);
187 bounds.set(mBounds);
345 * @return A {@link Callback} instance or null if no callback was set.
513 * Returns the current color filter, or {@code null} if none set.
515 * @return the current color filter, or {@code null} if none set
1313 obtainAttributes( Resources res, Theme theme, AttributeSet set, int[] attrs) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java811 mCellInfo.set(phoneId, cellInfo);
1514 public void set(Time t, String s, int subId, int phoneId, ServiceState state) { method in class:TelephonyRegistry.LogSSC
1537 logSSC[next].set(t, s, subId, phoneId, state);
/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/create/src/com/android/tools/layoutlib/create/
H A DDependencyFinder.java71 * @return A pair: [0]: map { class FQCN => set of FQCN class dependencies }.
72 * [1]: map { missing class FQCN => set of FQCN class that uses it. }
214 TreeSet<String> set = new TreeSet<String>();
215 dependencyMap.put(name, set);
216 visitor.setDependencySet(set);
237 * @param zipClasses The set of all classes FQCN found in the JAR files.
251 Set<String> set = missing.get(dep);
252 if (set == null) {
253 set = new TreeSet<String>();
254 missing.put(dep, set);
294 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.cpp99 bool set(int mode, int socket, sockaddr_storage *remote,
165 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, function in class:__anon1453::AudioStream
476 bool set(int sampleRate, int sampleCount);
572 bool AudioGroup::set(int sampleRate, int sampleCount) function in class:__anon1453::AudioGroup
593 if (!mChain->set(AudioStream::NORMAL, pair[1], NULL, NULL,
655 // or stop-set-restart threads seems too heavy. Will investigate later.
810 if (track->set(AUDIO_STREAM_VOICE_CALL, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
815 record->set(AUDIO_SOURCE_VOICE_COMMUNICATION, sampleRate, AUDIO_FORMAT_PCM_16_BIT,
975 int sampleCount = (codec ? codec->set(sampleRate, codecSpec) : -1);
985 if (!stream->set(mod
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Dcom_android_server_wifi_WifiNative.cpp202 ALOGD("Did set static halHandle = %p", halHandle);
856 feature_set set = 0; local
860 set = WIFI_FEATURE_INFRA
871 result = wifi_get_supported_feature_set(handle, &set);
874 set = set | WIFI_FEATURE_D2AP_RTT;
875 ALOGD("wifi_get_supported_feature_set returned set = 0x%x", set);
876 return set;
/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...]
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp150 mStatus = set(streamType, sampleRate, format, channelMask,
178 mStatus = set(streamType, sampleRate, format, channelMask,
208 status_t AudioTrack::set( function in class:android::AudioTrack
227 ALOGV("set(): streamType %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, "
271 ALOGV("set() streamType %d frameCount %zu flags %04x", streamType, frameCount, flags);
275 // invariant that mAudioTrack != 0 is true only after set() returns successfully
531 // the playback head position will reset to 0, so if a marker is set, we need
819 // current position, compute a new position or loop parameters, and then set that position or
829 // If we use setLoop for both purposes we lose the capability to set the position while looping.
1013 // Same comment as below about ignoring frameCount parameter for set()
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp107 params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO,
119 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES,
130 params.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES,
139 params.set(CameraParameters::KEY_PREVIEW_FORMAT,
199 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS,
211 params.set(CameraParameters::KEY_PREVIEW_FRAME_RATE,
218 params.set(CameraParameters::KEY_PREVIEW_FPS_RANGE,
231 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FPS_RANGE,
262 params.set(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES,
287 params.set(CameraParameter
1156 status_t Parameters::set(const String8& paramString) { function in class:android::camera2::Parameters
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java213 * The Android package of the caller will be set in the options bundle by the
223 * Boolean, if set and 'customTokens' the authenticator is responsible for
958 * @param account The account to set a password for
959 * @param password The password to set, null to clear the password
1006 * @param account The account to set the userdata for
1007 * @param key The userdata key to set. Must not be null
1008 * @param value The value to set, null to clear this userdata key
1033 * @param account The account to set an auth token for
1175 * set, a status bar notification is also created with the same Intent,
1184 * <p>If notifyAuthFailure is not set, i
1772 protected void set(Bundle bundle) { method in class:AccountManager.AmsTask
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java287 // depending on what the current runtime's instruction set is.
293 // Everything will be set up correctly because info.nativeLibraryDir will
1416 int match, ComponentName[] set, ComponentName activity) {
1418 mPM.addPreferredActivity(filter, match, set, activity, mContext.getUserId());
1426 ComponentName[] set, ComponentName activity, int userId) {
1428 mPM.addPreferredActivity(filter, match, set, activity, userId);
1436 int match, ComponentName[] set, ComponentName activity) {
1438 mPM.replacePreferredActivity(filter, match, set, activity, UserHandle.myUserId());
1446 int match, ComponentName[] set, ComponentName activity,
1449 mPM.replacePreferredActivity(filter, match, set, activit
1415 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
1425 addPreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
1435 replacePreferredActivity(IntentFilter filter, int match, ComponentName[] set, ComponentName activity) argument
1445 replacePreferredActivityAsUser(IntentFilter filter, int match, ComponentName[] set, ComponentName activity, int userId) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java224 * Create a new Resources object on top of an existing set of assets in an
798 * given screen density in DPI. This will set the drawable's density to be
903 * the set is returned.
1324 * In other words, a Theme is a set of values for resource attributes;
1367 * they have in common will be set in this theme.
1461 * <var>set</var>
1488 * @param set The base set of attribute values. May be null.
1507 public TypedArray obtainStyledAttributes(AttributeSet set, argument
1516 final XmlBlock.Parser parser = (XmlBlock.Parser)set;
1744 obtainAttributes(AttributeSet set, int[] attrs) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp78 jmethodID set; member in struct:android::__anon850
136 ALOGW("can't set property, no Caches instance");
141 ALOGW("can't set prop, null passed");
290 env->CallVoidMethod(rect, gRectClassInfo.set,
805 env->CallVoidMethod(dirty, gRectClassInfo.set,
835 // In the emulator this property will be set to 1 when hardware GLES is
979 GET_METHOD_ID(gRectClassInfo.set, clazz, "set", "(IIII)V");
/frameworks/base/libs/hwui/
H A DSpotShadow.cpp88 void set(float angle, bool isPenumbra, int index) { function in struct:android::uirenderer::SpotShadow::VertexAngleData
961 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], newPenumbra[i].x,
965 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], umbra[i].x, umbra[i].y,
1005 AlphaVertex::set(&shadowVertices[vertexBufferIndex++],
1012 AlphaVertex::set(&shadowVertices[vertexBufferIndex++], centroid.x,

Completed in 694 milliseconds

1234567