HomeSort by relevance Sort by last modified time
    Searched refs:presentation (Results 1 - 25 of 54) sorted by null

1 2 3

  /packages/apps/Dialer/src/com/android/dialer/calllog/
PhoneNumberUtilsWrapper.java 35 public static boolean canPlaceCallsTo(CharSequence number, int presentation) {
36 return presentation == CallLog.Calls.PRESENTATION_ALLOWED
43 public boolean canSendSmsTo(CharSequence number, int presentation) {
44 return canPlaceCallsTo(number, presentation) && !isVoicemailNumber(number) && !isSipNumber(
64 public static boolean isUnknownNumberThatCanBeLookedUp(CharSequence number, int presentation) {
65 if (presentation == CallLog.Calls.PRESENTATION_UNKNOWN) {
68 if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) {
71 if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) {
PhoneNumberHelper.java 36 /* package */ CharSequence getDisplayName(CharSequence number, int presentation) {
37 if (presentation == Calls.PRESENTATION_UNKNOWN) {
40 if (presentation == Calls.PRESENTATION_RESTRICTED) {
43 if (presentation == Calls.PRESENTATION_PAYPHONE) {
62 int presentation, CharSequence formattedNumber) {
64 final CharSequence displayName = getDisplayName(number, presentation);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/presentation/
CompoundPropertyEditorPresentation.java 11 package org.eclipse.wb.internal.core.model.property.editor.presentation;
39 public void add(PropertyEditorPresentation presentation) {
40 m_presentations.add(presentation);
56 for (PropertyEditorPresentation presentation : m_presentations) {
57 int presentationWidth = presentation.show(propertyTable, property, x, y, width, height);
66 for (PropertyEditorPresentation presentation : m_presentations) {
67 presentation.hide(propertyTable, property);
ButtonPropertyEditorPresentationImplMac.java 11 package org.eclipse.wb.internal.core.model.property.editor.presentation;
33 public ButtonPropertyEditorPresentationImplMac(ButtonPropertyEditorPresentation presentation) {
34 super(presentation);
PropertyEditorPresentation.java 11 package org.eclipse.wb.internal.core.model.property.editor.presentation;
18 * Implementations of {@link PropertyEditorPresentation} are used to show some presentation for
26 * Shows presentation for given {@link Property}.
28 * @return the width that this presentation occupies on the right of given rectangle.
38 * Hides presentation.
  /packages/services/Telephony/common/src/com/android/services/telephony/common/
CallIdentification.java 36 // Number presentation received from the carrier
39 // Name presentation mode received from the carrier
73 public void setNumberPresentation(int presentation) {
74 mNumberPresentation = presentation;
81 public void setCnapNamePresentation(int presentation) {
82 mCnapNamePresentation = presentation;
  /packages/services/Telephony/src/com/android/phone/
CallLogger.java 70 // TODO: In getLogNumber we use the presentation from
75 final int presentation = getPresentation(c, ci); local
82 logCall(ci, logNumber, presentation, callLogType, date, duration);
109 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start,
128 + "," + presentation + ", " + callType + ", " + start + ", " + duration);
132 presentation, callType, start, duration);
165 * Apply the Call Name Presentation (CNAP) transform in the connection on the number.
198 int presentation = conn.getNumberPresentation(); local
202 number, presentation);
213 * Get the presentation from the callerinfo if not null otherwise
221 int presentation; local
    [all...]
  /packages/apps/PhoneCommon/src/com/android/phone/common/
CallLogAsync.java 41 * this, ci, number, presentation, type, timestamp, duration);
64 * @param presentation Of the number.
73 int presentation,
97 this.presentation = presentation;
107 public final int presentation; field in class:CallLogAsync.AddCallArgs
164 c.ci, c.context, c.number, c.presentation,
  /external/chromium_org/tools/grit/grit/
tclib.py 94 if other.presentation == placeholder.presentation:
148 part.presentation.encode('utf-8'),
206 # Must match placeholder presentation names
209 def __init__(self, presentation, original, example):
213 presentation: 'USERNAME'
217 assert presentation != ''
220 if not self._NAME_RE.match(presentation):
221 raise exception.InvalidPlaceholderName(presentation)
222 self.presentation = presentatio
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
Makefile 18 presentation.c \
  /external/mesa3d/src/gallium/state_trackers/vdpau/
Makefile 18 presentation.c \
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
TextDialogPropertyEditor.java 14 import org.eclipse.wb.internal.core.model.property.editor.presentation.ButtonPropertyEditorPresentation;
15 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation;
29 // Presentation
PropertyEditor.java 21 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation;
33 // Presentation
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
CallLogListItemHelperTest.java 168 int presentation, String formattedNumber) {
169 setPhoneCallDetailsWithNumberAndType(number, presentation,
175 int presentation, String formattedNumber) {
176 setPhoneCallDetailsWithNumberAndTypeInFavorites(number, presentation,
182 int presentation, String formattedNumber, int callType) {
184 new PhoneCallDetails(number, presentation, formattedNumber,
192 int presentation, String formattedNumber, int callType) {
194 new PhoneCallDetails(number, presentation, formattedNumber,
CallLogFragmentTest.java 366 int presentation = getPhoneNumberPresentationForListEntry(i); local
367 if (presentation == Calls.PRESENTATION_RESTRICTED ||
368 presentation == Calls.PRESENTATION_UNKNOWN) {
425 /** Returns the number presentation associated with the given entry in {{@link #mList}. */
490 * @param presentation Number representing display rules for "allowed",
496 private void insert(String number, int presentation, long date, int duration, int type) {
497 insertValues(getValuesToInsert(number, presentation, date, duration, type));
510 * @param presentation Number representing display rules for "allowed",
516 private Object[] getValuesToInsert(String number, int presentation,
521 values[CallLogQuery.NUMBER_PRESENTATION] = presentation;
    [all...]
  /packages/services/Telephony/tests/src/com/android/phone/unit/
CnapTest.java 30 // Test suite for the Caller Name Presentation (CNAP) handling.
47 // Checks the cnap 'ABSENT NUMBER' is mapped to the unknown presentation.
63 // TODO: cnapName and name presentation should be set to
72 private String modifyForSpecialCnapCases(String number, int presentation) {
74 mContext, mCallerInfo, number, presentation);
  /packages/apps/InCallUI/src/com/android/incallui/
CallerInfoUtils.java 82 * expected number and presentation values within the CallerInfo object.
84 * @param presentation presentation value used to verify if we are in a corner case
88 String number, int presentation) {
91 // displayed/logged after this function returns based on the presentation value.
96 + ", presentation=" + presentation + " ci " + ci);
100 // and fix the presentation to be the same.
104 && presentation == Call.PRESENTATION_ALLOWED) {
110 // cases only apply if we received an allowed presentation from the network, so chec
    [all...]
ContactInfoCache.java 307 CallerInfo info, int presentation, boolean isIncoming) {
312 populateCacheEntry(context, info, cce, presentation, isIncoming);
346 int presentation, boolean isIncoming) {
393 // (or potentially some other default based on the presentation.)
394 displayName = getPresentationString(context, presentation);
396 } else if (presentation != Call.PRESENTATION_ALLOWED) {
398 // AND a restricted presentation. However we leave it here in case of weird
400 displayName = getPresentationString(context, presentation);
401 Log.d(TAG, " ==> presentation not allowed! displayName = " + displayName);
433 if (presentation != Call.PRESENTATION_ALLOWED)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PresentationActivity.java 25 import android.app.Presentation;
53 * <h3>Presentation Activity</h3>
57 * on a secondary display using a {@link Presentation}.
60 * When the user selects a display, the activity opens a {@link Presentation}
61 * on that display. We show a different photograph in each presentation
69 * checkbox to show a presentation on that display.
81 private static final String PRESENTATION_KEY = "presentation";
83 // The content that we want to show on the presentation.
97 // List of presentation contents indexed by displayId.
98 // This state persists so that we can restore the old presentation
177 DemoPresentation presentation = mActivePresentations.valueAt(i); local
204 DemoPresentation presentation = new DemoPresentation(this, display, contents); local
215 DemoPresentation presentation = mActivePresentations.get(displayId); local
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/string/
StringPropertyEditor.java 16 import org.eclipse.wb.internal.core.model.property.editor.presentation.ButtonPropertyEditorPresentation;
17 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation;
41 // Presentation
58 // Presentation
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/
ComplexProperty.java 15 import org.eclipse.wb.internal.core.model.property.editor.presentation.PropertyEditorPresentation;
84 public void setEditorPresentation(PropertyEditorPresentation presentation) {
85 ((ComplexPropertyEditor) getEditor()).m_presentation = presentation;
201 // Presentation
  /frameworks/base/services/input/
PointerController.h 84 enum Presentation {
92 virtual void setPresentation(Presentation presentation) = 0;
168 virtual void setPresentation(Presentation presentation);
224 Presentation presentation; member in struct:android::PointerController::Locked
  /frameworks/base/core/java/android/provider/
CallLog.java 154 public static final String NUMBER_PRESENTATION = "presentation";
296 * @param presentation enum value from PhoneConstants.PRESENTATION_xxx, which
306 int presentation, int callType, long start, int duration) {
310 // Remap network specified number presentation types
311 // PhoneConstants.PRESENTATION_xxx to calllog number presentation types
314 // If the number field is empty set the presentation type to Unknown.
315 if (presentation == PhoneConstants.PRESENTATION_RESTRICTED) {
317 } else if (presentation == PhoneConstants.PRESENTATION_PAYPHONE) {
320 || presentation == PhoneConstants.PRESENTATION_UNKNOWN) {
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DemoPresentation.java 17 package com.android.accessorydisplay.source.presentation;
22 import android.app.Presentation;
33 * The presentation to show on the accessory display.
36 * the main activity is showing so we must be careful to use the presentation's
40 public final class DemoPresentation extends Presentation {
57 // Get the resources for the context of the presentation.
58 // Notice that we are getting the resources from the context of the presentation.
  /cts/tests/tests/display/src/android/display/cts/
VirtualDisplayTest.java 19 import android.app.Presentation;
121 // Show a private presentation on the display.
122 assertDisplayCanShowPresentation("private presentation window",
132 * Ensures that an application can create a private presentation virtual display and show
145 // Show a private presentation on the display.
146 assertDisplayCanShowPresentation("private presentation window",
172 assertNotNull("display must be registered as a presentation display",
176 assertNull("display must not be registered as a presentation display",
194 final TestPresentation[] presentation = new TestPresentation[1]; local
196 // Show the presentation
    [all...]

Completed in 402 milliseconds

1 2 3