Searched defs:PM (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/widget/
H A DTimePickerClockDelegate_Delegate.java30 private static final int PM = 1; field in class:TimePickerClockDelegate_Delegate
37 } else if (amOrPm == PM) {
/frameworks/compile/libbcc/tools/bcc_strip_attr/
H A Dbcc_strip_attr.cpp125 PassManager PM; local
126 PM.add(createStripAttributePass());
127 PM.run(*M.get());
/frameworks/compile/mclinker/lib/CodeGen/
H A DMCLDTargetMachine.cpp116 llvm::legacy::PassManagerBase &PM) {
125 PM.add(createSjLjEHPreparePass(TM));
130 PM.add(createDwarfEHPass(TM));
133 PM.add(createLowerInvokePass());
136 PM.add(createUnreachableBlockEliminationPass());
144 llvm::legacy::PassManagerBase &PM,
148 TargetPassConfig *PassConfig = TM->createPassConfig(PM);
153 PM.add(PassConfig);
157 addPassesToHandleExceptions(TM, PM);
166 PM
115 addPassesToHandleExceptions(llvm::TargetMachine *TM, llvm::legacy::PassManagerBase &PM) argument
143 addPassesToGenerateCode(llvm::LLVMTargetMachine *TM, llvm::legacy::PassManagerBase &PM, bool DisableVerify) argument
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DAmPmCirclesView.java34 * Draw the two smaller AM and PM circles next to where the larger circle will be.
55 private static final int PM = TimePickerDialog.PM; field in class:AmPmCirclesView
125 * Calculate whether the coordinates are touching the AM or PM circle.
143 return PM;
166 // Line up the vertical center of the AM/PM circles with the bottom of the main circle.
168 // Line up the horizontal edges of the AM/PM circles with the horizontal edges
185 } else if (mAmOrPm == PM) {
192 } else if (mAmOrPmPressed == PM) {
205 // Draw the AM/PM text
[all...]
H A DRadialPickerLayout.java62 private static final int PM = TimePickerDialog.PM; field in class:RadialPickerLayout
180 // Initialize the circle and AM/PM circles if applicable.
184 mAmPmCirclesView.initialize(context, initialHoursOfDay < 12? AM : PM);
288 return PM;
294 * Set the internal value for the hour, minute, or AM/PM.
304 } else if (value == PM) {
311 * Set the internal value as either AM or PM, and update the AM/PM circle displays.
583 // If we're showing the AM/PM, chec
[all...]
H A DTimePickerDialog.java68 public static final int PM = 1; field in class:TimePickerDialog
267 // Enable or disable the AM/PM view.
279 updateAmPmDisplay(mInitialHourOfDay < 12? AM : PM);
286 amOrPm = PM;
287 } else if (amOrPm == PM){
363 } else if (amOrPm == PM){
519 } else if (deleted == getAmOrPmKeyCode(PM)) {
535 (keyCode == getAmOrPmKeyCode(AM) || keyCode == getAmOrPmKeyCode(PM)))) {
572 // If we're in 24hour mode, we'll need to check if the input is full. If in AM/PM mode,
573 // we'll need to see if AM/PM hav
[all...]
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java77 private static final int PM = 1; field in class:RadialTimePickerView
507 // 0 is 12 AM (midnight) and 12 is 12 PM (noon).
508 final int amOrPm = (hour == 0 || (hour % 24) < 12) ? AM : PM;
548 } else if (mAmOrPm == PM) {
1519 } else if (amOrPm == PM) {
H A DTimePickerClockDelegate.java69 static final int PM = 1; field in class:TimePickerClockDelegate
173 // Set up AM/PM labels.
269 // Enable or disable the AM/PM view.
290 // Ensure that AM/PM layout is in the correct position.
301 updateAmPmLabelStates(mInitialHourOfDay < 12 ? AM : PM);
317 mRadialTimePickerView.setAmOrPm(mInitialHourOfDay < 12 ? AM : PM);
332 case PM:
365 * Set whether in 24 hour or AM/PM mode.
367 * @param is24HourView True = 24 hour mode. False = AM/PM.
614 final boolean isPm = amOrPm == PM;
[all...]

Completed in 1367 milliseconds