Lines Matching refs:pal
115 final FixedClockPalette pal = new FixedClockPalette();
116 pal.mId = xrp.getAttributeValue(null, "id");
119 pal.mBackgroundColor = Color.parseColor(val);
121 pal.mSecondColor = Color.parseColor(val);
123 pal.mMinuteColor = Color.parseColor(val);
125 pal.mHourColor = Color.parseColor(val);
127 pal.mDayColor = Color.parseColor(val);
129 pal.mMonthColor = Color.parseColor(val);
130 return (pal.mId == null) ? null : pal;
205 final CyclingClockPalette pal = new CyclingClockPalette();
206 pal.mId = xrp.getAttributeValue(null, "id");
209 pal.mBackgroundColor = Color.parseColor(val);
211 pal.mSaturation = Float.parseFloat(val);
213 pal.mBrightness = Float.parseFloat(val);
214 if (pal.mId == null) {
217 pal.computeIntermediateColors();
218 return pal;
330 ClockPalette pal = ClockPalette.parseXmlPaletteTag(xrp);
331 if (pal.getId() != null) {
332 mPalettes.put(pal.getId(), pal);
400 ClockPalette pal = mPalettes.get(paletteId);
401 if (pal != null) {
402 mPalette = pal;