Searched refs:getColor (Results 1 – 14 of 14) sorted by relevance
48 mColors[0] = a.getColor(R.styleable.BackgroundView_colorSegmentOne, Color.RED); in BackgroundView()49 mColors[1] = a.getColor(R.styleable.BackgroundView_colorSegmentTwo, Color.YELLOW); in BackgroundView()50 mColors[2] = a.getColor(R.styleable.BackgroundView_colorSegmentThree, Color.BLUE); in BackgroundView()51 mColors[3] = a.getColor(R.styleable.BackgroundView_colorSegmentFour, Color.GREEN); in BackgroundView()
85 setBackgroundColor(r.getColor(R.color.candidate_background)); in CandidateView()87 mColorNormal = r.getColor(R.color.candidate_normal); in CandidateView()88 mColorRecommended = r.getColor(R.color.candidate_recommended); in CandidateView()89 mColorOther = r.getColor(R.color.candidate_other); in CandidateView()
113 if (mPaint.getColor() == 0xFF000000) { in swapPaintColors()169 if (mPaint.getColor() == 0xFFFFFFFF) { in onTouchEvent()
73 int c = mCenterPaint.getColor(); in onDraw()200 mListener.colorChanged(mCenterPaint.getColor()); in onTouchEvent()
180 new ColorPickerDialog(this, this, mPaint.getColor()).show(); in onOptionsItemSelected()
234 canvas.drawColor(mBackground.getColor()); in run()
62 public int getColor() { in getColor() method in ShapeHolder
210 mPlainText.setTextColor(getResources().getColor(android.R.color.primary_text_dark)); in onCreate()219 .setTextColor(getResources().getColor(android.R.color.primary_text_dark)); in onCreate()475 mCipherText.setTextColor(getResources().getColor(R.color.solid_green)); in onPostExecute()477 mCipherText.setTextColor(getResources().getColor(R.color.solid_red)); in onPostExecute()486 mCipherText.setTextColor(getResources().getColor(android.R.color.primary_text_dark)); in onCancelled()
74 setTextColor(a.getColor(R.styleable.LabelView_textColor, 0xFF000000)); in LabelView()
223 final int textColor = context.getResources().getColor(typedValue.resourceId); in BaseToggleButton()
199 mLabelTextColor = a.getColor( in InteractiveLineGraphView()208 mGridColor = a.getColor( in InteractiveLineGraphView()213 mAxisColor = a.getColor( in InteractiveLineGraphView()218 mDataColor = a.getColor( in InteractiveLineGraphView()
272 if (mShips.valueAt(i).getColor() == color) { in getShipForId()293 mDescriptorMap.put(deviceString, currentShip.getColor()); in getShipForId()1041 public int getColor() { in getColor() method in GameView.Ship
83 getResources().getColor(R.color.drag_active_color)); in onCreateView()
328 mPathColor = resources.getColor(R.color.gesture_color); in onPreExecute()