Home | History | Annotate | Download | only in multiwaveview

Lines Matching refs:resourceId

221                 a.peekValue(R.styleable.MultiWaveView_handleDrawable).resourceId);
224 a.peekValue(R.styleable.MultiWaveView_waveDrawable).resourceId);
230 ArrayList<TargetDrawable> chevrons = loadDrawableArray(outValue.resourceId);
241 internalSetTargetResources(outValue.resourceId);
249 final int resourceId = outValue.resourceId;
250 if (resourceId == 0) {
253 setTargetDescriptionsResourceId(resourceId);
258 final int resourceId = outValue.resourceId;
259 if (resourceId == 0) {
262 setDirectionDescriptionsResourceId(resourceId);
602 private ArrayList<TargetDrawable> loadDrawableArray(int resourceId) {
604 TypedArray array = res.obtainTypedArray(resourceId);
609 TargetDrawable target = new TargetDrawable(res, value != null ? value.resourceId : 0);
616 private void internalSetTargetResources(int resourceId) {
617 mTargetDrawables = loadDrawableArray(resourceId);
618 mTargetResourceId = resourceId;
638 * Loads an array of drawables from the given resourceId.
640 * @param resourceId
642 public void setTargetResources(int resourceId) {
645 mNewTargetResources = resourceId;
647 internalSetTargetResources(resourceId);
658 * @param resourceId The resource id.
660 public void setTargetDescriptionsResourceId(int resourceId) {
661 mTargetDescriptionsResourceId = resourceId;
679 * @param resourceId The resource id.
681 public void setDirectionDescriptionsResourceId(int resourceId) {
682 mDirectionDescriptionsResourceId = resourceId;
1166 private ArrayList<String> loadDescriptions(int resourceId) {
1167 TypedArray array = getContext().getResources().obtainTypedArray(resourceId);
1183 public void setEnableTarget(int resourceId, boolean enabled) {
1186 if (target.getResourceId() == resourceId) {
1195 * @param resourceId
1198 public int getTargetPosition(int resourceId) {
1201 if (target.getResourceId() == resourceId) {