Searched refs:set (Results 176 - 200 of 1378) sorted by relevance

1234567891011>>

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DListenerWithDotTest.java70 mBindingObject.clickable.set(false);
73 mBindingObject.useOne.set(true);
76 mBindingObject.clickable.set(true);
90 mBindingObject.clickable.set(false);
105 mBindingObject.useOne.set(true);
/frameworks/rs/script_api/
H A DUtilities.cpp135 bool testAndSet(const string& flag, set<string>* set) { argument
136 if (set->find(flag) == set->end()) {
137 set->insert(flag);
/frameworks/support/design/src/android/support/design/internal/
H A DScrimInsetsFrameLayout.java73 mInsets.set(insets.getSystemWindowInsetLeft(),
96 mTempRect.set(0, 0, width, mInsets.top);
101 mTempRect.set(0, height - mInsets.bottom, width, height);
106 mTempRect.set(0, mInsets.top, mInsets.left, height - mInsets.bottom);
111 mTempRect.set(width - mInsets.right, mInsets.top, width, height - mInsets.bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DOpReorderer.java110 list.set(movePos, removeOp);
149 list.set(movePos, removeOp);
151 list.set(removePos, moveOp);
177 list.set(move, addOp);
178 list.set(add, moveOp);
203 list.set(update, moveOp);
205 list.set(move, updateOp);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DOpReorderer.java110 list.set(movePos, removeOp);
149 list.set(movePos, removeOp);
151 list.set(removePos, moveOp);
177 list.set(move, addOp);
178 list.set(add, moveOp);
203 list.set(update, moveOp);
205 list.set(move, updateOp);
/frameworks/base/core/java/android/hardware/
H A DCamera.java54 * The Camera class is used to set image capture settings, start/stop preview,
259 // Only set this when sound is forced; otherwise let native code
321 * <p>If this field is set to true, then a call of
322 * {@code enableShutterSound(false)} will be successful. If set to
618 * preview is necessary to take pictures. The same surface can be re-set
619 * without harm. Setting a preview surface will un-set any preview surface
620 * texture that was set via {@link #setPreviewTexture}.
630 * one exception is that if the preview surface is not set (or set to null)
632 * with a non-null parameter to set th
2549 public void set(String key, String value) { method in class:Camera.Parameters
2568 public void set(String key, int value) { method in class:Camera.Parameters
2583 private void set(String key, List<Area> areas) { method in class:Camera.Parameters
[all...]
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DCloseableLock.java93 * @param name set an optional name for logging functionality
206 mLockCount.set(ownedLocks);
279 mLockCount.set(ownedLocks);
323 mLockCount.set(ownedLocks);
/frameworks/base/core/java/android/net/metrics/
H A DApfProgramEvent.java115 BitSet set = BitSet.valueOf(new long[]{bitfield & Integer.MAX_VALUE});
116 // Only iterate over flag bits which are set.
117 for (int bit = set.nextSetBit(0); bit >= 0; bit = set.nextSetBit(bit+1)) {
/frameworks/base/core/java/android/provider/
H A DFontRequest.java64 * signed with. This is used to verify the identity of the provider. Each set in the
125 List<byte[]> set = mCertificates.get(i);
126 for (int j = 0; j < set.size(); j++) {
128 byte[] array = set.get(j);
/frameworks/base/libs/androidfw/include/androidfw/
H A DLoadedArsc.h21 #include <set>
95 // Populates a set of ResTable_config structs, possibly excluding configurations defined for
97 void CollectConfigurations(bool exclude_mipmap, std::set<ResTable_config>* out_configs) const;
99 // Populates a set of strings representing locales.
100 // If `canonicalize` is set to true, each locale is transformed into its canonical format
101 // before being inserted into the set. This may cause some equivalent locales to de-dupe.
102 void CollectLocales(bool canonicalize, std::set<std::string>* out_locales) const;
136 // If `system` is set to true, the LoadedArsc is considered as a system provided resource.
137 // If `load_as_shared_library` is set to true, the application package (0x7f) is treated
/frameworks/base/libs/hwui/
H A DOutline.h55 mBounds.set(left, top, right, bottom);
75 mBounds.set(outline->getBounds());
119 outRect->set(mBounds);
/frameworks/base/libs/hwui/renderthread/
H A DRenderThread.h32 #include <set>
128 // Returns the next task to be run. If this returns NULL nextWakeup is set
130 // set to this time
143 std::set<IFrameCallback*> mFrameCallbacks;
148 std::set<IFrameCallback*> mPendingRegistrationFrameCallbacks;
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h20 #include <set>
32 // For hash_[multi]set, it is important that this deletes behind the iterator
93 std::set<T> items_;
104 typename std::set<T>::iterator iter = items_.find(item);
126 // Test to see if a set, map, hash_set or hash_map contains a particular key.
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h20 #include <set>
44 // For hash_[multi]set, it is important that this deletes behind the iterator
105 std::set<T> items_;
116 typename std::set<T>::iterator iter = items_.find(item);
138 // Test to see if a set, map, hash_set or hash_map contains a particular key.
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimateableViewBounds.java54 mClipRect.set(-1, -1, -1, -1);
114 mClipBounds.set(Math.max(0, mClipRect.left), Math.max(0, mClipRect.top),
121 mLastClipBounds.set(mClipBounds);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java61 * it didn't explicitly set first). {@link Camera2RequestSettingsSet}s
158 mTemplateSettings.set(key, defaultDefault);
190 mCropRectangle.set(0, 0,
249 mRequestSettings.set(setting, matchesTemplateDefault(setting) ? null : possibleChoice);
262 mRequestSettings.set(SCALER_CROP_REGION, mCropRectangle);
274 mRequestSettings.set(LENS_OPTICAL_STABILIZATION_MODE,
361 mRequestSettings.set(CONTROL_AE_MODE, aeMode);
362 mRequestSettings.set(FLASH_MODE, flashMode);
400 mRequestSettings.set(CONTROL_AF_MODE, mode);
478 mRequestSettings.set(CONTROL_SCENE_MOD
[all...]
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DGroupTest.java61 m.set(1, 0, 0.2f);
62 m.set(1, 1, 0.9f);
63 m.set(1, 2, 0.2f);
/frameworks/support/compat/java/android/support/v4/provider/
H A DFontRequest.java50 * signed with. This is used to verify the identity of the provider. Each set in the
73 * Each set in the list represents one collection of signature hashes. Refer to your
152 List<byte[]> set = mCertificates.get(i);
153 for (int j = 0; j < set.size(); j++) {
155 byte[] array = set.get(j);
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java192 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1);
193 // call normalize() to make sure that isDst is set
209 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1);
210 // call normalize() to make sure that isDst is set
214 local.set(millis);
231 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1);
233 // call normalize() to make sure that isDst is set
252 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1);
254 // call normalize() to make sure that isDst is set
259 local.set(milli
[all...]
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/
H A DCamera2UtilsTest.java99 s.set(k, v);
132 setUp.set(CaptureRequest.CONTROL_AE_LOCK, false);
134 setUp.set(CaptureRequest.CONTROL_AE_LOCK, null);
139 setUp.set(CaptureRequest.CONTROL_AE_LOCK, null);
141 setUp.set(CaptureRequest.CONTROL_AE_LOCK, false);
157 assertEquals(shouldHaveChanged, settings.set(key, value));
217 setUp.set(null, null);
245 setUp.set(CaptureRequest.CONTROL_AE_LOCK, null);
250 setUp.set(CaptureRequest.CONTROL_AE_LOCK, false);
255 setUp.set(CaptureReques
[all...]
/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp37 set(src);
44 set(src);
58 void MtpStringBuffer::set(const char* src) { function in class:android::MtpStringBuffer
103 void MtpStringBuffer::set(const uint16_t* src) { function in class:android::MtpStringBuffer
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DElement.h50 * @param[in] identifier to be set.
52 * @return NO_ERROR if the identifier is valid and set correctly, error code otherwise.
88 status_t set(Property property);
H A DInputSource.cpp47 status_t Element<audio_source_t>::set(audio_devices_t devices) function in class:android::audio_policy::Element
53 ALOGE("%s: trying to set an invalid device 0x%X for input source %s",
H A DInputSource.h51 * @param[in] identifier to be set.
53 * @return NO_ERROR if the identifier is valid and set correctly, error code otherwise.
71 status_t set(Property property);
H A DStrategy.cpp47 status_t Element<routing_strategy>::set<audio_devices_t>(audio_devices_t devices) function in class:android::audio_policy::Element
50 ALOGE("%s: trying to set an invalid device 0x%X for strategy %s",

Completed in 494 milliseconds

1234567891011>>