i could be wrong, but border color, border width, corner radius width and color are part of color drawable. you apply such a color to a view's background. since you apply the color drawable, you, by definition set the border width and color and radius width and color when you run colordrawable.initialize2(). in other words, you already have the information you're looking for.
you can query a color drawable's properties with a javaobject, but since you set these properties, what's the sense in asking for information you already have. what am i missing here?