Lines Matching defs:resourceId

222                 a.peekValue(R.styleable.MultiWaveView_handleDrawable).resourceId);
225 a.peekValue(R.styleable.MultiWaveView_waveDrawable).resourceId);
231 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId);
242 internalSetTargetResources(outValue.resourceId);
250 final int resourceId = outValue.resourceId;
251 if (resourceId == 0) {
254 setTargetDescriptionsResourceId(resourceId);
259 final int resourceId = outValue.resourceId;
260 if (resourceId == 0) {
263 setDirectionDescriptionsResourceId(resourceId);
606 private ArrayList<TargetDrawable> loadDrawableArray(int resourceId) {
608 TypedArray array = res.obtainTypedArray(resourceId);
613 TargetDrawable target = new TargetDrawable(res, value != null ? value.resourceId : 0);
620 private void internalSetTargetResources(int resourceId) {
621 mTargetDrawables = loadDrawableArray(resourceId);
622 mTargetResourceId = resourceId;
642 * Loads an array of drawables from the given resourceId.
644 * @param resourceId
646 public void setTargetResources(int resourceId) {
649 mNewTargetResources = resourceId;
651 internalSetTargetResources(resourceId);
662 * @param resourceId The resource id.
664 public void setTargetDescriptionsResourceId(int resourceId) {
665 mTargetDescriptionsResourceId = resourceId;
683 * @param resourceId The resource id.
685 public void setDirectionDescriptionsResourceId(int resourceId) {
686 mDirectionDescriptionsResourceId = resourceId;
1170 private ArrayList<String> loadDescriptions(int resourceId) {
1171 TypedArray array = getContext().getResources().obtainTypedArray(resourceId);
1187 public void setEnableTarget(int resourceId, boolean enabled) {
1190 if (target.getResourceId() == resourceId) {
1199 * @param resourceId
1202 public int getTargetPosition(int resourceId) {
1205 if (target.getResourceId() == resourceId) {