Home
last modified time | relevance | path

Searched refs:mResolution (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/car-lib/src/com/android/car/internal/property/
DContCarPropertyEventTracker.java42 private final float mResolution; field in ContCarPropertyEventTracker
62 mResolution = resolution; in ContCarPropertyEventTracker()
76 return (int) (Math.round((Integer) value / mResolution) * mResolution); in sanitizeValueByResolutionInt()
80 return (long) (Math.round((Long) value / mResolution) * mResolution); in sanitizeValueByResolutionLong()
84 return Math.round((Float) value / mResolution) * mResolution; in sanitizeValueByResolutionFloat()
89 if (mResolution == 0.0f) { in sanitizeCarPropertyValueByResolution()
/packages/services/Car/car-lib/src/android/car/hardware/property/
DSubscription.java45 private final float mResolution; field in Subscription
52 mResolution = builder.mResolution; in Subscription()
142 return mResolution; in getResolution()
156 private float mResolution = 0.0f; field in Subscription.Builder
316 mResolution = resolution; in setResolution()
/packages/services/Car/cpp/vhal/client/include/
DIVhalClient.h152 float mResolution = 0.0f; variable
181 void setResolution(float resolution) { mResolution = resolution; } in setResolution()
202 .resolution = mResolution, in build()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java97 private Spinner mResolution; field in PropertyTestFragment
178 mResolution = view.findViewById(R.id.sResolution); in onCreateView()
322 mResolution.setEnabled(setEnabled); in setEnabledSubscriptionScrollViews()
414 mResolution.setAdapter(resolutionAdapter); in onItemSelected()
415 mResolution.setSelection(mPropertyResolutionSelection.get(propertyId)); in onItemSelected()
416 mResolution.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in onItemSelected()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java164 private final float mResolution; field in VehicleHal.HalSubscribeOptions
183 mResolution = resolution; in HalSubscribeOptions()
202 return mResolution; in getResolution()
220 && mResolution == o.getResolution(); in equals()
230 + ", Resolution: " + mResolution in toString()
237 mEnableVariableUpdateRate, mResolution); in hashCode()