/frameworks/base/location/java/android/location/ |
H A D | LocationProvider.java | 59 public LocationProvider(String name, ProviderProperties properties) { argument 64 mProperties = properties; 85 public static boolean propertiesMeetCriteria(String name, ProviderProperties properties, argument 91 if (properties == null) { 98 criteria.getAccuracy() < properties.mAccuracy) { 102 criteria.getPowerRequirement() < properties.mPowerRequirement) { 105 if (criteria.isAltitudeRequired() && !properties.mSupportsAltitude) { 108 if (criteria.isSpeedRequired() && !properties.mSupportsSpeed) { 111 if (criteria.isBearingRequired() && !properties.mSupportsBearing) { 114 if (!criteria.isCostAllowed() && properties [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/os/ |
H A D | SystemProperties_Delegate.java | 43 Map<String, String> properties = Bridge.getPlatformProperties(); 44 String value = properties.get(key); 53 Map<String, String> properties = Bridge.getPlatformProperties(); 54 String value = properties.get(key); 64 Map<String, String> properties = Bridge.getPlatformProperties(); 65 String value = properties.get(key); 79 Map<String, String> properties = Bridge.getPlatformProperties(); 80 String value = properties.get(key); 97 Map<String, String> properties = Bridge.getPlatformProperties(); 98 properties [all...] |
/frameworks/base/libs/hwui/ |
H A D | RenderNode.cpp | 105 (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : ""), 106 (properties().hasShadow() ? ", casting shadow" : ""), 108 (properties().getProjectBackwards() ? ", projected" : ""), 110 properties().debugOutputProperties(level + 1); 130 (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : ""), 131 (properties().hasShadow() ? ", casting shadow" : ""), 133 (properties().getProjectBackwards() ? ", projected" : ""), 136 properties().debugOutputProperties(level); 153 pprops->set_left(properties().getLeft()); 154 pprops->set_top(properties() [all...] |
H A D | VectorDrawable.cpp | 197 const FullPathProperties& properties = useStagingData ? mStagingProperties : mProperties; local 202 if (properties.getFillGradient() != nullptr) { 203 paint.setColor(applyAlpha(SK_ColorBLACK, properties.getFillAlpha())); 204 SkShader* newShader = properties.getFillGradient()->newWithLocalMatrix(matrix); 209 } else if (properties.getFillColor() != SK_ColorTRANSPARENT) { 210 paint.setColor(applyAlpha(properties.getFillColor(), properties.getFillAlpha())); 217 SkPath::FillType ft = static_cast<SkPath::FillType>(properties.getFillType()); 224 if (properties.getStrokeGradient() != nullptr) { 225 paint.setColor(applyAlpha(SK_ColorBLACK, properties 369 getLocalMatrix(SkMatrix* outMatrix, const GroupProperties& properties) argument [all...] |
H A D | FrameBuilder.cpp | 129 auto& props = node.properties(); 208 const RenderProperties& properties = node.properties(); local 209 const Outline& outline = properties.getOutline(); 210 if (properties.getAlpha() <= 0 212 || properties.getScaleX() == 0 213 || properties.getScaleY() == 0) { 217 if (properties.getLeft() != 0 || properties.getTop() != 0) { 218 mCanvasState.translate(properties 395 auto& properties = node.properties(); local [all...] |
H A D | RenderNode.h | 78 * Primary class for storing recorded canvas commands, as well as per-View/ViewGroup display properties. 82 * (which holds the actual data), and DisplayList (which holds properties and performs playback onto 86 * recorded stream of canvas operations is refreshed. The RenderNode (and its properties) stay 174 const RenderProperties& properties() const { function in class:android::uirenderer::RenderNode 191 return properties().getWidth(); 195 return properties().getHeight(); 215 const Outline& outline = properties().getOutline(); 217 || properties().getAlpha() <= 0 219 || properties().getScaleX() == 0 220 || properties() [all...] |
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | ProviderPropertiesUnbundled.java | 40 private ProviderPropertiesUnbundled(ProviderProperties properties) { argument 41 mProperties = properties;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | RtlProperties.h | 20 #include <cutils/properties.h>
|
/frameworks/compile/libbcc/include/bcc/Support/ |
H A D | Properties.h | 24 #include <cutils/properties.h>
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
H A D | BRWriter.kt | 21 class BRWriter(properties: Set<String>, val useFinal : Boolean) { 22 val indexedProps = properties.sorted().withIndex()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
H A D | AppearAnimationUtils.java | 74 AppearAnimationProperties properties = getDelays(objects); 75 startAnimations(properties, objects, finishListener, creator); 80 AppearAnimationProperties properties = getDelays(objects); 81 startAnimations(properties, objects, finishListener, creator); 84 private <T> void startAnimations(AppearAnimationProperties properties, T[] objects, argument 86 if (properties.maxDelayRowIndex == -1 || properties.maxDelayColIndex == -1) { 90 for (int row = 0; row < properties.delays.length; row++) { 91 long[] columns = properties.delays[row]; 94 if (properties 107 startAnimations(AppearAnimationProperties properties, T[][] objects, final Runnable finishListener, AppearAnimationCreator<T> creator) argument [all...] |
/frameworks/av/radio/ |
H A D | IRadioService.cpp | 53 virtual status_t listModules(struct radio_properties *properties, argument 56 if (numModules == NULL || (*numModules != 0 && properties == NULL)) { 61 unsigned int numModulesReq = (properties == NULL) ? 0 : *numModules; 74 reply.read(properties, numModulesReq * sizeof(struct radio_properties)); 126 struct radio_properties *properties = local 129 if (properties == NULL) { 135 status_t status = listModules(properties, &numModules); 144 reply->write(properties, 147 free(properties);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | VectorDrawableTests.cpp | 396 //TODO: Also need to test property sync and dirty flag when properties change. 398 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties(); local 400 EXPECT_EQ(0.0f, properties->getTranslateX()); 401 properties->setTranslateX(1.0f); 402 EXPECT_EQ(1.0f, properties->getTranslateX()); 404 EXPECT_EQ(0.0f, properties->getTranslateY()); 405 properties->setTranslateY(1.0f); 406 EXPECT_EQ(1.0f, properties->getTranslateY()); 408 EXPECT_EQ(0.0f, properties->getRotation()); 409 properties [all...] |
H A D | FrameBuilderTests.cpp | 1583 [](RenderProperties& properties, RecordingCanvas& canvas) { 1584 properties.setProjectionReceiver(true); 1586 // NOTE: translationX/Y only! no other transform properties may be set for a proj receiver! 1587 properties.setTranslationX(scrollX); 1588 properties.setTranslationY(scrollY); 1595 [](RenderProperties& properties, RecordingCanvas& canvas) { 1596 properties.setProjectBackwards(true); 1597 properties.setClipToBounds(false); 1603 [&projectingRipple](RenderProperties& properties, RecordingCanvas& canvas) { 1610 [&receiverBackground, &child](RenderProperties& properties, RecordingCanva [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | FlingAnimationUtils.java | 101 AnimatorProperties properties = getProperties(currValue, endValue, velocity, 103 animator.setDuration(properties.duration); 104 animator.setInterpolator(properties.interpolator); 120 AnimatorProperties properties = getProperties(currValue, endValue, velocity, 122 animator.setDuration(properties.duration); 123 animator.setInterpolator(properties.interpolator); 168 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity, 170 animator.setDuration(properties.duration); 171 animator.setInterpolator(properties.interpolator); 188 AnimatorProperties properties [all...] |
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | AutoCancelTest.java | 42 ObjectAnimator setupAnimator(long startDelay, String... properties) { argument 44 if (properties.length == 1) { 45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1); 47 PropertyValuesHolder[] pvhArray = new PropertyValuesHolder[properties.length]; 48 for (int i = 0; i < properties.length; i++) { 49 pvhArray[i] = PropertyValuesHolder.ofFloat(properties[i], 0, 1);
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
H A D | ProcessBindable.java | 110 HashSet<String> properties = new HashSet<String>(); 111 mProperties.captureProperties(properties); 114 intermediate.captureProperties(properties); 117 BRWriter brWriter = new BRWriter(properties, useFinalFields); 119 //writeBRClass(useFinalFields, pkg, properties); 231 void captureProperties(Set<String> properties); argument 252 public void captureProperties(Set<String> properties) { argument 254 properties.addAll(propertySet); 260 HashSet<String> properties = mProperties.get(className); 261 if (properties [all...] |
/frameworks/av/services/mediadrm/ |
H A D | main_mediadrmserver.cpp | 27 #include <cutils/properties.h>
|
/frameworks/base/cmds/bootanimation/ |
H A D | bootanimation_main.cpp | 22 #include <cutils/properties.h>
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_SystemServer.cpp | 22 #include <cutils/properties.h>
|
/frameworks/rs/ |
H A D | rsDefines.h | 493 static inline uint32_t getGlobalRsType(uint32_t properties) { argument 494 return properties & RS_GLOBAL_TYPE; 496 static inline bool isGlobalConstant(uint32_t properties) { argument 497 return properties & RS_GLOBAL_CONSTANT; 499 static inline bool isGlobalStatic(uint32_t properties) { argument 500 return properties & RS_GLOBAL_STATIC; 502 static inline bool isGlobalPointer(uint32_t properties) { argument 503 return properties & RS_GLOBAL_POINTER;
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GpsXtraDownloader.java | 53 GpsXtraDownloader(Properties properties) { argument 56 String server1 = properties.getProperty("XTRA_SERVER_1"); 57 String server2 = properties.getProperty("XTRA_SERVER_2"); 58 String server3 = properties.getProperty("XTRA_SERVER_3"); 63 // Set User Agent from properties, if possible. 64 String agent = properties.getProperty("XTRA_USER_AGENT");
|
H A D | MockProvider.java | 57 ProviderProperties properties) { 58 if (properties == null) throw new NullPointerException("properties is null"); 62 mProperties = properties; 56 MockProvider(String name, ILocationManager locationManager, ProviderProperties properties) argument
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/ |
H A D | DataBindingBuilder.java | 85 InputStream stream = getClass().getResourceAsStream("/data_binding_version_info.properties"); 185 public Versions(Properties properties) { argument 186 compilerCommon = properties.getProperty("compilerCommon"); 187 compiler = properties.getProperty("compiler"); 188 baseLibrary = properties.getProperty("baseLibrary"); 189 extensions = properties.getProperty("extensions");
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
H A D | DocumentHolderTest.java | 76 PointerProperties properties[] = new PointerProperties[] { 79 properties[0].toolType = tooltype; 95 properties, // pointer properties
|